Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/tbs/
DTbsGatt.java398 private void removeUuidFromMetadata(ParcelUuid charUuid, BluetoothDevice device) { in removeUuidFromMetadata() argument
407 if (!uuidList.contains(charUuid)) { in removeUuidFromMetadata()
411 + charUuid.toString()); in removeUuidFromMetadata()
416 uuidList.remove(charUuid); in removeUuidFromMetadata()
420 Log.e(TAG, "Can't set CCCD for GTBS characteristic UUID: " + charUuid + ", (remove)"); in removeUuidFromMetadata()
424 private void addUuidToMetadata(ParcelUuid charUuid, BluetoothDevice device) { in addUuidToMetadata() argument
433 if (uuidList.contains(charUuid)) { in addUuidToMetadata()
434 Log.d(TAG, "Characteristic CCCD already add: " + charUuid.toString()); in addUuidToMetadata()
439 uuidList.add(charUuid); in addUuidToMetadata()
443 Log.e(TAG, "Can't set CCCD for GTBS characteristic UUID: " + charUuid + ", (add)"); in addUuidToMetadata()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mcp/
DMediaControlGattService.java453 UUID charUuid = op.mCharacteristic.getUuid(); in onUnauthorizedCharRead() local
456 if (charUuid.equals(UUID_PLAYER_NAME)) { in onUnauthorizedCharRead()
461 } else if (charUuid.equals(UUID_PLAYER_ICON_OBJ_ID)) { in onUnauthorizedCharRead()
464 } else if (charUuid.equals(UUID_PLAYER_ICON_URL)) { in onUnauthorizedCharRead()
469 } else if (charUuid.equals(UUID_TRACK_CHANGED)) { in onUnauthorizedCharRead()
472 } else if (charUuid.equals(UUID_TRACK_TITLE)) { in onUnauthorizedCharRead()
477 } else if (charUuid.equals(UUID_TRACK_DURATION)) { in onUnauthorizedCharRead()
482 } else if (charUuid.equals(UUID_TRACK_POSITION)) { in onUnauthorizedCharRead()
487 } else if (charUuid.equals(UUID_PLAYBACK_SPEED)) { in onUnauthorizedCharRead()
492 } else if (charUuid.equals(UUID_SEEKING_SPEED)) { in onUnauthorizedCharRead()
[all …]
DMediaControlProfile.java918 int ccid, BluetoothDevice device, ParcelUuid charUuid, boolean doNotify) { in setNotificationSubscription() argument
933 if (!uuidList.contains(charUuid)) { in setNotificationSubscription()
934 uuidList.add(charUuid); in setNotificationSubscription()
937 } else if (uuidList.contains(charUuid)) { in setNotificationSubscription()
938 uuidList.remove(charUuid); in setNotificationSubscription()
949 + charUuid.toString() in setNotificationSubscription()
DMcpService.java222 int ccid, BluetoothDevice device, ParcelUuid charUuid, boolean doNotify) { in setNotificationSubscription() argument
223 mGmcs.setNotificationSubscription(ccid, device, charUuid, doNotify); in setNotificationSubscription()