Home
last modified time | relevance | path

Searched refs:enableBle (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Bluetooth/service/tests/src/com/android/server/bluetooth/
DBluetoothServiceBinderTest.java304 public void enableBle() { in enableBle() method in BluetoothServiceBinderTest
306 assertThrows(NullPointerException.class, () -> mBinder.enableBle(null, token)); in enableBle()
307 assertThrows(NullPointerException.class, () -> mBinder.enableBle(mSource, null)); in enableBle()
309 checkDisabled(() -> mBinder.enableBle(mSource, token)); in enableBle()
310 checkHardDenied(() -> mBinder.enableBle(mSource, token), false); in enableBle()
311 doReturn(true).when(mManagerService).enableBle(eq(TAG), eq(token)); in enableBle()
312 checkGranted(() -> mBinder.enableBle(mSource, token), true); in enableBle()
313 verify(mManagerService).enableBle(eq(TAG), eq(token)); in enableBle()
DBluetoothManagerServiceTest.java222 mManagerService.enableBle("enable_bindFailure_removesTimeout", mBinder); in enable_bindFailure_removesTimeout()
232 mManagerService.enableBle("enable_bindTimeout", mBinder); in enable_bindTimeout()
319 mManagerService.enableBle("test_offToBleOn", mBinder); in offToBleOn()
/packages/modules/Bluetooth/service/src/com/android/server/bluetooth/
DBluetoothServiceBinder.java246 public boolean enableBle(AttributionSource source, IBinder token) { in enableBle() method in BluetoothServiceBinder
264 return mBluetoothManagerService.enableBle(source.getPackageName(), token); in enableBle()
DBluetoothShellCommand.java79 .enableBle( in exec()
DBluetoothManagerService.java1000 boolean enableBle(String packageName, IBinder token) { in enableBle() method in BluetoothManagerService
/packages/modules/Bluetooth/service/aidl/android/bluetooth/
DIBluetoothManager.aidl53 boolean enableBle(in AttributionSource attributionSource, IBinder b); in enableBle() method
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothAdapter.java1383 return mManagerService.enableBle(mAttributionSource, mToken); in enableBLE()