Home
last modified time | relevance | path

Searched refs:mBluetoothGatt (Results 1 – 4 of 4) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleEncryptedClientService.java113 private BluetoothGatt mBluetoothGatt; field in BleEncryptedClientService
154 if (mBluetoothGatt != null) { in onDestroy()
155 mBluetoothGatt.disconnect(); in onDestroy()
156 mBluetoothGatt.close(); in onDestroy()
157 mBluetoothGatt = null; in onDestroy()
218 if (mBluetoothGatt != null) { in getService()
219 service = mBluetoothGatt.getService(SERVICE_UUID); in getService()
270 mBluetoothGatt.writeCharacteristic(characteristic); in startEncryptedAction()
275 mBluetoothGatt.readCharacteristic(characteristic); in startEncryptedAction()
281 mBluetoothGatt.writeDescriptor(descriptor); in startEncryptedAction()
[all …]
DBleConnectionPriorityClientService.java83 private BluetoothGatt mBluetoothGatt; field in BleConnectionPriorityClientService
117 if (mBluetoothGatt != null) { in onDestroy()
119 mBluetoothGatt.disconnect(); in onDestroy()
120 mBluetoothGatt.close(); in onDestroy()
123 mBluetoothGatt = null; in onDestroy()
154 if (mBluetoothGatt != null) { in onStartCommand()
155 mBluetoothGatt.disconnect(); in onStartCommand()
171 mBluetoothGatt.requestConnectionPriority(mPriority); in myRequestConnectionPriority()
214 mBluetoothGatt.disconnect();
218 mBluetoothGatt.disconnect();
[all …]
DBleCocClientService.java144 private BluetoothGatt mBluetoothGatt; field in BleCocClientService
222 if (mBluetoothGatt != null) { in onTestFinish()
223 mBluetoothGatt.disconnect(); in onTestFinish()
243 if (mBluetoothGatt != null) { in onDestroy()
244 mBluetoothGatt.disconnect(); in onDestroy()
245 mBluetoothGatt.close(); in onDestroy()
246 mBluetoothGatt = null; in onDestroy()
285 mBluetoothGatt.readCharacteristic(characteristic); in readCharacteristic()
320 if (mBluetoothGatt != null && mBleState == BluetoothProfile.STATE_CONNECTED) { in startLeDiscovery()
321 mBluetoothGatt.discoverServices(); in startLeDiscovery()
[all …]
DBleClientService.java296 private BluetoothGatt mBluetoothGatt; field in BleClientService
374 if (mBluetoothGatt != null && mBleState == BluetoothProfile.STATE_CONNECTED) { in onTestFinish()
375 mBluetoothGatt.discoverServices(); in onTestFinish()
450 if (mBluetoothGatt != null) { in onTestFinish()
451 mBluetoothGatt.readRemoteRssi(); in onTestFinish()
455 if (mBluetoothGatt != null) { in onTestFinish()
456 mBluetoothGatt.disconnect(); in onTestFinish()
499 if (mBluetoothGatt != null) { in onDestroy()
500 mBluetoothGatt.disconnect(); in onDestroy()
501 mBluetoothGatt.close(); in onDestroy()
[all …]