Lines Matching refs:mBluetoothGatt
48 private BluetoothGatt mBluetoothGatt; field in BluetoothLeService
82 mBluetoothGatt.discoverServices());
220 && mBluetoothGatt != null) { in connect()
222 if (mBluetoothGatt.connect()) { in connect()
237 mBluetoothGatt = device.connectGatt(this, false, mGattCallback); in connect()
251 if (mBluetoothAdapter == null || mBluetoothGatt == null) { in disconnect()
255 mBluetoothGatt.disconnect(); in disconnect()
263 if (mBluetoothGatt == null) { in close()
266 mBluetoothGatt.close(); in close()
267 mBluetoothGatt = null; in close()
278 if (mBluetoothAdapter == null || mBluetoothGatt == null) { in readCharacteristic()
282 mBluetoothGatt.readCharacteristic(characteristic); in readCharacteristic()
293 if (mBluetoothAdapter == null || mBluetoothGatt == null) { in setCharacteristicNotification()
297 mBluetoothGatt.setCharacteristicNotification(characteristic, enabled); in setCharacteristicNotification()
304 mBluetoothGatt.writeDescriptor(descriptor); in setCharacteristicNotification()
315 if (mBluetoothGatt == null) return null; in getSupportedGattServices()
317 return mBluetoothGatt.getServices(); in getSupportedGattServices()