Home
last modified time | relevance | path

Searched refs:vendorUuid (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTrigger.java242 public final UUID vendorUuid; field in SoundTrigger.SoundModel
248 public SoundModel(UUID uuid, UUID vendorUuid, int type, byte[] data) { in SoundModel() argument
250 this.vendorUuid = vendorUuid; in SoundModel()
262 result = prime * result + ((vendorUuid == null) ? 0 : vendorUuid.hashCode()); in hashCode()
284 if (vendorUuid == null) { in equals()
285 if (other.vendorUuid != null) in equals()
287 } else if (!vendorUuid.equals(other.vendorUuid)) in equals()
435 UUID uuid, UUID vendorUuid, byte[] data, Keyphrase[] keyphrases) { in KeyphraseSoundModel() argument
436 super(uuid, vendorUuid, TYPE_KEYPHRASE, data); in KeyphraseSoundModel()
453 UUID vendorUuid = null; in fromParcel() local
[all …]
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DDatabaseHelper.java153 if (soundModel.vendorUuid != null) { in updateKeyphraseSoundModel()
154 values.put(SoundModelContract.KEY_VENDOR_UUID, soundModel.vendorUuid.toString()); in updateKeyphraseSoundModel()
280 UUID vendorUuid = null; in getKeyphraseSoundModel() local
282 vendorUuid = UUID.fromString(vendorUuidString); in getKeyphraseSoundModel()
285 UUID.fromString(modelUuid), vendorUuid, data, keyphrases); in getKeyphraseSoundModel()
330 public final String vendorUuid; field in DatabaseHelper.SoundModelRecord
342 vendorUuid = c.getString(c.getColumnIndex(SoundModelContract.KEY_VENDOR_UUID)); in SoundModelRecord()
344 vendorUuid = null; in SoundModelRecord()
394 values.put(SoundModelContract.KEY_VENDOR_UUID, vendorUuid); in writeToDatabase()
/frameworks/base/media/java/android/media/soundtrigger/
DSoundTriggerManager.java168 public static Model create(UUID modelUuid, UUID vendorUuid, byte[] data) { in create() argument
170 vendorUuid, data)); in create()
178 return mGenericSoundModel.vendorUuid; in getVendorUuid()
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
DSoundTriggerTestService.java226 public UUID vendorUuid; field in SoundTriggerTestService.ModelInfo
236 return new GenericSoundModel(modelInfo.modelUuid, modelInfo.vendorUuid, in createNewSoundModel()
482 modelInfo.vendorUuid = UUID.fromString(properties.getProperty("vendorUuid")); in createModelInfo()
484 modelInfo.vendorUuid = UUID.randomUUID(); in createModelInfo()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerDbHelper.java87 values.put(GenericSoundModelContract.KEY_VENDOR_UUID, soundModel.vendorUuid.toString()); in updateGenericSoundModel()
/frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/
DTestEnrollmentActivity.java111 soundModel.vendorUuid, data, soundModel.keyphrases); in onReEnrollButtonClicked()
/frameworks/base/core/jni/
Dandroid_hardware_SoundTrigger.cpp68 jfieldID vendorUuid; member
579 jUuid = env->GetObjectField(jSoundModel, gSoundModelFields.vendorUuid); in android_hardware_SoundTrigger_loadSoundModel()
887 gSoundModelFields.vendorUuid = GetFieldIDOrDie(env, soundModelClass, "vendorUuid", in register_android_hardware_SoundTrigger()
/frameworks/av/services/soundtrigger/
DSoundTriggerHalHidl.cpp556 convertUuidToHal(&halModel->vendorUuid, &soundModel->vendor_uuid); in convertSoundModelToHal()