Home
last modified time | relevance | path

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

/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DGattClientListener.java59 private BluetoothGatt mBluetoothGatt; field in GattClientListener
96 mBluetoothGatt = null; in GattClientListener()
162 if (mBluetoothGatt == null) { in onReceive()
163 mBluetoothGatt = mDevice.connectGatt(mContext, in onReceive()
166 mBluetoothGatt.discoverServices(); in onReceive()
191 mBluetoothGatt.discoverServices(); in onConnectionStateChange()
197 mBluetoothGatt.close(); in onConnectionStateChange()
201 mBluetoothGatt = null; in onConnectionStateChange()
215 mBluetoothGatt.requestMtu(MAX_MTU); in onServicesDiscovered()
/packages/services/Car/service/src/com/android/car/trust/
DBleManager.java76 private BluetoothGatt mBluetoothGatt; field in BleManager
195 mBluetoothGatt = device.connectGatt(getContext(), false, mGattCallback); in retrieveDeviceName()
235 if (mBluetoothGatt != null) { in stopGattServer()
236 mBluetoothGatt.disconnect(); in stopGattServer()
387 mBluetoothGatt.discoverServices();
408 BluetoothGattService gapService = mBluetoothGatt.getService(
420 mBluetoothGatt.readCharacteristic(deviceNameCharacteristic);
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/ble/
DBlePeripheralManager.java82 private final AtomicReference<BluetoothGatt> mBluetoothGatt = new AtomicReference<>(); field in BlePeripheralManager
224 mBluetoothGatt.compareAndSet(null, device.connectGatt(mContext, false, mGattCallback)); in retrieveDeviceName()
246 BluetoothGatt bluetoothGatt = mBluetoothGatt.getAndSet(null); in cleanup()
405 BluetoothGatt bluetoothGatt = mBluetoothGatt.get();
423 BluetoothGatt bluetoothGatt = mBluetoothGatt.get();