Searched refs:enableBLE (Results 1 – 7 of 7) sorted by relevance
175 verify(mBluetoothAdapter, times(1)).enableBLE(); in test_enableBleWhenBleOff()364 when(mBluetoothAdapter.enableBLE()).thenReturn(true); in isBluetoothEnabledTest_bluetoothEnabled()374 when(mBluetoothAdapter.enableBLE()).thenReturn(true); in isBluetoothEnabledTest_bleEnabled()384 when(mBluetoothAdapter.enableBLE()).thenReturn(true); in enabledTest_enabled()394 when(mBluetoothAdapter.enableBLE()).thenReturn(false); in enabledTest_enableFailed()
182 verify(mBluetoothAdapter, times(1)).enableBLE(); in test_enableBleWhenBleOff()403 when(mBluetoothAdapter.enableBLE()).thenReturn(true); in isBluetoothEnabledTest_bluetoothEnabled()413 when(mBluetoothAdapter.enableBLE()).thenReturn(true); in isBluetoothEnabledTest_bleEnabled()423 when(mBluetoothAdapter.enableBLE()).thenReturn(true); in enabledTest_enabled()433 when(mBluetoothAdapter.enableBLE()).thenReturn(false); in enabledTest_enableFailed()
71 fun enableBLE(toggleScanSetting: Boolean): Boolean { in enableBLE() method90 if (!withPermissions(BLUETOOTH_CONNECT).use { adapter.enableBLE() }) { in enableBLE()
344 if (!adapter.enableBLE()) { in setBleScanEnabled()
534 if (!adapter.enableBLE()) { in setBleScanEnabled()
1378 public boolean enableBLE() { in enableBLE() method in BluetoothAdapter
65 …thod @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public boolean enableBLE();