Home
last modified time | relevance | path

Searched refs:hasUserApprovedForApp (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiShellCommandTest.java346 verify(mWifiNetworkSuggestionsManager, never()).hasUserApprovedForApp(anyString()); in testNetworkSuggestionsHasUserApproved()
351 when(mWifiNetworkSuggestionsManager.hasUserApprovedForApp(TEST_PACKAGE)) in testNetworkSuggestionsHasUserApproved()
356 verify(mWifiNetworkSuggestionsManager).hasUserApprovedForApp(TEST_PACKAGE); in testNetworkSuggestionsHasUserApproved()
358 when(mWifiNetworkSuggestionsManager.hasUserApprovedForApp(TEST_PACKAGE)) in testNetworkSuggestionsHasUserApproved()
363 verify(mWifiNetworkSuggestionsManager, times(2)).hasUserApprovedForApp(TEST_PACKAGE); in testNetworkSuggestionsHasUserApproved()
DWifiNetworkSuggestionsManagerTest.java1362 assertFalse(mWifiNetworkSuggestionsManager.hasUserApprovedForApp(TEST_PACKAGE_1)); in testGetNetworkSuggestionsForScanDetailFailureOnAppNotApproved()
1487 assertFalse(mWifiNetworkSuggestionsManager.hasUserApprovedForApp(TEST_PACKAGE_1)); in testOnNetworkConnectionSuccessWithOneMatchFromCarrierPrivilegedApp()
1872 assertFalse(mWifiNetworkSuggestionsManager.hasUserApprovedForApp(TEST_PACKAGE_1)); in testOnNetworkConnectionWhenAppNotApproved()
2498 assertTrue(mWifiNetworkSuggestionsManager.hasUserApprovedForApp(TEST_PACKAGE_1)); in testAppOpsChangeAfterConfigStoreLoad()
2507 assertTrue(mWifiNetworkSuggestionsManager.hasUserApprovedForApp(TEST_PACKAGE_1)); in testAppOpsChangeAfterConfigStoreLoad()
2518 assertFalse(mWifiNetworkSuggestionsManager.hasUserApprovedForApp(TEST_PACKAGE_1)); in testAppOpsChangeAfterConfigStoreLoad()
4929 assertTrue(mWifiNetworkSuggestionsManager.hasUserApprovedForApp(TEST_PACKAGE_1)); in testSuggestionCarrierNetworkConnectionBroadcastAndDisconnectWithCarrierIdOnly()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiNetworkSuggestionsManager.java1506 public boolean hasUserApprovedForApp(String packageName) { in hasUserApprovedForApp() method in WifiNetworkSuggestionsManager
DWifiShellCommand.java569 mWifiNetworkSuggestionsManager.hasUserApprovedForApp(packageName); in onCommand()