Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DNetworkSuggestionStoreData.java170 boolean hasUserApproved = entry.getValue().hasUserApproved; in serializeNetworkSuggestionsMap()
179 XmlUtil.writeNextValue(out, XML_TAG_SUGGESTOR_HAS_USER_APPROVED, hasUserApproved); in serializeNetworkSuggestionsMap()
272 boolean hasUserApproved = false; in parseNetworkSuggestionsMap()
290 hasUserApproved = (boolean) value; in parseNetworkSuggestionsMap()
319 perAppInfo.hasUserApproved = hasUserApproved; in parseNetworkSuggestionsMap()
349 perAppInfo.hasUserApproved = hasUserApproved; in parseNetworkSuggestionsMap()
DWifiNetworkSuggestionsManager.java174 public boolean hasUserApproved = false; field in WifiNetworkSuggestionsManager.PerAppInfo
203 return hasUserApproved || isExemptFromUserApproval(activeScorerPkg); in isApproved()
226 && hasUserApproved == otherPerAppInfo.hasUserApproved; in equals()
232 return Objects.hash(uid, packageName, extNetworkSuggestions, hasUserApproved); in hashCode()
240 .append(", hasUserApproved=").append(hasUserApproved) in toString()
865 perAppInfo.hasUserApproved = true; in add()
1207 return perAppInfo.hasUserApproved; in hasUserApprovedForApp()
1221 perAppInfo.hasUserApproved = approved; in setHasUserApprovedForApp()
1424 if (mActiveNetworkSuggestionsPerApp.get(packageName).hasUserApproved) { in sendUserApprovalNotificationIfNotApproved()
1610 .filter(ewns -> ewns.perAppInfo.hasUserApproved in getWifiConfigForMatchedNetworkSuggestionsSharedWithUser()
[all …]
DWifiShellCommand.java210 boolean hasUserApproved = in onCommand()
212 pw.println(hasUserApproved ? "yes" : "no"); in onCommand()
242 boolean hasUserApproved = mWifiCarrierInfoManager in onCommand()
244 pw.println(hasUserApproved ? "yes" : "no"); in onCommand()
608 boolean hasUserApproved = in onCommand()
610 pw.println(hasUserApproved ? "yes" : "no"); in onCommand()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DNetworkSuggestionStoreDataTest.java295 appInfo.hasUserApproved = false; in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
324 appInfo1.hasUserApproved = false; in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
332 appInfo2.hasUserApproved = true; in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
352 appInfo1.hasUserApproved = true; in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
364 appInfo2.hasUserApproved = true; in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
455 appInfo.hasUserApproved = false; in serializeDeserializeSinglePasspointSuggestionFromSingleApp()
DWifiNetworkSuggestionsManagerTest.java1616 assertFalse(networkSuggestionsMapToWrite.get(TEST_PACKAGE_1).hasUserApproved); in testAddNetworkSuggestionsConfigStoreWrite()
1661 assertFalse(networkSuggestionsMapToWrite.get(TEST_PACKAGE_1).hasUserApproved); in testRemoveNetworkSuggestionsConfigStoreWrite()
1678 appInfo.hasUserApproved = true; in testNetworkSuggestionsConfigStoreLoad()
1737 appInfo1.hasUserApproved = true; in testNetworkSuggestionsConfigStoreLoadAfterUserSwitch()
1750 appInfo2.hasUserApproved = true; in testNetworkSuggestionsConfigStoreLoadAfterUserSwitch()