Home
last modified time | relevance | path

Searched refs:mWifiService (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiManagerTest.java197 @Mock android.net.wifi.IWifiManager mWifiService; field in WifiManagerTest
311 mWifiManager = new WifiManager(mContext, mWifiService, mLooper.getLooper()); in setUp()
312 verify(mWifiService).getVerboseLoggingLevel(); in setUp()
362 verify(mWifiService).setCoexUnsafeChannels(unsafeChannels, restrictions); in testSetCoexUnsafeChannelsGoesToWifiServiceImpl()
405 verify(mWifiService).registerCoexCallback(callbackCaptor.capture()); in testAddCoexCallbackAndReceiveEvent()
419 verify(mWifiService).registerCoexCallback(callbackCaptor.capture()); in testRegisterCoexCallbackWithTheTargetExecutor()
435 verify(mWifiService).registerCoexCallback(callbackCaptor.capture()); in testRegisterUnregisterThenRegisterAgainWithCoexCallback()
451 verify(mWifiService).unregisterCoexCallback(any()); in testUnregisterCoexCallback()
470 verify(mWifiService).restartWifiSubsystem(); in testRestartWifiSubsystem()
485 verify(mWifiService).registerSubsystemRestartCallback(callbackCaptor.capture()); in testRegisterSubsystemRestartTrackingCallback()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiShellCommandTest.java100 @Mock WifiServiceImpl mWifiService; field in WifiShellCommandTest
140 mWifiShellCommand = new WifiShellCommand(mWifiInjector, mWifiService, mContext, in setUp()
542 verify(mWifiService).startTetheredHotspot( in testStartSoftAp()
558 verify(mWifiService).stopSoftAp(); in testStopSoftAp()
569 verify(mWifiService).startLocalOnlyHotspot(any(), eq(SHELL_PACKAGE_NAME), any(), in testStartLohs()
585 verify(mWifiService).stopLocalOnlyHotspot(); in testStopLohs()
593 verify(mWifiService).setScanAlwaysAvailable(true, SHELL_PACKAGE_NAME); in testSetScanAlwaysAvailable()
598 verify(mWifiService).setScanAlwaysAvailable(false, SHELL_PACKAGE_NAME); in testSetScanAlwaysAvailable()
606 verify(mWifiService).addNetworkSuggestions(argThat(sL -> { in testAddSuggestionWithUntrusted()
616 when(mWifiService.getNetworkSuggestions(any())) in testAddSuggestionWithUntrusted()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiShellCommand.java203 private final WifiServiceImpl mWifiService; field in WifiShellCommand
391 private final WifiServiceImpl mWifiService; field in WifiShellCommand.WifiScorer
397 mWifiService = wifiService; in WifiScorer()
409 mWifiService.clearWifiConnectedNetworkScorer(); in onStop()
456 mWifiService = wifiService; in WifiShellCommand()
635 mWifiService.getLastCallerInfoForApi(apiType, in onCommand()
736 boolean isTemporarilyEnablingWifiNeeded = mWifiService.getWifiEnabledState() in onCommand()
748 && !mWifiService.is5GHzBandSupported()) in onCommand()
750 && !mWifiService.is6GHzBandSupported()) in onCommand()
752 && !mWifiService.is60GHzBandSupported())) { in onCommand()
[all …]