Home
last modified time | relevance | path

Searched refs:getUuid (Results 1 – 25 of 67) sorted by relevance

123

/aosp12/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/stubhal/
H A DGenericSoundModelTest.java98 loadedModelUuids.add(model.getUuid()); in testUpdateGenericSoundModel()
112 loadedModelUuids.add(model.getUuid()); in testDeleteGenericSoundModel()
116 loadedModelUuids.remove(model.getUuid()); in testDeleteGenericSoundModel()
136 loadedModelUuids.add(model.getUuid()); in testStartStopGenericSoundModel()
160 loadedModelUuids.add(model.getUuid()); in testTriggerGenericSoundModel()
166 out.writeBytes("trig " + model.getUuid().toString() + "\r\n"); in testTriggerGenericSoundModel()
229 loadedModelUuids.add(modelInfo.model.getUuid()); in testFuzzGenericSoundModel()
234 modelInfo.model.getUuid()), in testFuzzGenericSoundModel()
253 modelInfo.model.getUuid()), in testFuzzGenericSoundModel()
261 loadedModelUuids.remove(modelInfo.model.getUuid()); in testFuzzGenericSoundModel()
[all …]
/aosp12/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
H A DSoundTriggerService.java348 mSoundModelStatTracker.onStop(parcelUuid.getUuid());
366 soundModelId.getUuid());
401 mSoundModelStatTracker.onStop(soundModelId.getUuid());
424 + soundModel.getUuid()));
434 mCallbacks.remove(soundModel.getUuid());
470 + soundModel.getUuid()));
481 mCallbacks.remove(soundModel.getUuid());
608 soundModel.getUuid(), callback);
628 mCallbacks.remove(soundModelId.getUuid());
683 mLoadedModels.remove(soundModelId.getUuid());
[all …]
H A DSoundTriggerDbHelper.java89 values.put(GenericSoundModelContract.KEY_MODEL_UUID, soundModel.getUuid().toString()); in updateGenericSoundModel()
144 + "='" + soundModel.getUuid().toString() + "'"; in deleteGenericSoundModel()
/aosp12/frameworks/base/core/java/android/bluetooth/
H A DBluetoothUuid.java239 UUID uuid = parcelUuid.getUuid(); in getServiceIdentifierFromParcelUuid()
287 long msb = BASE_UUID.getUuid().getMostSignificantBits() + (shortUuid << 32); in parseUuidFrom()
288 long lsb = BASE_UUID.getUuid().getLeastSignificantBits(); in parseUuidFrom()
326 long msb = uuid.getUuid().getMostSignificantBits(); in uuidToBytes()
327 long lsb = uuid.getUuid().getLeastSignificantBits(); in uuidToBytes()
346 UUID uuid = parcelUuid.getUuid(); in is16BitUuid()
347 if (uuid.getLeastSignificantBits() != BASE_UUID.getUuid().getLeastSignificantBits()) { in is16BitUuid()
364 UUID uuid = parcelUuid.getUuid(); in is32BitUuid()
365 if (uuid.getLeastSignificantBits() != BASE_UUID.getUuid().getLeastSignificantBits()) { in is32BitUuid()
H A DBluetoothGattService.java165 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()
H A DBluetoothGattIncludedService.java79 mUuid = ((ParcelUuid) in.readParcelable(null)).getUuid(); in BluetoothGattIncludedService()
89 public UUID getUuid() { in getUuid() method in BluetoothGattIncludedService
H A DBluetoothGattDescriptor.java190 mUuid = ((ParcelUuid) in.readParcelable(null)).getUuid(); in BluetoothGattDescriptor()
219 public UUID getUuid() { in getUuid() method in BluetoothGattDescriptor
H A DBluetoothGattCharacteristic.java316 mUuid = ((ParcelUuid) in.readParcelable(null)).getUuid(); in BluetoothGattCharacteristic()
363 if (descriptor.getUuid().equals(uuid) in getDescriptor()
395 public UUID getUuid() { in getUuid() method in BluetoothGattCharacteristic
491 if (descriptor.getUuid().equals(uuid)) { in getDescriptor()
H A DBluetoothGattServer.java118 + " uuid=" + service.getUuid() + " status=" + status);
547 && svc.getUuid().equals(uuid)) { in getService()
761 if (DBG) Log.d(TAG, "addService() - service: " + service.getUuid()); in addService()
786 if (DBG) Log.d(TAG, "removeService() - service: " + service.getUuid()); in removeService()
789 BluetoothGattService intService = getService(service.getUuid(), in removeService()
851 if (service.getUuid().equals(uuid)) { in getService()
H A DBluetoothGatt.java333 brokenRef.getUuid(), brokenRef.getInstanceId());
773 && svc.getUuid().equals(uuid)) { in getService()
1148 if (service.getDevice().equals(mDevice) && service.getUuid().equals(uuid)) { in getService()
1174 if (VDBG) Log.d(TAG, "readCharacteristic() - uuid: " + characteristic.getUuid()); in readCharacteristic()
1257 if (VDBG) Log.d(TAG, "writeCharacteristic() - uuid: " + characteristic.getUuid()); in writeCharacteristic()
1298 if (VDBG) Log.d(TAG, "readDescriptor() - uuid: " + descriptor.getUuid()); in readDescriptor()
1340 if (VDBG) Log.d(TAG, "writeDescriptor() - uuid: " + descriptor.getUuid()); in writeDescriptor()
1486 Log.d(TAG, "setCharacteristicNotification() - uuid: " + characteristic.getUuid() in setCharacteristicNotification()
/aosp12/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/
H A DSoundTriggerTest.java118 assertEquals(ksm.getUuid(), unparceled.getUuid()); in testKeyphraseSoundModelParcelUnparcel_noData()
143 assertEquals(ksm.getUuid(), unparceled.getUuid()); in testKeyphraseSoundModelParcelUnparcel_zeroData()
165 assertEquals(ksm.getUuid(), unparceled.getUuid()); in testKeyphraseSoundModelParcelUnparcel_noKeyphrases()
187 assertEquals(ksm.getUuid(), unparceled.getUuid()); in testKeyphraseSoundModelParcelUnparcel_zeroKeyphrases()
214 assertEquals(ksm.getUuid(), unparceled.getUuid()); in testKeyphraseSoundModelParcelUnparcel_largeData()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
H A DScanFilterQueue.java193 addUuid(filter.getServiceUuid().getUuid()); in addScanFilter()
195 addUuid(filter.getServiceUuid().getUuid(), filter.getServiceUuidMask().getUuid()); in addScanFilter()
200 addSolicitUuid(filter.getServiceSolicitationUuid().getUuid()); in addScanFilter()
202 addSolicitUuid(filter.getServiceSolicitationUuid().getUuid(), in addScanFilter()
203 filter.getServiceSolicitationUuidMask().getUuid()); in addScanFilter()
/aosp12/packages/services/Car/service/src/com/android/car/
H A DFastPairGattServer.java103 FAST_PAIR_SERVICE_UUID.getUuid(), BluetoothGattService.SERVICE_TYPE_PRIMARY);
191 Log.d(TAG, "onWrite uuid()" + characteristic.getUuid() + "Length" + value.length);
219 Log.d(TAG, "onWritePasskey" + characteristic.getUuid());
227 Log.w(TAG, "onWriteOther" + characteristic.getUuid());
582 mModelIdCharacteristic = new BluetoothGattCharacteristic(FAST_PAIR_MODEL_ID_UUID.getUuid(), in setup()
589 new BluetoothGattCharacteristic(KEY_BASED_PAIRING_UUID.getUuid(), in setup()
595 CLIENT_CHARACTERISTIC_CONFIG.getUuid(), in setup()
601 new BluetoothGattCharacteristic(PASSKEY_UUID.getUuid(), in setup()
607 CLIENT_CHARACTERISTIC_CONFIG.getUuid(), in setup()
614 new BluetoothGattCharacteristic(ACCOUNT_KEY_UUID.getUuid(), in setup()
[all …]
/aosp12/frameworks/base/media/java/android/media/soundtrigger/
H A DSoundTriggerDetectionService.java220 UUID uuid = puuid.getUuid(); in onBind()
232 UUID uuid = puuid.getUuid(); in onBind()
246 UUID uuid = puuid.getUuid(); in onBind()
260 UUID uuid = puuid.getUuid(); in onBind()
273 UUID uuid = puuid.getUuid(); in onBind()
/aosp12/frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/
H A DTestEnrollmentActivity.java94 Toast.makeText(this, "Successfully un-enrolled, model UUID=" + soundModel.getUuid(), in onUnEnrollButtonClicked()
115 KeyphraseSoundModel updated = new KeyphraseSoundModel(soundModel.getUuid(), in onReEnrollButtonClicked()
119 Toast.makeText(this, "Successfully re-enrolled, model UUID=" + updated.getUuid(), in onReEnrollButtonClicked()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/sdp/
H A DSdpManager.java127 public ParcelUuid getUuid() { in getUuid() method in SdpManager.SdpSearchInstance
188 if (inst.getDevice().getAddress().equals(addressString) && inst.getUuid() in getSearchInstance()
199 if (inst.getDevice().getAddress().equals(addressString) && inst.getUuid() in isSearching()
461 Log.d(TAG, "Starting search for UUID: " + inst.getUuid()); in startSearch()
468 Utils.uuidToByteArray(inst.getUuid())); in startSearch()
489 intent.putExtra(BluetoothDevice.EXTRA_UUID, inst.getUuid()); in sendSdpIntent()
511 Log.w(TAG, "Search timedout for UUID " + msgObj.getUuid());
/aosp12/frameworks/base/core/java/android/bluetooth/le/
H A DScanFilter.java441 UUID uuidMask = parcelUuidMask == null ? null : parcelUuidMask.getUuid(); in matchesServiceUuids()
442 if (matchesServiceUuid(uuid.getUuid(), uuidMask, parcelUuid.getUuid())) { in matchesServiceUuids()
469 ? null : parcelSolicitationUuidMask.getUuid(); in matchesServiceSolicitationUuids()
470 if (matchesServiceUuid(solicitationUuid.getUuid(), solicitationUuidMask, in matchesServiceSolicitationUuids()
471 parcelSolicitationUuid.getUuid())) { in matchesServiceSolicitationUuids()
/aosp12/frameworks/base/core/java/android/hardware/soundtrigger/
H A DSoundTrigger.java195 public UUID getUuid() { in getUuid() method in SoundTrigger.ModuleProperties
309 dest.writeString(getUuid().toString()); in writeToParcel()
418 + ", description=" + getDescription() + ", uuid=" + getUuid() in toString()
485 public UUID getUuid() { in getUuid() method in SoundTrigger.SoundModel
519 result = prime * result + ((getUuid() == null) ? 0 : getUuid().hashCode()); in hashCode()
539 if (getUuid() == null) { in equals()
540 if (other.getUuid() != null) { in equals()
543 } else if (!getUuid().equals(other.getUuid())) { in equals()
813 dest.writeString(getUuid().toString()); in writeToParcel()
828 + ", uuid=" + getUuid() + ", vendorUuid=" + getVendorUuid() in toString()
[all …]
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/
H A DAvrcpItemTest.java102 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()
/aosp12/hardware/libhardware/modules/sensors/dynamic_sensor/
H A DBaseSensorObject.cpp37 void BaseSensorObject::getUuid(uint8_t* uuid) const { in getUuid() function in android::SensorHalExt::BaseSensorObject
H A DBaseSensorObject.h44 virtual void getUuid(uint8_t* uuid) const; in REF_BASE()
H A DDummyDynamicAccelDaemon.h47 virtual void getUuid(uint8_t* uuid) const;
/aosp12/frameworks/base/core/java/android/os/
H A DParcelUuid.java63 public UUID getUuid() { in getUuid() method in ParcelUuid
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
H A DAvrcpItem.java109 public String getUuid() { in getUuid() method in AvrcpItem
260 return Objects.equals(mUuid, other.getUuid()) in equals()
/aosp12/frameworks/native/libs/sensor/include/sensor/
H A DSensor.h103 const uuid_t& getUuid() const;

123