Home
last modified time | relevance | path

Searched refs:mWifiNetworkSuggestionsManager (Results 1 – 13 of 13) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkSuggestionsManagerTest.java114 private WifiNetworkSuggestionsManager mWifiNetworkSuggestionsManager; field in WifiNetworkSuggestionsManagerTest
162 mWifiNetworkSuggestionsManager = in setUp()
179 mWifiNetworkSuggestionsManager.enableVerboseLogging(1); in setUp()
204 mWifiNetworkSuggestionsManager.add(networkSuggestionList1, TEST_UID_1, in testAddNetworkSuggestionsSuccess()
207 mWifiNetworkSuggestionsManager.add(networkSuggestionList2, TEST_UID_2, in testAddNetworkSuggestionsSuccess()
211 mWifiNetworkSuggestionsManager.getAllNetworkSuggestions(); in testAddNetworkSuggestionsSuccess()
249 mWifiNetworkSuggestionsManager.add(networkSuggestionList1, TEST_UID_1, in testRemoveNetworkSuggestionsSuccess()
252 mWifiNetworkSuggestionsManager.add(networkSuggestionList2, TEST_UID_1, in testRemoveNetworkSuggestionsSuccess()
257 mWifiNetworkSuggestionsManager.remove(networkSuggestionList1, in testRemoveNetworkSuggestionsSuccess()
260 mWifiNetworkSuggestionsManager.remove(networkSuggestionList2, in testRemoveNetworkSuggestionsSuccess()
[all …]
DWakeupControllerTest.java78 @Mock private WifiNetworkSuggestionsManager mWifiNetworkSuggestionsManager; field in WakeupControllerTest
137 mWifiNetworkSuggestionsManager, in initializeWakeupController()
374 when(mWifiNetworkSuggestionsManager.getAllNetworkSuggestions()) in startInitializesWakeupLockWithNetworkSuggestions()
416 when(mWifiNetworkSuggestionsManager.getAllNetworkSuggestions()) in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions()
514 when(mWifiNetworkSuggestionsManager.getAllNetworkSuggestions()) in onResultsUpdatesWakeupLockForNetworkSuggestions()
DNetworkSuggestionEvaluatorTest.java61 private @Mock WifiNetworkSuggestionsManager mWifiNetworkSuggestionsManager; field in NetworkSuggestionEvaluatorTest
71 mWifiNetworkSuggestionsManager, mWifiConfigManager, new LocalLog(100)); in setUp()
761 when(mWifiNetworkSuggestionsManager.getNetworkSuggestionsForScanDetail(eq(scanDetail))) in linkScanDetailsWithNetworkSuggestions()
768 when(mWifiNetworkSuggestionsManager.getNetworkSuggestionsForScanDetail( in linkScanDetailsWithNetworkSuggestions()
778 when(mWifiNetworkSuggestionsManager.getNetworkSuggestionsForScanDetail( in linkScanDetailsWithNetworkSuggestions()
DScanRequestProxyTest.java85 @Mock private WifiNetworkSuggestionsManager mWifiNetworkSuggestionsManager; field in ScanRequestProxyTest
109 .thenReturn(mWifiNetworkSuggestionsManager); in setUp()
111 when(mWifiNetworkSuggestionsManager.retrieveHiddenNetworkList()) in setUp()
121 mContext, mWifiNetworkSuggestionsManager); in setUp()
237 mInOrder.verify(mWifiNetworkSuggestionsManager, never()).retrieveHiddenNetworkList(); in testStartScanWithHiddenNetworkScanningDisabled()
260 mInOrder.verify(mWifiNetworkSuggestionsManager).retrieveHiddenNetworkList(); in testStartScanWithHiddenNetworkScanningEnabled()
DWifiServiceImplTest.java259 @Mock WifiNetworkSuggestionsManager mWifiNetworkSuggestionsManager; field in WifiServiceImplTest
387 .thenReturn(mWifiNetworkSuggestionsManager); in setUp()
3258 verify(mWifiNetworkSuggestionsManager).removeApp(packageName); in testPackageRemovedBroadcastHandling()
3281 verify(mWifiNetworkSuggestionsManager, never()).removeApp(anyString()); in testPackageRemovedBroadcastHandlingWithNoUid()
3305 verify(mWifiNetworkSuggestionsManager, never()).removeApp(anyString()); in testPackageRemovedBroadcastHandlingWithNoPackageName()
3674 verify(mWifiNetworkSuggestionsManager).clear(); in testFactoryReset()
3699 verify(mWifiNetworkSuggestionsManager).clear(); in testFactoryResetWithoutPasspointSupport()
3925 when(mWifiNetworkSuggestionsManager.add(any(), anyInt(), anyString())) in testAddNetworkSuggestions()
3930 when(mWifiNetworkSuggestionsManager.add(any(), anyInt(), anyString())) in testAddNetworkSuggestions()
3940 verify(mWifiNetworkSuggestionsManager, times(2)).add( in testAddNetworkSuggestions()
[all …]
DClientModeImplTest.java387 @Mock WifiNetworkSuggestionsManager mWifiNetworkSuggestionsManager; field in ClientModeImplTest
447 .thenReturn(mWifiNetworkSuggestionsManager); in setUp()
1701 verify(mWifiNetworkSuggestionsManager).handleDisconnect(any(), any()); in disconnect()
2964 verify(mWifiNetworkSuggestionsManager).handleConnectionAttemptEnded( in testReportConnectionEventIsCalledAfterAssociationFailure()
2993 verify(mWifiNetworkSuggestionsManager).handleConnectionAttemptEnded( in testReportConnectionEventIsCalledAfterAuthenticationFailure()
3047 verify(mWifiNetworkSuggestionsManager, atLeastOnce()).handleConnectionAttemptEnded( in testReportConnectionEventIsCalledAfterDhcpFailure()
3081 verify(mWifiNetworkSuggestionsManager).handleConnectionAttemptEnded( in testReportConnectionEventIsCalledAfterSuccessfulConnection()
DWifiConnectivityManagerTest.java100 .thenReturn(mWifiNetworkSuggestionsManager); in setUp()
101 when(mWifiNetworkSuggestionsManager.retrieveHiddenNetworkList()) in setUp()
147 @Mock private WifiNetworkSuggestionsManager mWifiNetworkSuggestionsManager; field in WifiConnectivityManagerTest
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiShellCommand.java51 private final WifiNetworkSuggestionsManager mWifiNetworkSuggestionsManager; field in WifiShellCommand
61 mWifiNetworkSuggestionsManager = wifiInjector.getWifiNetworkSuggestionsManager(); in WifiShellCommand()
170 mWifiNetworkSuggestionsManager.setHasUserApprovedForApp(approved, packageName); in onCommand()
176 mWifiNetworkSuggestionsManager.hasUserApprovedForApp(packageName); in onCommand()
DNetworkSuggestionEvaluator.java61 private final WifiNetworkSuggestionsManager mWifiNetworkSuggestionsManager; field in NetworkSuggestionEvaluator
67 mWifiNetworkSuggestionsManager = networkSuggestionsManager; in NetworkSuggestionEvaluator()
94 mWifiNetworkSuggestionsManager.getNetworkSuggestionsForScanDetail(scanDetail); in evaluateNetworks()
DWakeupController.java64 private final WifiNetworkSuggestionsManager mWifiNetworkSuggestionsManager; field in WakeupController
148 mWifiNetworkSuggestionsManager = wifiNetworkSuggestionsManager; in WakeupController()
334 mWifiNetworkSuggestionsManager.getAllNetworkSuggestions(); in getGoodSavedNetworksAndSuggestions()
DWifiInjector.java152 private final WifiNetworkSuggestionsManager mWifiNetworkSuggestionsManager; field in WifiInjector
279 mWifiNetworkSuggestionsManager = new WifiNetworkSuggestionsManager(mContext, in WifiInjector()
282 mNetworkSuggestionEvaluator = new NetworkSuggestionEvaluator(mWifiNetworkSuggestionsManager, in WifiInjector()
333 mWifiConfigStore, mWifiNetworkSuggestionsManager, mWifiMetrics.getWakeupMetrics(), in WifiInjector()
386 mWifiNetworkSuggestionsManager.enableVerboseLogging(verbose); in enableVerboseLogging()
775 return mWifiNetworkSuggestionsManager; in getWifiNetworkSuggestionsManager()
DWifiServiceImpl.java190 private final WifiNetworkSuggestionsManager mWifiNetworkSuggestionsManager; field in WifiServiceImpl
491 mWifiNetworkSuggestionsManager = mWifiInjector.getWifiNetworkSuggestionsManager(); in WifiServiceImpl()
2741 mWifiNetworkSuggestionsManager.removeApp(pkgName); in registerForBroadcasts()
2824 mWifiNetworkSuggestionsManager.dump(fd, pw, args); in dump()
3018 mWifiNetworkSuggestionsManager.clear(); in factoryReset()
3345 success.value = mWifiNetworkSuggestionsManager.add( in addNetworkSuggestions()
3379 success.value = mWifiNetworkSuggestionsManager.remove( in removeNetworkSuggestions()
DClientModeImpl.java774 private WifiNetworkSuggestionsManager mWifiNetworkSuggestionsManager; field in ClientModeImpl
862 mWifiNetworkSuggestionsManager = mWifiInjector.getWifiNetworkSuggestionsManager(); in ClientModeImpl()
2994 mWifiNetworkSuggestionsManager.handleDisconnect(wifiConfig, getCurrentBSSID()); in handleNetworkDisconnect()
3184 mWifiNetworkSuggestionsManager.handleConnectionAttemptEnded( in reportConnectionAttemptEnd()