Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNetworkSuggestionsManager.java255 public final PerAppInfo perAppInfo; field in WifiNetworkSuggestionsManager.ExtendedWifiNetworkSuggestion
259 @NonNull PerAppInfo perAppInfo, in ExtendedWifiNetworkSuggestion() argument
262 this.perAppInfo = perAppInfo; in ExtendedWifiNetworkSuggestion()
266 this.wns.wifiConfiguration.creatorName = perAppInfo.packageName; in ExtendedWifiNetworkSuggestion()
267 this.wns.wifiConfiguration.creatorUid = perAppInfo.uid; in ExtendedWifiNetworkSuggestion()
272 return Objects.hash(wns, perAppInfo.uid, perAppInfo.packageName); in hashCode()
285 && perAppInfo.uid == other.perAppInfo.uid in equals()
286 && TextUtils.equals(perAppInfo.packageName, other.perAppInfo.packageName); in equals()
312 @NonNull PerAppInfo perAppInfo, boolean isAutoJoinEnabled) { in fromWns() argument
313 return new ExtendedWifiNetworkSuggestion(wns, perAppInfo, isAutoJoinEnabled); in fromWns()
[all …]
DNetworkSuggestionStoreData.java269 PerAppInfo perAppInfo = null; in parseNetworkSuggestionsMap() local
313 if (perAppInfo == null) { in parseNetworkSuggestionsMap()
318 perAppInfo = new PerAppInfo(uid, packageName, featureId); in parseNetworkSuggestionsMap()
319 perAppInfo.hasUserApproved = hasUserApproved; in parseNetworkSuggestionsMap()
320 perAppInfo.maxSize = maxSize; in parseNetworkSuggestionsMap()
321 perAppInfo.carrierId = carrierId; in parseNetworkSuggestionsMap()
328 perAppInfo); in parseNetworkSuggestionsMap()
329 perAppInfo.extNetworkSuggestions.add( in parseNetworkSuggestionsMap()
331 networkSuggestionData.first, perAppInfo, in parseNetworkSuggestionsMap()
343 if (perAppInfo == null) { in parseNetworkSuggestionsMap()
[all …]
DNetworkSuggestionNominator.java198 .filter(ewns -> ewns.perAppInfo.uid == creatorUid) in findMatchedSuggestionNetworks()
244 config, ewns.perAppInfo.uid, ewns.perAppInfo.packageName); in addAutojoinDisabledSuggestionToWifiConfigManager()
273 mWifiConfigManager.addOrUpdateNetwork(wifiConfiguration, ewns.perAppInfo.uid, in addCandidateToWifiConfigManager()
274 ewns.perAppInfo.packageName); in addCandidateToWifiConfigManager()
368 wifiNetworkSuggestion.perAppInfo.packageName, in putAll()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DNetworkSuggestionNominatorTest.java1115 PerAppInfo perAppInfo = new PerAppInfo(uids[i], packageNames[i], null); in buildNetworkSuggestions() local
1119 suggestions[i] = new ExtendedWifiNetworkSuggestion(suggestion, perAppInfo, autojoin[i]); in buildNetworkSuggestions()
DWifiNetworkSuggestionsManagerTest.java3730 PerAppInfo perAppInfo = suggestionStore.get(TEST_PACKAGE_1); in testIsMostRecentlyConnectedSuggestion() local
3731 ExtendedWifiNetworkSuggestion ewns = perAppInfo.extNetworkSuggestions.iterator().next(); in testIsMostRecentlyConnectedSuggestion()
3739 perAppInfo = suggestionStore.get(TEST_PACKAGE_1); in testIsMostRecentlyConnectedSuggestion()
3740 ewns = perAppInfo.extNetworkSuggestions.iterator().next(); in testIsMostRecentlyConnectedSuggestion()