Searched refs:mBluetoothGatt (Results 1 – 3 of 3) sorted by relevance
113 private BluetoothGatt mBluetoothGatt; field in BleEncryptedClientService154 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 …]
104 private BluetoothGatt mBluetoothGatt; field in BleConnectionPriorityClientService141 if (mBluetoothGatt != null) { in onDestroy()143 mBluetoothGatt.disconnect(); in onDestroy()144 mBluetoothGatt.close(); in onDestroy()147 mBluetoothGatt = null; in onDestroy()185 if (mBluetoothGatt != null) { in onStartCommand()186 mBluetoothGatt.disconnect(); in onStartCommand()204 mBluetoothGatt.requestConnectionPriority(BluetoothGatt.CONNECTION_PRIORITY_BALANCED); in startPeriodicTransmission()208 mBluetoothGatt.requestConnectionPriority(BluetoothGatt.CONNECTION_PRIORITY_HIGH); in startPeriodicTransmission()212 mBluetoothGatt.requestConnectionPriority(BluetoothGatt.CONNECTION_PRIORITY_LOW_POWER); in startPeriodicTransmission()[all …]
288 private BluetoothGatt mBluetoothGatt; field in BleClientService357 if (mBluetoothGatt != null && mBleState == BluetoothProfile.STATE_CONNECTED) { in onTestFinish()358 mBluetoothGatt.discoverServices(); in onTestFinish()433 if (mBluetoothGatt != null) { in onTestFinish()434 mBluetoothGatt.readRemoteRssi(); in onTestFinish()438 if (mBluetoothGatt != null) { in onTestFinish()439 mBluetoothGatt.disconnect(); in onTestFinish()478 if (mBluetoothGatt != null) { in onDestroy()479 mBluetoothGatt.disconnect(); in onDestroy()480 mBluetoothGatt.close(); in onDestroy()[all …]