Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/
DNetworkSuggestionStoreData.java173 boolean hasUserApproved = entry.getValue().hasUserApproved; in serializeNetworkSuggestionsMap()
182 XmlUtil.writeNextValue(out, XML_TAG_SUGGESTOR_HAS_USER_APPROVED, hasUserApproved); in serializeNetworkSuggestionsMap()
278 boolean hasUserApproved = false; in parseNetworkSuggestionsMap()
296 hasUserApproved = (boolean) value; in parseNetworkSuggestionsMap()
325 perAppInfo.hasUserApproved = hasUserApproved; in parseNetworkSuggestionsMap()
350 perAppInfo.hasUserApproved = hasUserApproved; in parseNetworkSuggestionsMap()
DWifiNetworkSuggestionsManager.java232 public boolean hasUserApproved = false; field in WifiNetworkSuggestionsManager.PerAppInfo
271 return hasUserApproved || carrierId != TelephonyManager.UNKNOWN_CARRIER_ID; in isApproved()
283 && hasUserApproved == otherPerAppInfo.hasUserApproved; in equals()
289 return Objects.hash(uid, packageName, extNetworkSuggestions, hasUserApproved); in hashCode()
297 .append(", hasUserApproved=").append(hasUserApproved) in toString()
942 perAppInfo.hasUserApproved = true; in add()
949 perAppInfo.hasUserApproved = true; in add()
1510 return perAppInfo.hasUserApproved; in hasUserApprovedForApp()
1524 perAppInfo.hasUserApproved = approved; in setHasUserApprovedForApp()
1775 if (mActiveNetworkSuggestionsPerApp.get(packageName).hasUserApproved) { in sendUserApprovalNotificationIfNotApproved()
[all …]
DWifiShellCommand.java568 boolean hasUserApproved = in onCommand()
570 pw.println(hasUserApproved ? "yes" : "no"); in onCommand()
600 boolean hasUserApproved = mWifiCarrierInfoManager in onCommand()
602 pw.println(hasUserApproved ? "yes" : "no"); in onCommand()
1285 boolean hasUserApproved = mWifiNetworkFactory.hasUserApprovedApp(packageName); in onCommand()
1286 pw.println(hasUserApproved ? "yes" : "no"); in onCommand()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DNetworkSuggestionStoreDataTest.java305 appInfo.hasUserApproved = false; in serializeDeserializeSingleNetworkSuggestionFromSingleApp()
341 appInfo1.hasUserApproved = false; in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
351 appInfo2.hasUserApproved = true; in serializeDeserializeSingleNetworkSuggestionFromMultipleApps()
374 appInfo1.hasUserApproved = true; in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
390 appInfo2.hasUserApproved = true; in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps()
483 appInfo.hasUserApproved = false; in serializeDeserializeSinglePasspointSuggestionFromSingleApp()
DWifiNetworkSuggestionsManagerTest.java2004 assertFalse(networkSuggestionsMapToWrite.get(TEST_PACKAGE_1).hasUserApproved); in testAddNetworkSuggestionsConfigStoreWrite()
2083 assertFalse(networkSuggestionsMapToWrite.get(TEST_PACKAGE_1).hasUserApproved); in testRemoveNetworkSuggestionsConfigStoreWrite()
2100 appInfo.hasUserApproved = true; in testCarrierConfigSsidListToDisableMacRandomizationDisabled()
2138 appInfo.hasUserApproved = true; in testNetworkSuggestionsConfigStoreLoad()
2202 appInfo1.hasUserApproved = true; in testNetworkSuggestionsConfigStoreLoadAfterUserSwitch()
2217 appInfo2.hasUserApproved = true; in testNetworkSuggestionsConfigStoreLoadAfterUserSwitch()
2487 appInfo.hasUserApproved = true; in testAppOpsChangeAfterConfigStoreLoad()