Home
last modified time | relevance | path

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

/packages/services/Car/TrustAgent/src/com/android/car/trust/comms/
DSimpleBleServer.java72 protected BluetoothGattServer mGattServer; field in SimpleBleServer
97 mGattServer = btManager.openGattServer(this, mGattServerCallback); in start()
98 if (mGattServer == null) { in start()
106 mGattServer.addService(service); in start()
134 if (mGattServer != null) { in stop()
135 mGattServer.clearServices(); in stop()
137 for (BluetoothDevice d : mGattServer.getConnectedDevices()) { in stop()
138 mGattServer.cancelConnection(d); in stop()
143 mGattServer.close(); in stop()
230 mGattServer.sendResponse(device, requestId,
[all …]
/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()
/packages/services/Car/TrustAgent/src/com/android/car/trust/
DCarBleTrustAgent.java208 BluetoothGattServer mGattServer in maybeStartBleUnlockService() local
219 if (mGattServer == null) { in maybeStartBleUnlockService()
230 mGattServer.close(); in maybeStartBleUnlockService()
DCarEnrolmentService.java98 mGattServer.notifyCharacteristicChanged(device, in sendHandle()