/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNetworkSuggestionsManagerTest.java | 114 private WifiNetworkSuggestionsManager mWifiNetworkSuggestionsManager; field in WifiNetworkSuggestionsManagerTest 160 mWifiNetworkSuggestionsManager = in setUp() 177 mWifiNetworkSuggestionsManager.enableVerboseLogging(1); in setUp() 202 mWifiNetworkSuggestionsManager.add(networkSuggestionList1, TEST_UID_1, in testAddNetworkSuggestionsSuccess() 205 mWifiNetworkSuggestionsManager.add(networkSuggestionList2, TEST_UID_2, in testAddNetworkSuggestionsSuccess() 209 mWifiNetworkSuggestionsManager.getAllNetworkSuggestions(); in testAddNetworkSuggestionsSuccess() 247 mWifiNetworkSuggestionsManager.add(networkSuggestionList1, TEST_UID_1, in testRemoveNetworkSuggestionsSuccess() 250 mWifiNetworkSuggestionsManager.add(networkSuggestionList2, TEST_UID_2, in testRemoveNetworkSuggestionsSuccess() 255 mWifiNetworkSuggestionsManager.remove(networkSuggestionList1, TEST_PACKAGE_1)); in testRemoveNetworkSuggestionsSuccess() 257 mWifiNetworkSuggestionsManager.remove(networkSuggestionList2, TEST_PACKAGE_2)); in testRemoveNetworkSuggestionsSuccess() [all …]
|
D | WakeupControllerTest.java | 76 @Mock private WifiNetworkSuggestionsManager mWifiNetworkSuggestionsManager; field in WakeupControllerTest 135 mWifiNetworkSuggestionsManager, in initializeWakeupController() 370 when(mWifiNetworkSuggestionsManager.getAllNetworkSuggestions()) in startInitializesWakeupLockWithNetworkSuggestions() 412 when(mWifiNetworkSuggestionsManager.getAllNetworkSuggestions()) in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions() 510 when(mWifiNetworkSuggestionsManager.getAllNetworkSuggestions()) in onResultsUpdatesWakeupLockForNetworkSuggestions()
|
D | NetworkSuggestionEvaluatorTest.java | 61 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()
|
D | WifiServiceImplTest.java | 253 @Mock WifiNetworkSuggestionsManager mWifiNetworkSuggestionsManager; field in WifiServiceImplTest 380 .thenReturn(mWifiNetworkSuggestionsManager); in setUp() 3123 verify(mWifiNetworkSuggestionsManager).removeApp(packageName); in testPackageRemovedBroadcastHandling() 3146 verify(mWifiNetworkSuggestionsManager, never()).removeApp(anyString()); in testPackageRemovedBroadcastHandlingWithNoUid() 3170 verify(mWifiNetworkSuggestionsManager, never()).removeApp(anyString()); in testPackageRemovedBroadcastHandlingWithNoPackageName() 3519 verify(mWifiNetworkSuggestionsManager).clear(); in testFactoryReset() 3543 verify(mWifiNetworkSuggestionsManager).clear(); in testFactoryResetWithoutPasspointSupport() 3769 when(mWifiNetworkSuggestionsManager.add(any(), anyInt(), anyString())) in testAddNetworkSuggestions() 3774 when(mWifiNetworkSuggestionsManager.add(any(), anyInt(), anyString())) in testAddNetworkSuggestions() 3784 verify(mWifiNetworkSuggestionsManager, times(2)).add( in testAddNetworkSuggestions() [all …]
|
D | ClientModeImplTest.java | 380 @Mock WifiNetworkSuggestionsManager mWifiNetworkSuggestionsManager; field in ClientModeImplTest 440 .thenReturn(mWifiNetworkSuggestionsManager); in setUp() 1581 verify(mWifiNetworkSuggestionsManager).handleDisconnect(any(), any()); in disconnect() 2775 verify(mWifiNetworkSuggestionsManager).handleConnectionAttemptEnded( in testReportConnectionEventIsCalledAfterAssociationFailure() 2804 verify(mWifiNetworkSuggestionsManager).handleConnectionAttemptEnded( in testReportConnectionEventIsCalledAfterAuthenticationFailure() 2858 verify(mWifiNetworkSuggestionsManager, atLeastOnce()).handleConnectionAttemptEnded( in testReportConnectionEventIsCalledAfterDhcpFailure() 2892 verify(mWifiNetworkSuggestionsManager).handleConnectionAttemptEnded( in testReportConnectionEventIsCalledAfterSuccessfulConnection()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiShellCommand.java | 47 private final WifiNetworkSuggestionsManager mWifiNetworkSuggestionsManager; field in WifiShellCommand 54 mWifiNetworkSuggestionsManager = wifiInjector.getWifiNetworkSuggestionsManager(); in WifiShellCommand() 160 mWifiNetworkSuggestionsManager.setHasUserApprovedForApp(approved, packageName); in onCommand() 166 mWifiNetworkSuggestionsManager.hasUserApprovedForApp(packageName); in onCommand()
|
D | NetworkSuggestionEvaluator.java | 61 private final WifiNetworkSuggestionsManager mWifiNetworkSuggestionsManager; field in NetworkSuggestionEvaluator 67 mWifiNetworkSuggestionsManager = networkSuggestionsManager; in NetworkSuggestionEvaluator() 94 mWifiNetworkSuggestionsManager.getNetworkSuggestionsForScanDetail(scanDetail); in evaluateNetworks()
|
D | WakeupController.java | 64 private final WifiNetworkSuggestionsManager mWifiNetworkSuggestionsManager; field in WakeupController 148 mWifiNetworkSuggestionsManager = wifiNetworkSuggestionsManager; in WakeupController() 334 mWifiNetworkSuggestionsManager.getAllNetworkSuggestions(); in getGoodSavedNetworksAndSuggestions()
|
D | WifiInjector.java | 150 private final WifiNetworkSuggestionsManager mWifiNetworkSuggestionsManager; field in WifiInjector 271 mWifiNetworkSuggestionsManager = new WifiNetworkSuggestionsManager(mContext, in WifiInjector() 274 mNetworkSuggestionEvaluator = new NetworkSuggestionEvaluator(mWifiNetworkSuggestionsManager, in WifiInjector() 324 mWifiConfigStore, mWifiNetworkSuggestionsManager, mWifiMetrics.getWakeupMetrics(), in WifiInjector() 377 mWifiNetworkSuggestionsManager.enableVerboseLogging(verbose); in enableVerboseLogging() 742 return mWifiNetworkSuggestionsManager; in getWifiNetworkSuggestionsManager()
|
D | WifiServiceImpl.java | 189 private final WifiNetworkSuggestionsManager mWifiNetworkSuggestionsManager; field in WifiServiceImpl 490 mWifiNetworkSuggestionsManager = mWifiInjector.getWifiNetworkSuggestionsManager(); in WifiServiceImpl() 2697 mWifiNetworkSuggestionsManager.removeApp(pkgName); in registerForBroadcasts() 2780 mWifiNetworkSuggestionsManager.dump(fd, pw, args); in dump() 2970 mWifiNetworkSuggestionsManager.clear(); in factoryReset() 3286 success.value = mWifiNetworkSuggestionsManager.add( in addNetworkSuggestions() 3319 success.value = mWifiNetworkSuggestionsManager.remove( in removeNetworkSuggestions()
|
D | ClientModeImpl.java | 766 private WifiNetworkSuggestionsManager mWifiNetworkSuggestionsManager; field in ClientModeImpl 848 mWifiNetworkSuggestionsManager = mWifiInjector.getWifiNetworkSuggestionsManager(); in ClientModeImpl() 2977 mWifiNetworkSuggestionsManager.handleDisconnect(wifiConfig, getCurrentBSSID()); in handleNetworkDisconnect() 3160 mWifiNetworkSuggestionsManager.handleConnectionAttemptEnded( in reportConnectionAttemptEnd()
|