Home
last modified time | relevance | path

Searched refs:mBluetoothLeScannerWrapper (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/
DBassClientService.java156 private BluetoothLeScannerWrapper mBluetoothLeScannerWrapper = null; field in BassClientService
690 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 …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bass_client/
DBassClientServiceTest.java161 @Mock private BluetoothLeScannerWrapper mBluetoothLeScannerWrapper; field in BassClientServiceTest
279 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()