Searched refs:hasUserApprovedForApp (Results 1 – 4 of 4) sorted by relevance
339 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()
1324 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()
300 mWifiNetworkSuggestionsManager.hasUserApprovedForApp(packageName); in onCommand()
1401 public boolean hasUserApprovedForApp(String packageName) { in hasUserApprovedForApp() method in WifiNetworkSuggestionsManager