Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DNetworkSuggestionStoreDataTest.java164 appInfo.hasUserApproved = false; in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
194 appInfo1.hasUserApproved = false; in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
203 appInfo2.hasUserApproved = true; in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
225 appInfo1.hasUserApproved = true; in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
239 appInfo2.hasUserApproved = true; in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
DWifiNetworkSuggestionsManagerTest.java1229 assertFalse(networkSuggestionsMapToWrite.get(TEST_PACKAGE_1).hasUserApproved); in testAddNetworkSuggestionsConfigStoreWrite()
1275 assertFalse(networkSuggestionsMapToWrite.get(TEST_PACKAGE_1).hasUserApproved); in testRemoveNetworkSuggestionsConfigStoreWrite()
1289 appInfo.hasUserApproved = true; in testNetworkSuggestionsConfigStoreLoad()
1325 appInfo1.hasUserApproved = true; in testNetworkSuggestionsConfigStoreLoadAfterUserSwitch()
1339 appInfo2.hasUserApproved = true; in testNetworkSuggestionsConfigStoreLoadAfterUserSwitch()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DNetworkSuggestionStoreData.java159 boolean hasUserApproved = entry.getValue().hasUserApproved; in serializeNetworkSuggestionsMap()
165 XmlUtil.writeNextValue(out, XML_TAG_SUGGESTOR_HAS_USER_APPROVED, hasUserApproved); in serializeNetworkSuggestionsMap()
245 boolean hasUserApproved = (boolean) XmlUtil.readNextValueWithName(in, in parseNetworkSuggestionsMap()
252 perAppInfo.hasUserApproved = hasUserApproved; in parseNetworkSuggestionsMap()
DWifiNetworkSuggestionsManager.java133 public boolean hasUserApproved = false; field in WifiNetworkSuggestionsManager.PerAppInfo
150 && hasUserApproved == otherPerAppInfo.hasUserApproved; in equals()
156 return Objects.hash(packageName, extNetworkSuggestions, hasUserApproved); in hashCode()
583 perAppInfo.hasUserApproved = true; in add()
754 return perAppInfo.hasUserApproved; in hasUserApprovedForApp()
767 perAppInfo.hasUserApproved = approved; in setHasUserApprovedForApp()
898 if (perAppInfo.hasUserApproved) { in sendUserApprovalNotificationIfNotApproved()
955 .filter(n -> n.perAppInfo.hasUserApproved) in getNetworkSuggestionsForScanDetail()
1000 .filter(n -> n.perAppInfo.hasUserApproved) in getNetworkSuggestionsForWifiConfiguration()
1021 if (!appInfo.hasUserApproved) continue; in retrieveHiddenNetworkList()
[all …]
DWifiShellCommand.java175 boolean hasUserApproved = in onCommand()
177 pw.println(hasUserApproved ? "yes" : "no"); in onCommand()