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 BleClientService354 if (mBluetoothGatt != null && mBleState == BluetoothProfile.STATE_CONNECTED) { in onTestFinish()355 mBluetoothGatt.discoverServices(); in onTestFinish()430 if (mBluetoothGatt != null) { in onTestFinish()431 mBluetoothGatt.readRemoteRssi(); in onTestFinish()435 if (mBluetoothGatt != null) { in onTestFinish()436 mBluetoothGatt.disconnect(); in onTestFinish()475 if (mBluetoothGatt != null) { in onDestroy()476 mBluetoothGatt.disconnect(); in onDestroy()477 mBluetoothGatt.close(); in onDestroy()[all …]