/packages/modules/Uwb/service/java/com/android/server/uwb/discovery/ble/ |
D | GattTransportServerProvider.java | 70 UuidConstants.FIRA_CP_PARCEL_UUID.getUuid(), 114 if (characteristic.getUuid().equals(mOutControlPointCharacteristic.getUuid())) { 124 Log.w(TAG, "onRead unknown " + characteristic.getUuid()); 140 + characteristic.getUuid() 143 if (characteristic.getUuid().equals(mCapabilitiesCharacteristic.getUuid())) { 170 .getUuid() 171 .equals(mInControlPointCharacteristic.getUuid())) { 194 Log.w(TAG, "onWrite unknown " + characteristic.getUuid()); 210 + descriptor.getUuid() 213 if (descriptor.getUuid().equals(mOutControlPointCccdDescriptor.getUuid())) { [all …]
|
D | GattTransportClientProvider.java | 134 gatt.getService(UuidConstants.FIRA_CP_PARCEL_UUID.getUuid()); 145 UuidConstants.CP_IN_CONTROL_POINT_UUID.getUuid()); 148 UuidConstants.CP_OUT_CONTROL_POINT_UUID.getUuid()); 151 UuidConstants.CP_FIRA_CONNECTOR_CAPABILITIES_UUID.getUuid()); 154 UuidConstants.CCCD_UUID.getUuid()); 176 if (characteristic.getUuid().equals(mOutControlPointCharacteristic.getUuid())) { 190 Log.e(TAG, "onCharacteristicRead failed uuid:" + characteristic.getUuid()); 194 if (characteristic.getUuid().equals(mOutControlPointCharacteristic.getUuid())) { 206 Log.e(TAG, "onCharacteristicWrite failed uuid:" + characteristic.getUuid()); 210 if (characteristic.getUuid().equals(mCapabilitiesCharacteristic.getUuid())) { [all …]
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothUuid.java | 418 UUID uuid = parcelUuid.getUuid(); in getServiceIdentifierFromParcelUuid() 465 long msb = BASE_UUID.getUuid().getMostSignificantBits() + (shortUuid << 32); in parseUuidFrom() 466 long lsb = BASE_UUID.getUuid().getLeastSignificantBits(); in parseUuidFrom() 503 long msb = uuid.getUuid().getMostSignificantBits(); in uuidToBytes() 504 long lsb = uuid.getUuid().getLeastSignificantBits(); in uuidToBytes() 521 UUID uuid = parcelUuid.getUuid(); in is16BitUuid() 522 if (uuid.getLeastSignificantBits() != BASE_UUID.getUuid().getLeastSignificantBits()) { in is16BitUuid() 536 UUID uuid = parcelUuid.getUuid(); in is32BitUuid() 537 if (uuid.getLeastSignificantBits() != BASE_UUID.getUuid().getLeastSignificantBits()) { in is32BitUuid()
|
D | BluetoothGattService.java | 150 new BluetoothGattIncludedService(s.getUuid(), s.getInstanceId(), s.getType())); in writeToParcel() 167 mUuid = ((ParcelUuid) in.readParcelable(null)).getUuid(); in BluetoothGattService() 190 null, isvc.getUuid(), isvc.getInstanceId(), isvc.getType())); in BluetoothGattService() 245 if (uuid.equals(characteristic.getUuid()) in getCharacteristic() 296 public UUID getUuid() { in getUuid() method in BluetoothGattService 350 if (uuid.equals(characteristic.getUuid())) { in getCharacteristic()
|
D | BluetoothLeCall.java | 145 that.getUuid().getMostSignificantBits(), in BluetoothLeCall() 146 that.getUuid().getLeastSignificantBits()); in BluetoothLeCall() 225 mUuid = ((ParcelUuid) in.readParcelable(null)).getUuid(); in BluetoothLeCall() 240 public @NonNull UUID getUuid() { in getUuid() method in BluetoothLeCall
|
D | BluetoothLeCallControl.java | 307 mExecutor.execute(() -> mCallback.onAcceptCall(requestId, uuid.getUuid())); in onAcceptCall() 317 mExecutor.execute(() -> mCallback.onTerminateCall(requestId, uuid.getUuid())); in onTerminateCall() 327 mExecutor.execute(() -> mCallback.onHoldCall(requestId, uuid.getUuid())); in onHoldCall() 337 mExecutor.execute(() -> mCallback.onUnholdCall(requestId, uuid.getUuid())); in onUnholdCall() 347 mExecutor.execute(() -> mCallback.onPlaceCall(requestId, uuid.getUuid(), uri)); in onPlaceCall() 357 uuids.add(parcelUuid.getUuid()); in onJoinCalls()
|
D | BluetoothGattIncludedService.java | 72 mUuid = ((ParcelUuid) in.readParcelable(null)).getUuid(); in BluetoothGattIncludedService() 82 public UUID getUuid() { in getUuid() method in BluetoothGattIncludedService
|
D | BluetoothGattCharacteristic.java | 272 mUuid = ((ParcelUuid) in.readParcelable(null)).getUuid(); in BluetoothGattCharacteristic() 319 if (descriptor.getUuid().equals(uuid) && descriptor.getInstanceId() == instanceId) { in getDescriptor() 350 public UUID getUuid() { in getUuid() method in BluetoothGattCharacteristic 446 if (descriptor.getUuid().equals(uuid)) { in getDescriptor()
|
D | BluetoothGattDescriptor.java | 163 mUuid = ((ParcelUuid) in.readParcelable(null)).getUuid(); in BluetoothGattDescriptor() 192 public UUID getUuid() { in getUuid() method in BluetoothGattDescriptor
|
D | BluetoothGattServer.java | 143 + service.getUuid() 690 && svc.getUuid().equals(uuid)) { in getService() 969 if (DBG) Log.d(TAG, "addService() - service: " + service.getUuid()); in addService() 994 if (DBG) Log.d(TAG, "removeService() - service: " + service.getUuid()); in removeService() 998 getService(service.getUuid(), service.getInstanceId(), service.getType()); in removeService() 1056 if (service.getUuid().equals(uuid)) { in getService()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/ |
D | MedicalResourceInternal.java | 46 public UUID getUuid() { in getUuid() method in MedicalResourceInternal 132 requireNonNull(getUuid()).toString(), in toExternalResource() 155 return Objects.equals(getUuid(), that.getUuid()) in equals() 163 return hash(getUuid(), getType(), getDataSourceId(), getData()); in hashCode()
|
D | RecordInternal.java | 114 public UUID getUuid() { in getUuid() method in RecordInternal 288 .setId(getUuid() == null ? null : getUuid().toString()) in buildMetaData()
|
/packages/modules/Bluetooth/android/pandora/server/src/ |
D | GattInstance.kt | 113 characteristic.getUuid() == gattInstanceValueRead.uuid && in onCharacteristicRead() 132 descriptor.getUuid() == gattInstanceValueRead.uuid && in onDescriptorRead() 170 characteristic.getUuid().toString().uppercase() in onCharacteristicChanged() 259 characteristic.getUuid(), in readCharacteristicBlocking() 282 characteristic.getUuid() == uuid && in readCharacteristicUuidBlocking() 332 descriptor.getUuid(), in readDescriptorBlocking() 350 characteristic.getUuid(), in writeCharacteristicBlocking() 371 descriptor.getUuid(), in writeDescriptorBlocking()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/sdp/ |
D | SdpManager.java | 88 public ParcelUuid getUuid() { in getUuid() method in SdpManager.SdpSearchInstance 156 if (instAddressString.equals(addressString) && inst.getUuid().equals(uuid)) { in getSearchInstance() 176 && inst.getUuid().equals(uuid)) { in isSearching() 199 Log.w(TAG, "Search timed out for UUID " + msgObj.getUuid()); in SdpManager() 470 Log.d(TAG, "Starting search for UUID: " + inst.getUuid()); in startSearch() 479 Utils.uuidToByteArray(inst.getUuid())); in startSearch() 497 inst.getDevice(), inst.getStatus(), record, inst.getUuid()); in sendSdpIntent() 506 intent.putExtra(BluetoothDevice.EXTRA_UUID, inst.getUuid()); in sendSdpIntent()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_scan/ |
D | ScanFilterQueue.java | 226 addUuid(filter.getServiceUuid().getUuid()); in addScanFilter() 228 addUuid(filter.getServiceUuid().getUuid(), filter.getServiceUuidMask().getUuid()); in addScanFilter() 233 addSolicitUuid(filter.getServiceSolicitationUuid().getUuid()); in addScanFilter() 236 filter.getServiceSolicitationUuid().getUuid(), in addScanFilter() 237 filter.getServiceSolicitationUuidMask().getUuid()); in addScanFilter()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/tbs/ |
D | TbsGatt.java | 521 if (isSubscribed(device, characteristic.getUuid())) { in notifyWithValue() 527 if (isSubscribed(device, characteristic.getUuid())) { in notify() 691 characteristic.getSubscriptionConfiguration(device, characteristic.getUuid()); in getValue() 721 addUuidToMetadata(new ParcelUuid(characteristic.getUuid()), device); in setValue() 723 removeUuidFromMetadata(new ParcelUuid(characteristic.getUuid()), device); in setValue() 729 device, characteristic.getUuid(), value); in setValue() 996 gattService.getCharacteristic(uuid.getUuid()); in restoreCccValuesForStoredDevices() 1034 ? op.mCharacteristic.getUuid() in onRejectedAuthorizationGattOperation() 1036 ? op.mDescriptor.getCharacteristic().getUuid() in onRejectedAuthorizationGattOperation() 1067 if (op.mCharacteristic.getUuid().equals(UUID_CALL_CONTROL_POINT)) { in onRejectedAuthorizationGattOperation() [all …]
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/discovery/ble/ |
D | GattTransportClientProviderTest.java | 110 UuidConstants.CP_IN_CONTROL_POINT_UUID.getUuid(), 115 UuidConstants.CP_FIRA_CONNECTOR_CAPABILITIES_UUID.getUuid(), 120 UuidConstants.CP_OUT_CONTROL_POINT_UUID.getUuid(), 126 UuidConstants.CCCD_UUID.getUuid(), BluetoothGattDescriptor.PERMISSION_READ); 155 return characteristic.getUuid().equals(mCharacteristic.getUuid()); in matches() 161 "BluetoothGattCharacteristic with uuid %s'", mCharacteristic.getUuid()); in toString() 245 when(mMockBluetoothGatt.getService(UuidConstants.FIRA_CP_PARCEL_UUID.getUuid())) in setupGattServicesDiscover() 248 UuidConstants.CP_IN_CONTROL_POINT_UUID.getUuid())) in setupGattServicesDiscover() 251 UuidConstants.CP_OUT_CONTROL_POINT_UUID.getUuid())) in setupGattServicesDiscover() 254 UuidConstants.CP_FIRA_CONNECTOR_CAPABILITIES_UUID.getUuid())) in setupGattServicesDiscover() [all …]
|
/packages/services/Car/service/src/com/android/car/bluetooth/ |
D | FastPairGattServer.java | 115 FAST_PAIR_SERVICE_UUID.getUuid(), BluetoothGattService.SERVICE_TYPE_PRIMARY); 243 Slogf.d(TAG, "onWrite, uuid=%s, length=%d", characteristic.getUuid(), 269 Slogf.d(TAG, "onWritePasskey %s", characteristic.getUuid()); 283 Slogf.w(TAG, "onWriteOther %s", characteristic.getUuid()); 428 mModelIdCharacteristic = new BluetoothGattCharacteristic(FAST_PAIR_MODEL_ID_UUID.getUuid(), in setup() 435 new BluetoothGattCharacteristic(KEY_BASED_PAIRING_UUID.getUuid(), in setup() 441 CLIENT_CHARACTERISTIC_CONFIG.getUuid(), in setup() 447 new BluetoothGattCharacteristic(PASSKEY_UUID.getUuid(), in setup() 453 CLIENT_CHARACTERISTIC_CONFIG.getUuid(), in setup() 460 new BluetoothGattCharacteristic(ACCOUNT_KEY_UUID.getUuid(), in setup() [all …]
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/ |
D | AdapterNativeInterface.java | 252 connectionUuid.getUuid().getLeastSignificantBits(), in getSocketL2capLocalChannelId() 253 connectionUuid.getUuid().getMostSignificantBits()); in getSocketL2capLocalChannelId() 258 connectionUuid.getUuid().getLeastSignificantBits(), in getSocketL2capRemoteChannelId() 259 connectionUuid.getUuid().getMostSignificantBits()); in getSocketL2capRemoteChannelId()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mcp/ |
D | MediaControlGattService.java | 453 UUID charUuid = op.mCharacteristic.getUuid(); in onUnauthorizedCharRead() 570 ? op.mCharacteristic.getUuid() in onUnauthorizedGattOperation() 572 ? op.mDescriptor.getCharacteristic().getUuid() in onUnauthorizedGattOperation() 596 byte[] value = getCccBytes(device, op.mDescriptor.getCharacteristic().getUuid()); in onUnauthorizedGattOperation() 617 op.mDescriptor.getCharacteristic().getUuid(), in onUnauthorizedGattOperation() 656 ? op.mCharacteristic.getUuid() in onAuthorizedGattOperation() 658 ? op.mDescriptor.getCharacteristic().getUuid() in onAuthorizedGattOperation() 675 .getUuid() in onAuthorizedGattOperation() 676 .equals(mCharacteristics.get(CharId.TRACK_POSITION).getUuid())) { in onAuthorizedGattOperation() 710 + op.mCharacteristic.getUuid()); in onAuthorizedGattOperation() [all …]
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/request/ |
D | UpsertTransactionRequest.java | 128 if (useProvidedUuid && recordInternal.getUuid() != null) { in UpsertTransactionRequest() 175 .map((request) -> request.getRecordInternal().getUuid().toString()) in getUUIdsInOrder() 182 RecordHelper.UUID_COLUMN_NAME, StorageUtils.getHexString(recordInternal.getUuid())); in generateWhereClausesForUpdate()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpControllerNativeInterfaceTest.java | 54 assertThat(item.getUuid()).isNotNull(); // Random uuid in createFromNativeMediaItem() 74 assertThat(item.getUuid()).isNotNull(); // Random uuid in createFromNativeFolderItem()
|
D | AvrcpItemTest.java | 98 Assert.assertEquals(UUID, item.getUuid()); in buildAvrcpItem() 145 Assert.assertEquals(null, item.getUuid()); in buildAvrcpItemFromAvrcpAttributes() 207 Assert.assertEquals(null, item.getUuid()); in buildAvrcpItemFromAvrcpAttributesWithBadIds_badIdsIgnored() 254 Assert.assertEquals(null, item.getUuid()); in buildAvrcpItemFromAvrcpAttributes_imageHandleTooShort() 301 Assert.assertEquals(null, item.getUuid()); in buildAvrcpItemFromAvrcpAttributes_imageHandleEmpty() 348 Assert.assertEquals(null, item.getUuid()); in buildAvrcpItemFromAvrcpAttributes_imageHandleNull() 395 Assert.assertEquals(null, item.getUuid()); in buildAvrcpItemFromAvrcpAttributes_imageHandleNotDigits()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/ |
D | LeAudioTmapGattServerTest.java | 83 assertThat(service.getUuid()).isEqualTo(BluetoothUuid.TMAP.getUuid()); in testStartStopService()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/tbs/ |
D | TbsGattTest.java | 182 if (characteristic.getUuid().equals(TbsGatt.UUID_BEARER_PROVIDER_NAME)) { in verifySetValue() 191 } else if (characteristic.getUuid().equals(TbsGatt.UUID_BEARER_TECHNOLOGY)) { in verifySetValue() 198 .getUuid() in verifySetValue() 209 } else if (characteristic.getUuid().equals(TbsGatt.UUID_STATUS_FLAGS)) { in verifySetValue() 233 } else if (characteristic.getUuid().equals(TbsGatt.UUID_CALL_STATE)) { in verifySetValue() 240 } else if (characteristic.getUuid().equals(TbsGatt.UUID_BEARER_LIST_CURRENT_CALLS)) { in verifySetValue() 247 } else if (characteristic.getUuid().equals(TbsGatt.UUID_TERMINATION_REASON)) { in verifySetValue() 259 } else if (characteristic.getUuid().equals(TbsGatt.UUID_INCOMING_CALL)) { in verifySetValue() 275 } else if (characteristic.getUuid().equals(TbsGatt.UUID_CALL_FRIENDLY_NAME)) { in verifySetValue()
|