Searched refs:mWifiScannerImpl (Results 1 – 2 of 2) sorted by relevance
99 @Mock private IWifiScannerImpl mWifiScannerImpl; field in WificondControlTest215 when(mClientInterface.getWifiScannerImpl()).thenReturn(mWifiScannerImpl); in setUp()220 when(mClientInterface.getWifiScannerImpl()).thenReturn(mWifiScannerImpl); in setUp()247 verify(mWifiScannerImpl).subscribeScanEvents(any(IScanEvent.class)); in testSetupInterfaceForClientModeCallsScanEventSubscripiton()289 verify(mWifiScannerImpl).unsubscribeScanEvents(); in testTeardownClientInterface()290 verify(mWifiScannerImpl).unsubscribePnoScanEvents(); in testTeardownClientInterface()302 verify(mWifiScannerImpl, never()).unsubscribeScanEvents(); in testTeardownClientInterfaceOnInvalidIface()303 verify(mWifiScannerImpl, never()).unsubscribePnoScanEvents(); in testTeardownClientInterfaceOnInvalidIface()313 doThrow(new RemoteException()).when(mWifiScannerImpl).unsubscribeScanEvents(); in testTeardownClientInterfaceFailDueToExceptionScannerUnsubscribe()316 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 …]