Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/trust/
DBleManager.java75 private BluetoothGattServer mGattServer; field in BleManager
119 if (mGattServer != null) { in openGattServer()
123 mGattServer.clearServices(); in openGattServer()
124 mGattServer.addService(mBluetoothGattService); in openGattServer()
134 mGattServer = mBluetoothManager.openGattServer(mContext, mGattServerCallback); in openGattServer()
180 if (mGattServer == null) { in notifyCharacteristicChanged()
184 boolean result = mGattServer.notifyCharacteristicChanged(device, characteristic, confirm); in notifyCharacteristicChanged()
211 if (mGattServer != null) { in cleanup()
212 mGattServer.clearServices(); in cleanup()
215 mGattServer.cancelConnection(d); in cleanup()
[all …]
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/ble/
DBlePeripheralManager.java81 private final AtomicReference<BluetoothGattServer> mGattServer = new AtomicReference<>(); field in BlePeripheralManager
187 mGattServer.set(mBluetoothManager.openGattServer(mContext, mGattServerCallback)); in startAdvertising()
210 BluetoothGattServer gattServer = mGattServer.get(); in notifyCharacteristicChanged()
240 BluetoothGattServer gattServer = mGattServer.getAndSet(null); in cleanup()
257 BluetoothGattServer gattServer = mGattServer.get(); in openGattServer()
272 mGattServer.set(mBluetoothManager.openGattServer(mContext, mGattServerCallback)); in openGattServer()
338 BluetoothGattServer gattServer = mGattServer.get();
362 BluetoothGattServer gattServer = mGattServer.get();
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DGattServer.java49 private BluetoothGattServer mGattServer; field in GattServer
114 mGattServer = mBluetoothManager.openGattServer(mContext, mGattServerCallBack); in startGattServer()
116 mGattServer.addService(mGattService); in startGattServer()
147 mGattServer.sendResponse(device, requestId, BluetoothGatt.GATT_SUCCESS, offset, value); in onCharacteristicWriteRequest()
167 mGattServer.sendResponse(device, requestId, BluetoothGatt.GATT_SUCCESS, 0, null); in onExecuteWrite()
DGattPMCReceiver.java34 private final GattServer mGattServer; field in GattPMCReceiver
47 mGattServer = new GattServer(context); in GattPMCReceiver()
77 mGattServer.startGattServer(); in onReceive()