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