/packages/modules/Connectivity/nearby/tests/robotests/src/com/android/libraries/testing/deviceshadower/helpers/bluetooth/ |
D | BluetoothGattClient.java | 243 characteristic.getUuid(), Arrays.toString(characteristic.getValue()))); 245 gatt.getDevice().getAddress(), characteristic.getUuid(), 253 characteristic.getUuid(), status)); 255 gatt.getDevice().getAddress(), characteristic.getUuid(), 264 characteristic.getUuid(), status)); 266 characteristic.getUuid(), characteristic.getValue(), status); 273 descriptor.getUuid(), status)); 275 gatt.getDevice().getAddress(), descriptor.getUuid(), descriptor.getValue(), 283 descriptor.getUuid(), status)); 285 gatt.getDevice().getAddress(), descriptor.getUuid(), descriptor.getValue(), [all …]
|
D | BluetoothGattMaster.java | 134 UUID uuid = characteristic.getUuid(); 151 UUID uuid = characteristic.getUuid(); 170 UUID uuid = descriptor.getUuid(); 184 UUID uuid = descriptor.getUuid(); 219 UUID uuid = service.getUuid(); 226 mCharacteristics.put(characteristic.getUuid(), characteristic);
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothUuid.java | 440 UUID uuid = parcelUuid.getUuid(); in getServiceIdentifierFromParcelUuid() 488 long msb = BASE_UUID.getUuid().getMostSignificantBits() + (shortUuid << 32); in parseUuidFrom() 489 long lsb = BASE_UUID.getUuid().getLeastSignificantBits(); in parseUuidFrom() 527 long msb = uuid.getUuid().getMostSignificantBits(); in uuidToBytes() 528 long lsb = uuid.getUuid().getLeastSignificantBits(); in uuidToBytes() 547 UUID uuid = parcelUuid.getUuid(); in is16BitUuid() 548 if (uuid.getLeastSignificantBits() != BASE_UUID.getUuid().getLeastSignificantBits()) { in is16BitUuid() 565 UUID uuid = parcelUuid.getUuid(); in is32BitUuid() 566 if (uuid.getLeastSignificantBits() != BASE_UUID.getUuid().getLeastSignificantBits()) { in is32BitUuid()
|
D | BluetoothGattService.java | 165 includedServices.add(new BluetoothGattIncludedService(s.getUuid(), in writeToParcel() 183 mUuid = ((ParcelUuid) in.readParcelable(null)).getUuid(); in BluetoothGattService() 204 mIncludedServices.add(new BluetoothGattService(null, isvc.getUuid(), in BluetoothGattService() 260 if (uuid.equals(characteristic.getUuid()) in getCharacteristic() 311 public UUID getUuid() { in getUuid() method in BluetoothGattService 370 if (uuid.equals(characteristic.getUuid())) { in getCharacteristic()
|
D | BluetoothLeCall.java | 142 mUuid = new UUID(that.getUuid().getMostSignificantBits(), in BluetoothLeCall() 143 that.getUuid().getLeastSignificantBits()); in BluetoothLeCall() 216 mUuid = ((ParcelUuid) in.readParcelable(null)).getUuid(); in BluetoothLeCall() 232 public @NonNull UUID getUuid() { in getUuid() method in BluetoothLeCall
|
D | BluetoothLeCallControl.java | 315 mExecutor.execute(() -> mCallback.onAcceptCall(requestId, uuid.getUuid())); in onAcceptCall() 325 mExecutor.execute(() -> mCallback.onTerminateCall(requestId, uuid.getUuid())); in onTerminateCall() 335 mExecutor.execute(() -> mCallback.onHoldCall(requestId, uuid.getUuid())); in onHoldCall() 345 mExecutor.execute(() -> mCallback.onUnholdCall(requestId, uuid.getUuid())); in onUnholdCall() 355 mExecutor.execute(() -> mCallback.onPlaceCall(requestId, uuid.getUuid(), uri)); in onPlaceCall() 365 uuids.add(parcelUuid.getUuid()); in onJoinCalls()
|
D | BluetoothGattCharacteristic.java | 328 mUuid = ((ParcelUuid) in.readParcelable(null)).getUuid(); in BluetoothGattCharacteristic() 375 if (descriptor.getUuid().equals(uuid) in getDescriptor() 407 public UUID getUuid() { in getUuid() method in BluetoothGattCharacteristic 503 if (descriptor.getUuid().equals(uuid)) { in getDescriptor()
|
D | BluetoothGattIncludedService.java | 79 mUuid = ((ParcelUuid) in.readParcelable(null)).getUuid(); in BluetoothGattIncludedService() 89 public UUID getUuid() { in getUuid() method in BluetoothGattIncludedService
|
D | BluetoothGattServer.java | 127 + " uuid=" + service.getUuid() + " status=" + status); 560 && svc.getUuid().equals(uuid)) { in getService() 839 if (DBG) Log.d(TAG, "addService() - service: " + service.getUuid()); in addService() 866 if (DBG) Log.d(TAG, "removeService() - service: " + service.getUuid()); in removeService() 869 BluetoothGattService intService = getService(service.getUuid(), in removeService() 935 if (service.getUuid().equals(uuid)) { in getService()
|
D | BluetoothGattDescriptor.java | 190 mUuid = ((ParcelUuid) in.readParcelable(null)).getUuid(); in BluetoothGattDescriptor() 219 public UUID getUuid() { in getUuid() method in BluetoothGattDescriptor
|
/packages/modules/Bluetooth/android/pandora/server/src/com/android/pandora/ |
D | GattInstance.kt | 110 characteristic.getUuid() == gattInstanceValueRead.uuid && in onCharacteristicRead() 129 descriptor.getUuid() == gattInstanceValueRead.uuid && in onDescriptorRead() 233 characteristic.getUuid(), in readCharacteristicBlocking() 256 characteristic.getUuid() == uuid && in readCharacteristicUuidBlocking() 301 descriptor.getUuid(), in readDescriptorBlocking() 319 characteristic.getUuid(), in writeCharacteristicBlocking() 340 descriptor.getUuid(), in writeDescriptorBlocking()
|
/packages/services/Car/service/src/com/android/car/bluetooth/ |
D | FastPairGattServer.java | 114 FAST_PAIR_SERVICE_UUID.getUuid(), BluetoothGattService.SERVICE_TYPE_PRIMARY); 242 Slogf.d(TAG, "onWrite, uuid=%s, length=%d", characteristic.getUuid(), 268 Slogf.d(TAG, "onWritePasskey %s", characteristic.getUuid()); 282 Slogf.w(TAG, "onWriteOther %s", characteristic.getUuid()); 398 mModelIdCharacteristic = new BluetoothGattCharacteristic(FAST_PAIR_MODEL_ID_UUID.getUuid(), in setup() 405 new BluetoothGattCharacteristic(KEY_BASED_PAIRING_UUID.getUuid(), in setup() 411 CLIENT_CHARACTERISTIC_CONFIG.getUuid(), in setup() 417 new BluetoothGattCharacteristic(PASSKEY_UUID.getUuid(), in setup() 423 CLIENT_CHARACTERISTIC_CONFIG.getUuid(), in setup() 430 new BluetoothGattCharacteristic(ACCOUNT_KEY_UUID.getUuid(), in setup() [all …]
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/gatt/ |
D | ScanFilterQueue.java | 205 addUuid(filter.getServiceUuid().getUuid()); in addScanFilter() 207 addUuid(filter.getServiceUuid().getUuid(), filter.getServiceUuidMask().getUuid()); in addScanFilter() 212 addSolicitUuid(filter.getServiceSolicitationUuid().getUuid()); in addScanFilter() 214 addSolicitUuid(filter.getServiceSolicitationUuid().getUuid(), in addScanFilter() 215 filter.getServiceSolicitationUuidMask().getUuid()); in addScanFilter()
|
/packages/modules/Connectivity/nearby/tests/multidevices/clients/test_support/fastpair_provider/src/android/nearby/fastpair/provider/bluetooth/ |
D | BluetoothGattUtils.java | 72 characteristic.getUuid(), in clone() 106 descriptor.getUuid(), in toString() 116 characteristic.getUuid(), in toString() 125 return String.format("service %s", service.getUuid()); in toString()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/tbs/ |
D | TbsGattTest.java | 172 if (characteristic.getUuid().equals(TbsGatt.UUID_BEARER_PROVIDER_NAME)) { in verifySetValue() 181 } else if (characteristic.getUuid().equals(TbsGatt.UUID_BEARER_TECHNOLOGY)) { in verifySetValue() 192 } else if (characteristic.getUuid() in verifySetValue() 203 } else if (characteristic.getUuid().equals(TbsGatt.UUID_STATUS_FLAGS)) { in verifySetValue() 237 } else if (characteristic.getUuid().equals(TbsGatt.UUID_CALL_STATE)) { in verifySetValue() 244 } else if (characteristic.getUuid().equals(TbsGatt.UUID_BEARER_LIST_CURRENT_CALLS)) { in verifySetValue() 251 } else if (characteristic.getUuid().equals(TbsGatt.UUID_TERMINATION_REASON)) { in verifySetValue() 261 } else if (characteristic.getUuid().equals(TbsGatt.UUID_INCOMING_CALL)) { in verifySetValue() 275 } else if (characteristic.getUuid().equals(TbsGatt.UUID_CALL_FRIENDLY_NAME)) { in verifySetValue()
|
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/common/bluetooth/gatt/ |
D | BluetoothGattConnectionTest.java | 148 when(mMockBluetoothGattService.getUuid()).thenReturn(SERVICE_UUID); in setUp() 151 when(mMockBluetoothGattCharacteristic.getUuid()).thenReturn(CHARACTERISTIC_UUID); in setUp() 165 when(mMockBluetoothGattDescriptor.getUuid()).thenReturn(DESCRIPTOR_UUID); in setUp() 305 when(mMockBluetoothGattService2.getUuid()).thenReturn(SERVICE_UUID); in test_getCharacteristic_moreThanOneService() 308 when(mMockBluetoothGattCharacteristic2.getUuid()) in test_getCharacteristic_moreThanOneService() 528 assertThat(writtenCharacteristic.getUuid()).isEqualTo(CHARACTERISTIC_UUID); in test_writeCharacteristic() 543 assertThat(writtenCharacteristic.getUuid()).isEqualTo(CHARACTERISTIC_UUID); in test_writeCharacteristic_by_uuid() 595 assertThat(writtenDescriptor.getUuid()).isEqualTo(DESCRIPTOR_UUID); in test_writeDescriptor() 610 assertThat(writtenDescriptor.getUuid()).isEqualTo(DESCRIPTOR_UUID); in test_writeDescriptor_by_uuid() 652 assertThat(writtenDescriptor.getUuid()) in testSetNotificationEnabled_indication_enable() [all …]
|
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/common/bluetooth/util/ |
D | BluetoothGattUtils.java | 69 descriptor.getUuid(), in toString() 79 characteristic.getUuid(), in toString() 88 return String.format("service %s", service.getUuid()); in toString()
|
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/common/ble/ |
D | BleFilter.java | 332 long uuid1MostSig = uuidMask1.getUuid().getMostSignificantBits(); in serviceUuidIsSuperset() 333 long uuid1LeastSig = uuidMask1.getUuid().getLeastSignificantBits(); in serviceUuidIsSuperset() 334 long uuid2MostSig = uuidMask2.getUuid().getMostSignificantBits(); in serviceUuidIsSuperset() 335 long uuid2LeastSig = uuidMask2.getUuid().getLeastSignificantBits(); in serviceUuidIsSuperset() 392 UUID uuidMask = parcelUuidMask == null ? null : parcelUuidMask.getUuid(); in matchesServiceUuids() 394 if (matchesServiceUuid(uuid.getUuid(), uuidMask, parcelUuid.getUuid())) { in matchesServiceUuids()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/sdp/ |
D | SdpManager.java | 127 public ParcelUuid getUuid() { in getUuid() method in SdpManager.SdpSearchInstance 189 if (inst.getDevice().getAddress().equals(addressString) && inst.getUuid() in getSearchInstance() 200 if (inst.getDevice().getAddress().equals(addressString) && inst.getUuid() in isSearching() 460 Log.d(TAG, "Starting search for UUID: " + inst.getUuid()); in startSearch() 467 Utils.uuidToByteArray(inst.getUuid())); in startSearch() 488 intent.putExtra(BluetoothDevice.EXTRA_UUID, inst.getUuid()); in sendSdpIntent() 510 Log.w(TAG, "Search timedout for UUID " + msgObj.getUuid());
|
/packages/modules/Connectivity/nearby/tests/robotests/src/com/android/libraries/testing/deviceshadower/internal/bluetooth/ |
D | IBluetoothGattImpl.java | 157 service.getUuid()); in discoverServices() 164 service.getUuid(), in discoverServices() 166 characteristic.getUuid(), in discoverServices() 173 service.getUuid(), in discoverServices() 175 characteristic.getUuid(), in discoverServices() 177 descriptor.getUuid()); in discoverServices() 518 mCurrentService.getUuid()); in endServiceDeclaration()
|
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/common/ble/ |
D | BleFilterTest.java | 424 bb.putLong(uuid.getUuid().getMostSignificantBits()); in uuidToByteArray() 425 bb.putLong(uuid.getUuid().getLeastSignificantBits()); in uuidToByteArray() 436 UUID uuidMask = parcelUuidMask == null ? null : parcelUuidMask.getUuid(); in matchesServiceUuids() 437 if (matchesServiceUuid(uuid.getUuid(), uuidMask, parcelUuid.getUuid())) { in matchesServiceUuids()
|
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/common/bluetooth/gatt/ |
D | BluetoothGattConnection.java | 131 if (service.getUuid().equals(uuid)) { in getService() 161 if (service.getUuid().equals(serviceUuid)) { in getCharacteristics() 177 if (characteristic.getUuid().equals(characteristicUuid)) { in getCharacteristic() 209 if (descriptor.getUuid().equals(descriptorUuid)) { in getDescriptor() 451 descriptor.getUuid(), 562 isIndication ? "indication" : "notification", characteristic.getUuid()));
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/le/ |
D | ScanFilter.java | 519 UUID uuidMask = parcelUuidMask == null ? null : parcelUuidMask.getUuid(); in matchesServiceUuids() 520 if (matchesServiceUuid(uuid.getUuid(), uuidMask, parcelUuid.getUuid())) { in matchesServiceUuids() 547 ? null : parcelSolicitationUuidMask.getUuid(); in matchesServiceSolicitationUuids() 548 if (matchesServiceUuid(solicitationUuid.getUuid(), solicitationUuidMask, in matchesServiceSolicitationUuids() 549 parcelSolicitationUuid.getUuid())) { in matchesServiceSolicitationUuids()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/ |
D | FastPairGattServerTest.java | 288 assertThat(mBluetoothGattService.getUuid()).isEqualTo(FAST_PAIR_SERVICE_UUID.getUuid()); in startAndVerifyServer() 291 mBluetoothGattService.getCharacteristic(FAST_PAIR_MODEL_ID_UUID.getUuid()); in startAndVerifyServer() 293 mBluetoothGattService.getCharacteristic(KEY_BASED_PAIRING_UUID.getUuid()); in startAndVerifyServer() 295 mBluetoothGattService.getCharacteristic(PASSKEY_UUID.getUuid()); in startAndVerifyServer() 297 mBluetoothGattService.getCharacteristic(ACCOUNT_KEY_UUID.getUuid()); in startAndVerifyServer() 300 DEVICE_NAME_CHARACTERISTIC_CONFIG.getUuid()); in startAndVerifyServer()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpItemTest.java | 102 Assert.assertEquals(UUID, item.getUuid()); in buildAvrcpItem() 154 Assert.assertEquals(null, item.getUuid()); in buildAvrcpItemFromAvrcpAttributes() 214 Assert.assertEquals(null, item.getUuid()); in buildAvrcpItemFromAvrcpAttributesWithBadIds_badIdsIgnored() 266 Assert.assertEquals(null, item.getUuid()); in buildAvrcpItemFromAvrcpAttributes_imageHandleTooShort() 318 Assert.assertEquals(null, item.getUuid()); in buildAvrcpItemFromAvrcpAttributes_imageHandleEmpty() 370 Assert.assertEquals(null, item.getUuid()); in buildAvrcpItemFromAvrcpAttributes_imageHandleNull() 422 Assert.assertEquals(null, item.getUuid()); in buildAvrcpItemFromAvrcpAttributes_imageHandleNotDigits()
|