Home
last modified time | relevance | path

Searched refs:isBleScanAlwaysAvailable (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/managers/
DDiscoveryProviderManagerTest.java147 when(mBluetoothAdapter.isBleScanAlwaysAvailable()).thenReturn(true); in setup()
363 when(mBluetoothAdapter.isBleScanAlwaysAvailable()).thenReturn(true); in isBluetoothEnabledTest_bluetoothEnabled()
373 when(mBluetoothAdapter.isBleScanAlwaysAvailable()).thenReturn(true); in isBluetoothEnabledTest_bleEnabled()
383 when(mBluetoothAdapter.isBleScanAlwaysAvailable()).thenReturn(true); in enabledTest_enabled()
393 when(mBluetoothAdapter.isBleScanAlwaysAvailable()).thenReturn(true); in enabledTest_enableFailed()
403 when(mBluetoothAdapter.isBleScanAlwaysAvailable()).thenReturn(false); in enabledTest_scanIsOn()
412 when(mBluetoothAdapter.isBleScanAlwaysAvailable()).thenReturn(false); in enabledTest_failed()
DDiscoveryProviderManagerLegacyTest.java152 when(mBluetoothAdapter.isBleScanAlwaysAvailable()).thenReturn(true); in setup()
402 when(mBluetoothAdapter.isBleScanAlwaysAvailable()).thenReturn(true); in isBluetoothEnabledTest_bluetoothEnabled()
412 when(mBluetoothAdapter.isBleScanAlwaysAvailable()).thenReturn(true); in isBluetoothEnabledTest_bleEnabled()
422 when(mBluetoothAdapter.isBleScanAlwaysAvailable()).thenReturn(true); in enabledTest_enabled()
432 when(mBluetoothAdapter.isBleScanAlwaysAvailable()).thenReturn(true); in enabledTest_enableFailed()
442 when(mBluetoothAdapter.isBleScanAlwaysAvailable()).thenReturn(false); in enabledTest_scanIsOn()
451 when(mBluetoothAdapter.isBleScanAlwaysAvailable()).thenReturn(false); in enabledTest_failed()
/packages/modules/Bluetooth/framework/tests/util/src/
DBlockingBluetoothAdapter.kt79 if (adapter.isBleScanAlwaysAvailable()) { in enableBLE()
85 if (!adapter.isBleScanAlwaysAvailable()) { in enableBLE()
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/managers/
DDiscoveryProviderManager.java340 if (!adapter.isBleScanAlwaysAvailable()) { in setBleScanEnabled()
DDiscoveryProviderManagerLegacy.java530 if (!adapter.isBleScanAlwaysAvailable()) { in setBleScanEnabled()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothAdapter.java1335 if (!isBleScanAlwaysAvailable()) { in disableBLE()
1379 if (!isBleScanAlwaysAvailable()) { in enableBLE()
2313 public boolean isBleScanAlwaysAvailable() { in isBleScanAlwaysAvailable() method in BluetoothAdapter
/packages/modules/Bluetooth/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt2104 Landroid/bluetooth/IBluetoothManager$Stub$Proxy;->isBleScanAlwaysAvailable()Z
2139 Landroid/bluetooth/IBluetoothManager;->isBleScanAlwaysAvailable()Z
/packages/modules/Bluetooth/framework/api/
Dsystem-current.txt80 method public boolean isBleScanAlwaysAvailable();