Searched refs:mBluetoothLeScannerWrapper (Results 1 – 2 of 2) sorted by relevance
156 private BluetoothLeScannerWrapper mBluetoothLeScannerWrapper = null; field in BassClientService690 if (mBluetoothLeScannerWrapper != null && mSearchScanCallback != null) { in stop()691 mBluetoothLeScannerWrapper.stopScan(mSearchScanCallback); in stop()693 mBluetoothLeScannerWrapper = null; in stop()1620 || mBluetoothLeScannerWrapper == null) { in startSearchingForSources()1621 mBluetoothLeScannerWrapper = in startSearchingForSources()1625 if (mBluetoothLeScannerWrapper == null) { in startSearchingForSources()1746 mBluetoothLeScannerWrapper.startScan(filters, settings, mSearchScanCallback); in startSearchingForSources()1781 if (mBluetoothLeScannerWrapper == null || mSearchScanCallback == null) { in stopSearchingForSources()1786 mBluetoothLeScannerWrapper.stopScan(mSearchScanCallback); in stopSearchingForSources()[all …]
161 @Mock private BluetoothLeScannerWrapper mBluetoothLeScannerWrapper; field in BassClientServiceTest279 doReturn(mBluetoothLeScannerWrapper) in setUp()446 verify(mBluetoothLeScannerWrapper).startScan(notNull(), notNull(), notNull()); in testStartSearchingForSources()463 verify(mBluetoothLeScannerWrapper, never()).startScan(any(), any(), any()); in testStartSearchingForSources_whenScannerIsNull()545 clearInvocations(mBluetoothLeScannerWrapper); in startSearchingForSources()551 verify(mBluetoothLeScannerWrapper) in startSearchingForSources()582 verify(mBluetoothLeScannerWrapper).stopScan(mCallbackCaptor.getValue()); in testStopSearchingForSources()619 verify(mBluetoothLeScannerWrapper).stopScan(mCallbackCaptor.getValue()); in testStop()