Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiShellCommandTest.java273 verify(mWifiNetworkSuggestionsManager, never()).hasUserApprovedForApp(anyString()); in testNetworkSuggestionsHasUserApproved()
278 when(mWifiNetworkSuggestionsManager.hasUserApprovedForApp(TEST_PACKAGE)) in testNetworkSuggestionsHasUserApproved()
283 verify(mWifiNetworkSuggestionsManager).hasUserApprovedForApp(TEST_PACKAGE); in testNetworkSuggestionsHasUserApproved()
286 when(mWifiNetworkSuggestionsManager.hasUserApprovedForApp(TEST_PACKAGE)) in testNetworkSuggestionsHasUserApproved()
291 verify(mWifiNetworkSuggestionsManager, times(2)).hasUserApprovedForApp(TEST_PACKAGE); in testNetworkSuggestionsHasUserApproved()
DWifiNetworkSuggestionsManagerTest.java998 assertFalse(mWifiNetworkSuggestionsManager.hasUserApprovedForApp(TEST_PACKAGE_1)); in testGetNetworkSuggestionsForScanDetailFailureOnAppNotApproved()
1118 assertFalse(mWifiNetworkSuggestionsManager.hasUserApprovedForApp(TEST_PACKAGE_1)); in testOnNetworkConnectionSuccessWithOneMatchFromCarrierPrivilegedApp()
1490 assertFalse(mWifiNetworkSuggestionsManager.hasUserApprovedForApp(TEST_PACKAGE_1)); in testOnNetworkConnectionWhenAppNotApproved()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiShellCommand.java211 mWifiNetworkSuggestionsManager.hasUserApprovedForApp(packageName); in onCommand()
DWifiNetworkSuggestionsManager.java1203 public boolean hasUserApprovedForApp(String packageName) { in hasUserApprovedForApp() method in WifiNetworkSuggestionsManager