Searched refs:mGattServer (Results 1 – 3 of 3) sorted by relevance
/packages/services/Car/service/src/com/android/car/trust/ |
D | BleManager.java | 75 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/Test/connectivity/PMC/src/com/android/pmc/ |
D | GattServer.java | 49 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()
|
D | GattPMCReceiver.java | 34 private final GattServer mGattServer; field in GattPMCReceiver 47 mGattServer = new GattServer(context); in GattPMCReceiver() 77 mGattServer.startGattServer(); in onReceive()
|