Searched refs:mWifiScannerImpl (Results 1 – 2 of 2) sorted by relevance
98 @Mock private IWifiScannerImpl mWifiScannerImpl; field in WificondControlTest214 when(mClientInterface.getWifiScannerImpl()).thenReturn(mWifiScannerImpl); in setUp()219 when(mClientInterface.getWifiScannerImpl()).thenReturn(mWifiScannerImpl); in setUp()246 verify(mWifiScannerImpl).subscribeScanEvents(any(IScanEvent.class)); in testSetupInterfaceForClientModeCallsScanEventSubscripiton()288 verify(mWifiScannerImpl).unsubscribeScanEvents(); in testTeardownClientInterface()289 verify(mWifiScannerImpl).unsubscribePnoScanEvents(); in testTeardownClientInterface()301 verify(mWifiScannerImpl, never()).unsubscribeScanEvents(); in testTeardownClientInterfaceOnInvalidIface()302 verify(mWifiScannerImpl, never()).unsubscribePnoScanEvents(); in testTeardownClientInterfaceOnInvalidIface()312 doThrow(new RemoteException()).when(mWifiScannerImpl).unsubscribeScanEvents(); in testTeardownClientInterfaceFailDueToExceptionScannerUnsubscribe()315 verify(mWifiScannerImpl).unsubscribeScanEvents(); in testTeardownClientInterfaceFailDueToExceptionScannerUnsubscribe()[all …]
123 @Mock WifiScannerImpl mWifiScannerImpl; field in WifiScanningServiceTest159 .thenReturn(mWifiScannerImpl); in setUp()160 when(mWifiScannerImpl.getChannelHelper()).thenReturn(channelHelper); in setUp()388 order.verify(mWifiScannerImpl).startSingleScan(scanSettingsCaptor.capture(), in verifyStartSingleScan()400 order.verify(mWifiScannerImpl).startBatchedScan(scanSettingsCaptor.capture(), in verifyStartBackgroundScan()414 when(mWifiScannerImpl.getScanCapabilities(any(WifiNative.ScanCapabilities.class))) in setupAndLoadDriver()460 verifyNoMoreInteractions(mWifiScannerImpl, mWifiScannerImpl, in construct()500 when(mWifiScannerImpl.startBatchedScan(any(WifiNative.ScanSettings.class), in loadDriver()556 InOrder order = inOrder(handler, mWifiScannerImpl); in sendInvalidCommand()603 InOrder order = inOrder(handler, mWifiScannerImpl); in doSuccessfulSingleScan()[all …]