Home
last modified time | relevance | path

Searched refs:perAppInfo (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiNetworkSuggestionsManager.java312 public final PerAppInfo perAppInfo; field in WifiNetworkSuggestionsManager.ExtendedWifiNetworkSuggestion
319 @NonNull PerAppInfo perAppInfo, in ExtendedWifiNetworkSuggestion() argument
322 this.perAppInfo = perAppInfo; in ExtendedWifiNetworkSuggestion()
326 this.wns.wifiConfiguration.creatorName = perAppInfo.packageName; in ExtendedWifiNetworkSuggestion()
327 this.wns.wifiConfiguration.creatorUid = perAppInfo.uid; in ExtendedWifiNetworkSuggestion()
328 if (perAppInfo.carrierId == TelephonyManager.UNKNOWN_CARRIER_ID) { in ExtendedWifiNetworkSuggestion()
332 this.wns.wifiConfiguration.carrierId = perAppInfo.carrierId; in ExtendedWifiNetworkSuggestion()
334 this.wns.passpointConfiguration.setCarrierId(perAppInfo.carrierId); in ExtendedWifiNetworkSuggestion()
340 return Objects.hash(wns, perAppInfo.uid, perAppInfo.packageName); in hashCode()
353 && perAppInfo.uid == other.perAppInfo.uid in equals()
[all …]
DNetworkSuggestionStoreData.java275 PerAppInfo perAppInfo = null; in parseNetworkSuggestionsMap() local
319 if (perAppInfo == null) { in parseNetworkSuggestionsMap()
324 perAppInfo = new PerAppInfo(uid, packageName, featureId); in parseNetworkSuggestionsMap()
325 perAppInfo.hasUserApproved = hasUserApproved; in parseNetworkSuggestionsMap()
326 perAppInfo.maxSize = maxSize; in parseNetworkSuggestionsMap()
327 perAppInfo.carrierId = carrierId; in parseNetworkSuggestionsMap()
332 outerTagDepth + 2, version, encryptionUtil, perAppInfo); in parseNetworkSuggestionsMap()
333 perAppInfo.extNetworkSuggestions.put(ewns.hashCode(), ewns); in parseNetworkSuggestionsMap()
344 if (perAppInfo == null) { in parseNetworkSuggestionsMap()
349 perAppInfo = new PerAppInfo(uid, packageName, featureId); in parseNetworkSuggestionsMap()
[all …]
DNetworkSuggestionNominator.java140 config, ewns.perAppInfo.uid, ewns.perAppInfo.packageName, false); in addOrUpdateSuggestionToWifiConfigManger()
448 int key = Objects.hash(wifiNetworkSuggestion.perAppInfo.packageName, in put()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DNetworkSuggestionNominatorTest.java1964 PerAppInfo perAppInfo = new PerAppInfo(uids[i], packageNames[i], null); in buildNetworkSuggestions() local
1968 suggestions[i] = new ExtendedWifiNetworkSuggestion(suggestion, perAppInfo, autojoin[i]); in buildNetworkSuggestions()
DWifiNetworkSuggestionsManagerTest.java4449 PerAppInfo perAppInfo = suggestionStore.get(TEST_PACKAGE_1); in testIsMostRecentlyConnectedSuggestion() local
4451 perAppInfo.extNetworkSuggestions.values().iterator().next(); in testIsMostRecentlyConnectedSuggestion()
4459 perAppInfo = suggestionStore.get(TEST_PACKAGE_1); in testIsMostRecentlyConnectedSuggestion()
4460 ewns = perAppInfo.extNetworkSuggestions.values().iterator().next(); in testIsMostRecentlyConnectedSuggestion()