Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/companiontests/src/android/companion/
DBluetoothDeviceFilterUtilsTest.java43 mNonMatchingDeviceUuid.getUuid(), in testUuidsMaskedEquals()
44 mServiceUuid.getUuid(), in testUuidsMaskedEquals()
45 mMaskUuid.getUuid())); in testUuidsMaskedEquals()
48 mMatchingDeviceUuid.getUuid(), in testUuidsMaskedEquals()
49 mServiceUuid.getUuid(), in testUuidsMaskedEquals()
50 mMaskUuid.getUuid())); in testUuidsMaskedEquals()
53 mNonMatchingDeviceUuid.getUuid(), in testUuidsMaskedEquals()
54 mServiceUuid.getUuid(), in testUuidsMaskedEquals()
55 mMatchingMaskUuid.getUuid())); in testUuidsMaskedEquals()
/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/stubhal/
DGenericSoundModelTest.java98 loadedModelUuids.add(model.getUuid()); in testUpdateGenericSoundModel()
102 soundTriggerService.getSoundModel(new ParcelUuid(model.getUuid())); in testUpdateGenericSoundModel()
112 loadedModelUuids.add(model.getUuid()); in testDeleteGenericSoundModel()
115 soundTriggerService.deleteSoundModel(new ParcelUuid(model.getUuid())); in testDeleteGenericSoundModel()
116 loadedModelUuids.remove(model.getUuid()); in testDeleteGenericSoundModel()
120 soundTriggerService.getSoundModel(new ParcelUuid(model.getUuid())); in testDeleteGenericSoundModel()
136 loadedModelUuids.add(model.getUuid()); in testStartStopGenericSoundModel()
137 int r = soundTriggerService.startRecognition(new ParcelUuid(model.getUuid()), spyCallback, in testStartStopGenericSoundModel()
143 r = soundTriggerService.stopRecognition(new ParcelUuid(model.getUuid()), spyCallback); in testStartStopGenericSoundModel()
160 loadedModelUuids.add(model.getUuid()); in testTriggerGenericSoundModel()
[all …]
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerService.java325 int ret = mSoundTriggerHelper.startGenericRecognition(parcelUuid.getUuid(), model,
328 mSoundModelStatTracker.onStart(parcelUuid.getUuid());
345 int ret = mSoundTriggerHelper.stopGenericRecognition(parcelUuid.getUuid(),
348 mSoundModelStatTracker.onStop(parcelUuid.getUuid());
366 soundModelId.getUuid());
398 mSoundTriggerHelper.unloadGenericSoundModel(soundModelId.getUuid());
401 mSoundModelStatTracker.onStop(soundModelId.getUuid());
403 mDbHelper.deleteGenericSoundModel(soundModelId.getUuid());
411 if (soundModel == null || soundModel.getUuid() == null) {
420 Slog.i(TAG, "loadGenericSoundModel(): id = " + soundModel.getUuid());
[all …]
DSoundTriggerDbHelper.java89 values.put(GenericSoundModelContract.KEY_MODEL_UUID, soundModel.getUuid().toString()); in updateGenericSoundModel()
144 + "='" + soundModel.getUuid().toString() + "'"; in deleteGenericSoundModel()
DSoundTriggerHelper.java259 if (model != null && !model.getModelId().equals(soundModel.getUuid())) { in startKeyphraseRecognition()
272 model = createKeyphraseModelDataLocked(soundModel.getUuid(), keyphraseId); in startKeyphraseRecognition()
/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/
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()
/frameworks/base/media/java/android/media/soundtrigger/
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()
DSoundTriggerManager.java237 return mGenericSoundModel.getUuid(); in getModelUuid()
/frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/
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()
DEnrollmentUtil.java162 if (soundModel.getUuid() == null) { in verifyKeyphraseSoundModel()
/frameworks/base/core/java/android/companion/
DBluetoothDeviceFilterUtils.java86 UUID uuidMask = serviceUuidMask == null ? null : serviceUuidMask.getUuid(); in matchesServiceUuid()
87 if (uuidsMaskedEquals(parcelUuid.getUuid(), serviceUuid.getUuid(), uuidMask)) { in matchesServiceUuid()
/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTrigger.java200 public UUID getUuid() { in getUuid() method in SoundTrigger.ModuleProperties
314 dest.writeString(getUuid().toString()); in writeToParcel()
423 + ", description=" + getDescription() + ", uuid=" + getUuid() in toString()
490 public UUID getUuid() { in getUuid() method in SoundTrigger.SoundModel
524 result = prime * result + ((getUuid() == null) ? 0 : getUuid().hashCode()); in hashCode()
544 if (getUuid() == null) { in equals()
545 if (other.getUuid() != null) { in equals()
548 } else if (!getUuid().equals(other.getUuid())) { in equals()
818 dest.writeString(getUuid().toString()); in writeToParcel()
833 + ", uuid=" + getUuid() + ", vendorUuid=" + getVendorUuid() in toString()
[all …]
DConversionUtil.java110 aidlModel.uuid = api2aidlUuid(apiModel.getUuid()); in api2aidlSoundModel()
/frameworks/base/core/java/android/os/
DParcelUuid.java63 public UUID getUuid() { in getUuid() method in ParcelUuid
/frameworks/base/core/java/android/service/tracing/
DTraceReportService.java110 public UUID getUuid() { in getUuid() method in TraceReportService.TraceParams
/frameworks/base/omapi/aidl/vts/functional/config/schema/
Dcurrent.txt12 method public String getUuid();
/frameworks/native/libs/sensor/include/sensor/
DSensor.h99 const uuid_t& getUuid() const;
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DDatabaseHelper.java165 values.put(SoundModelContract.KEY_MODEL_UUID, soundModel.getUuid().toString()); in updateKeyphraseSoundModel()
212 + "='" + soundModel.getUuid().toString() + "'"; in deleteKeyphraseSoundModel()
DVoiceInteractionManagerService.java1577 || soundModel.getUuid() == null in startRecognition()
/frameworks/base/core/java/android/hardware/
DSensor.java1162 public java.util.UUID getUuid() { in getUuid() method in Sensor
/frameworks/base/core/java/android/os/storage/
DStorageVolume.java333 public @Nullable String getUuid() { in getUuid() method in StorageVolume
/frameworks/native/libs/sensor/
DSensor.cpp490 const Sensor::uuid_t& Sensor::getUuid() const { in getUuid() function in android::Sensor
/frameworks/base/services/midi/java/com/android/server/midi/
DMidiService.java665 if (uuid.getUuid().equals(MIDI_SERVICE)) { in isBLEMIDIDevice()
706 UUID uuid = parcel.getUuid(); in dumpUuids()
/frameworks/base/core/jni/
Dandroid_hardware_SensorManager.cpp207 Sensor::uuid_t uuid = nativeSensor.getUuid(); in translateNativeSensorToJavaSensor()
/frameworks/base/services/core/java/com/android/server/audio/
DSpatializerHelper.java1729 final UUID uuid = sensor.getUuid(); in getHeadSensorHandleUpdateTracker()

12