Home
last modified time | relevance | path

Searched refs:characteristic (Results 1 – 14 of 14) sorted by relevance

/packages/services/Car/TrustAgent/src/com/android/car/trust/comms/
DSimpleBleClient.java55 BluetoothGattCharacteristic characteristic); in onCharacteristicChanged() argument
77 public BleAction(BluetoothGattCharacteristic characteristic, int action) { in BleAction() argument
79 mCharacteristic = characteristic; in BleAction()
164 public void writeCharacteristic(BluetoothGattCharacteristic characteristic) { in writeCharacteristic() argument
165 processAction(new BleAction(characteristic, BleAction.ACTION_WRITE)); in writeCharacteristic()
174 public void readCharacteristic(BluetoothGattCharacteristic characteristic) { in readCharacteristic() argument
175 processAction(new BleAction(characteristic, BleAction.ACTION_READ)); in readCharacteristic()
185 public void setCharacteristicNotification(BluetoothGattCharacteristic characteristic, in setCharacteristicNotification() argument
187 mBtGatt.setCharacteristicNotification(characteristic, enabled); in setCharacteristicNotification()
355 BluetoothGattCharacteristic characteristic, int status) {
[all …]
DSimpleBleServer.java168 BluetoothGattCharacteristic characteristic, boolean preparedWrite, boolean in onCharacteristicWrite() argument
175 int requestId, int offset, final BluetoothGattCharacteristic characteristic); in onCharacteristicRead() argument
226 int requestId, int offset, final BluetoothGattCharacteristic characteristic) {
228 Log.d(TAG, "Read request for characteristic: " + characteristic.getUuid());
231 BluetoothGatt.GATT_SUCCESS, offset, characteristic.getValue());
233 this.onCharacteristicRead(device, requestId, offset, characteristic);
238 BluetoothGattCharacteristic characteristic, boolean preparedWrite, boolean
241 Log.d(TAG, "Write request for characteristic: " + characteristic.getUuid());
247 this.onCharacteristicWrite(device, requestId, characteristic,
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DGattClientListener.java220 BluetoothGattCharacteristic characteristic, int status) { in onCharacteristicRead() argument
226 BluetoothGattCharacteristic characteristic, int status) { in onCharacteristicWrite() argument
236 BluetoothGattCharacteristic characteristic) { in onCharacteristicChanged() argument
285 BluetoothGattCharacteristic characteristic = service.getCharacteristic(cUuid); in writeCharacteristic() local
287 if (characteristic == null) { in writeCharacteristic()
298 characteristic.setValue(byteValue); in writeCharacteristic()
299 characteristic.setWriteType(BluetoothGattCharacteristic.WRITE_TYPE_DEFAULT); in writeCharacteristic()
300 gatt.writeCharacteristic(characteristic); in writeCharacteristic()
DGattServer.java87 BluetoothGattCharacteristic characteristic = in GattServer() local
98 characteristic.addDescriptor(descriptor); in GattServer()
102 mGattService.addCharacteristic(characteristic); in GattServer()
136 BluetoothGattCharacteristic characteristic) { in onCharacteristicReadRequest() argument
137 Log.d(TAG, "onCharacteristicReadRequest: " + characteristic); in onCharacteristicReadRequest()
142 BluetoothGattCharacteristic characteristic, boolean preparedWrite, in onCharacteristicWriteRequest() argument
/packages/services/Car/TrustAgent/src/com/android/car/trust/
DPhoneEnrolmentController.java143 BluetoothGattCharacteristic characteristic) {
146 Log.d(TAG, "onCharacteristicChanged: " + Utils.getLong(characteristic.getValue()));
149 if (characteristic.getUuid().equals(mEnrolmentTokenHandle.getUuid())) {
152 long handle = Utils.getLong(characteristic.getValue());
DCarEnrolmentService.java69 int requestId, BluetoothGattCharacteristic characteristic, in onCharacteristicWrite() argument
71 if (characteristic.getUuid().equals(mEnrolmentEscrowToken.getUuid())) { in onCharacteristicWrite()
84 int requestId, int offset, BluetoothGattCharacteristic characteristic) { in onCharacteristicRead() argument
DCarUnlockService.java89 int requestId, BluetoothGattCharacteristic characteristic, in onCharacteristicWrite() argument
91 UUID uuid = characteristic.getUuid(); in onCharacteristicWrite()
110 int requestId, int offset, BluetoothGattCharacteristic characteristic) { in onCharacteristicRead() argument
DPhoneUnlockController.java131 BluetoothGattCharacteristic characteristic) {
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothAccessoryFragment.java283 BluetoothGattCharacteristic characteristic, int status) { in onCharacteristicRead() argument
286 Log.e(TAG, "Read characteristic failure on " + gatt + " " + characteristic); in onCharacteristicRead()
291 if (GATT_BATTERY_LEVEL_CHARACTERISTIC_UUID.equals(characteristic.getUuid())) { in onCharacteristicRead()
293 characteristic.getIntValue(BluetoothGattCharacteristic.FORMAT_UINT8, 0); in onCharacteristicRead()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DGattService.java233 for (BluetoothGattCharacteristic characteristic: service.getCharacteristics()) { in permissionCheck()
234 if (handle == characteristic.getInstanceId()) { in permissionCheck()
235 if ((isRestrictedCharUuid(characteristic.getUuid()) || in permissionCheck()
243 for (BluetoothGattDescriptor descriptor: characteristic.getDescriptors()) { in permissionCheck()
245 if ((isRestrictedCharUuid(characteristic.getUuid()) || in permissionCheck()
2402 for (BluetoothGattCharacteristic characteristic : service.getCharacteristics()) { in addService()
2403 int permission = ((characteristic.getKeySize() - 7) << 12) in addService()
2404 + characteristic.getPermissions(); in addService()
2405 db.add(GattDbElement.createCharacteristic(characteristic.getUuid(), in addService()
2406 characteristic.getProperties(), permission)); in addService()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioRouteStateMachine.java1439 for (String characteristic : characteristics) { in doesDeviceSupportEarpieceRoute()
1440 if ("watch".equals(characteristic)) { in doesDeviceSupportEarpieceRoute()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...