Home
last modified time | relevance | path

Searched refs:wns (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNetworkFactory.java519 WifiNetworkSpecifier wns = (WifiNetworkSpecifier) ns; in acceptRequest() local
520 if (!WifiConfigurationUtil.validateNetworkSpecifier(wns)) { in acceptRequest()
522 + " Rejecting request from " + wns.requestorPackageName); in acceptRequest()
527 mAppOpsManager.checkPackage(wns.requestorUid, wns.requestorPackageName); in acceptRequest()
529 Log.e(TAG, "Invalid uid/package name " + wns.requestorPackageName + ", " in acceptRequest()
530 + wns.requestorPackageName, e); in acceptRequest()
535 if (!mWifiPermissionsUtil.checkNetworkSettingsPermission(wns.requestorUid) in acceptRequest()
536 && !isRequestFromForegroundAppOrService(wns.requestorPackageName)) { in acceptRequest()
538 + " Rejecting request from " + wns.requestorPackageName); in acceptRequest()
545 wns, mActiveSpecificNetworkRequestSpecifier)) { in acceptRequest()
[all …]
DWifiNetworkSuggestionsManager.java155 public final WifiNetworkSuggestion wns; field in WifiNetworkSuggestionsManager.ExtendedWifiNetworkSuggestion
159 public ExtendedWifiNetworkSuggestion(@NonNull WifiNetworkSuggestion wns, in ExtendedWifiNetworkSuggestion() argument
161 this.wns = wns; in ExtendedWifiNetworkSuggestion()
167 return Objects.hash(wns); // perAppInfo not used for equals. in hashCode()
179 return wns.equals(other.wns); // perAppInfo not used for equals. in equals()
184 return "Extended" + wns.toString(); in toString()
192 @NonNull WifiNetworkSuggestion wns, @NonNull PerAppInfo perAppInfo) { in fromWns()
193 return new ExtendedWifiNetworkSuggestion(wns, perAppInfo); in fromWns()
315 extNetworkSuggestions.iterator().next().wns.suggestorUid); in fromDeserialized()
427 extNetworkSuggestion.wns.wifiConfiguration); in addToScanResultMatchInfoMap()
[all …]
DNetworkSuggestionStoreData.java173 serializeNetworkSuggestion(out, extNetworkSuggestion.wns); in serializeExtNetworkSuggestions()
DClientModeImpl.java4630 WifiNetworkAgentSpecifier wns = in createNetworkAgentSpecifier() local
4633 return wns; in createNetworkAgentSpecifier()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DNetworkSuggestionStoreDataTest.java174 configuration, deserializedSuggestion.wns.wifiConfiguration); in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
177 deserializedSuggestion.wns.wifiConfiguration.enterpriseConfig); in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
DWifiNetworkSuggestionsManagerTest.java1184 n -> n.wns, in testAddNetworkSuggestionsConfigStoreWrite()