/cts/hostsidetests/multidevices/bluetooth/snippet/ |
D | BluetoothGattMultiDevicesSnippet.java | 34 private BluetoothManager mBluetoothManager; field in BluetoothGattMultiDevicesSnippet 38 mBluetoothManager = mContext.getSystemService(BluetoothManager.class); in BluetoothGattMultiDevicesSnippet() 45 mGattServer = new BluetoothGattMultiDevicesServer(mContext, mBluetoothManager); in reset() 46 mGattClient = new BluetoothGattMultiDevicesClient(mContext, mBluetoothManager); in reset() 69 mBluetoothManager.getAdapter().enable(); in enableBluetooth() 74 mBluetoothManager.getAdapter().disable(); in disableBluetooth() 79 return mBluetoothManager.getAdapter().isEnabled(); in isBluetoothOn()
|
D | BluetoothGattMultiDevicesServer.java | 40 private BluetoothManager mBluetoothManager; field in BluetoothGattMultiDevicesServer 45 mBluetoothManager = manager; in BluetoothGattMultiDevicesServer() 51 mBluetoothManager.openGattServer(mContext, new BluetoothGattServerCallback() {}); in createGattServer()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BleConnectionPriorityServerService.java | 61 private BluetoothManager mBluetoothManager; field in BleConnectionPriorityServerService 77 mBluetoothManager = (BluetoothManager) getSystemService(Context.BLUETOOTH_SERVICE); in onCreate() 78 mAdvertiser = mBluetoothManager.getAdapter().getBluetoothLeAdvertiser(); in onCreate() 79 mGattServer = mBluetoothManager.openGattServer(this, mCallbacks); in onCreate() 83 if (!mBluetoothManager.getAdapter().isEnabled()) { in onCreate()
|
D | BleAdvertiserService.java | 100 private BluetoothManager mBluetoothManager; field in BleAdvertiserService 118 mBluetoothManager = (BluetoothManager) getSystemService(Context.BLUETOOTH_SERVICE); in onCreate() 119 mBluetoothAdapter = mBluetoothManager.getAdapter(); in onCreate() 121 mGattServer = mBluetoothManager.openGattServer(getApplicationContext(), in onCreate()
|
D | BleCocServerService.java | 164 private BluetoothManager mBluetoothManager; field in BleCocServerService 208 mBluetoothManager = (BluetoothManager) getSystemService(Context.BLUETOOTH_SERVICE); in onCreate() 209 mAdvertiser = mBluetoothManager.getAdapter().getBluetoothLeAdvertiser(); in onCreate() 210 mGattServer = mBluetoothManager.openGattServer(this, mCallbacks); in onCreate() 217 if (!mBluetoothManager.getAdapter().isEnabled()) { in onCreate() 262 if (mBluetoothManager.getAdapter().isEnabled() && (mChatService == null)) { in startServerTest() 266 if (mBluetoothManager.getAdapter().isEnabled() && (mAdvertiser != null)) { in startServerTest() 450 mBluetoothManager.getAdapter().getBondedDevices();
|
D | BleEncryptedServerService.java | 95 private BluetoothManager mBluetoothManager; field in BleEncryptedServerService 110 mBluetoothManager = (BluetoothManager) getSystemService(Context.BLUETOOTH_SERVICE); in onCreate() 111 mAdvertiser = mBluetoothManager.getAdapter().getBluetoothLeAdvertiser(); in onCreate() 112 mGattServer = mBluetoothManager.openGattServer(this, mCallbacks); in onCreate() 119 if (!mBluetoothManager.getAdapter().isEnabled()) { in onCreate()
|
D | BleScannerService.java | 78 private BluetoothManager mBluetoothManager; field in BleScannerService 93 mBluetoothManager = (BluetoothManager) getSystemService(Context.BLUETOOTH_SERVICE); in onCreate() 94 mAdapter = mBluetoothManager.getAdapter(); in onCreate()
|
D | BleConnectionPriorityClientService.java | 81 private BluetoothManager mBluetoothManager; field in BleConnectionPriorityClientService 105 mBluetoothManager = (BluetoothManager) getSystemService(Context.BLUETOOTH_SERVICE); in onCreate() 106 mBluetoothAdapter = mBluetoothManager.getAdapter(); in onCreate()
|
D | BleServerService.java | 222 private BluetoothManager mBluetoothManager; field in BleServerService 255 mBluetoothManager = (BluetoothManager) getSystemService(Context.BLUETOOTH_SERVICE); in onCreate() 256 mAdvertiser = mBluetoothManager.getAdapter().getBluetoothLeAdvertiser(); in onCreate() 257 mGattServer = mBluetoothManager.openGattServer(this, mCallbacks); in onCreate() 267 if (!mBluetoothManager.getAdapter().isEnabled()) { in onCreate() 320 if (mBluetoothManager.getAdapter().isEnabled() && (mAdvertiser != null)) { in onStartCommand() 907 mBluetoothManager.getAdapter().getBondedDevices();
|
D | BleEncryptedClientService.java | 111 private BluetoothManager mBluetoothManager; field in BleEncryptedClientService 139 mBluetoothManager = (BluetoothManager) getSystemService(Context.BLUETOOTH_SERVICE); in onCreate() 140 mBluetoothAdapter = mBluetoothManager.getAdapter(); in onCreate()
|
D | BleAdvertisingSetTestActivity.java | 83 private BluetoothManager mBluetoothManager; field in BleAdvertisingSetTestActivity 164 mBluetoothManager = getSystemService(BluetoothManager.class); in onCreate() 165 mBluetoothAdapter = mBluetoothManager.getAdapter(); in onCreate()
|
D | BleCocClientService.java | 137 private BluetoothManager mBluetoothManager; field in BleCocClientService 166 mBluetoothManager = (BluetoothManager) getSystemService(Context.BLUETOOTH_SERVICE); in onCreate() 167 mBluetoothAdapter = mBluetoothManager.getAdapter(); in onCreate()
|
D | BleClientService.java | 319 private BluetoothManager mBluetoothManager; field in BleClientService 365 mBluetoothManager = (BluetoothManager) getSystemService(Context.BLUETOOTH_SERVICE); in onCreate() 366 mBluetoothAdapter = mBluetoothManager.getAdapter(); in onCreate()
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
D | BluetoothGattServerTest.java | 62 private BluetoothManager mBluetoothManager; field in BluetoothGattServerTest 76 mBluetoothManager = mContext.getSystemService(BluetoothManager.class); in setUp() 78 mBluetoothGattServer = mBluetoothManager.openGattServer(mContext, in setUp()
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarProjectionManagerTest.java | 84 private BluetoothManager mBluetoothManager; field in CarProjectionManagerTest 238 mBluetoothManager = mContext.getSystemService(BluetoothManager.class); in setUp() 239 mBluetoothAdapter = mBluetoothManager.getAdapter(); in setUp()
|
D | CarBluetoothTest.java | 67 private BluetoothManager mBluetoothManager; field in CarBluetoothTest 318 mBluetoothManager = (BluetoothManager) mContext.getSystemService( in setUp() 320 mBluetoothAdapter = mBluetoothManager.getAdapter(); in setUp()
|