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.java339 verify(mWifiNetworkSuggestionsManager, never()).hasUserApprovedForApp(anyString()); in testNetworkSuggestionsHasUserApproved()
344 when(mWifiNetworkSuggestionsManager.hasUserApprovedForApp(TEST_PACKAGE)) in testNetworkSuggestionsHasUserApproved()
349 verify(mWifiNetworkSuggestionsManager).hasUserApprovedForApp(TEST_PACKAGE); in testNetworkSuggestionsHasUserApproved()
352 when(mWifiNetworkSuggestionsManager.hasUserApprovedForApp(TEST_PACKAGE)) in testNetworkSuggestionsHasUserApproved()
357 verify(mWifiNetworkSuggestionsManager, times(2)).hasUserApprovedForApp(TEST_PACKAGE); in testNetworkSuggestionsHasUserApproved()
DWifiNetworkSuggestionsManagerTest.java1324 assertFalse(mWifiNetworkSuggestionsManager.hasUserApprovedForApp(TEST_PACKAGE_1)); in testGetNetworkSuggestionsForScanDetailFailureOnAppNotApproved()
1448 assertFalse(mWifiNetworkSuggestionsManager.hasUserApprovedForApp(TEST_PACKAGE_1)); in testOnNetworkConnectionSuccessWithOneMatchFromCarrierPrivilegedApp()
1826 assertFalse(mWifiNetworkSuggestionsManager.hasUserApprovedForApp(TEST_PACKAGE_1)); in testOnNetworkConnectionWhenAppNotApproved()
4726 assertTrue(mWifiNetworkSuggestionsManager.hasUserApprovedForApp(TEST_PACKAGE_1)); in testSuggestionCarrierNetworkConnectionBroadcastAndDisconnectWithCarrierIdOnly()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiShellCommand.java300 mWifiNetworkSuggestionsManager.hasUserApprovedForApp(packageName); in onCommand()
DWifiNetworkSuggestionsManager.java1401 public boolean hasUserApprovedForApp(String packageName) { in hasUserApprovedForApp() method in WifiNetworkSuggestionsManager