Home
last modified time | relevance | path

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

/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DDatabaseHelper.java314 UUID vendorUuid = null; in getValidKeyphraseSoundModelForUser() local
316 vendorUuid = UUID.fromString(vendorUuidString); in getValidKeyphraseSoundModelForUser()
319 UUID.fromString(modelUuid), vendorUuid, data, keyphrases, version); in getValidKeyphraseSoundModelForUser()
371 public final String vendorUuid; field in DatabaseHelper.SoundModelRecord
383 vendorUuid = c.getString(c.getColumnIndex(SoundModelContract.KEY_VENDOR_UUID)); in SoundModelRecord()
385 vendorUuid = null; in SoundModelRecord()
435 values.put(SoundModelContract.KEY_VENDOR_UUID, vendorUuid); in writeToDatabase()
/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTrigger.java486 public SoundModel(@NonNull UUID uuid, @Nullable UUID vendorUuid, @SoundModelType int type, in SoundModel() argument
489 this.mVendorUuid = vendorUuid != null ? vendorUuid : new UUID(0, 0); in SoundModel()
770 @NonNull UUID uuid, @NonNull UUID vendorUuid, @Nullable byte[] data, in KeyphraseSoundModel() argument
772 super(uuid, vendorUuid, TYPE_KEYPHRASE, data, version); in KeyphraseSoundModel()
776 public KeyphraseSoundModel(@NonNull UUID uuid, @NonNull UUID vendorUuid, in KeyphraseSoundModel() argument
778 this(uuid, vendorUuid, data, keyphrases, -1); in KeyphraseSoundModel()
806 UUID vendorUuid = null; in readFromParcel() local
809 vendorUuid = UUID.fromString(in.readString()); in readFromParcel()
814 return new KeyphraseSoundModel(uuid, vendorUuid, data, keyphrases, version); in readFromParcel()
893 public GenericSoundModel(@NonNull UUID uuid, @NonNull UUID vendorUuid, in GenericSoundModel() argument
[all …]
DConversionUtil.java115 aidlModel.vendorUuid = api2aidlUuid(apiModel.getVendorUuid()); in api2aidlSoundModel()
/frameworks/base/media/java/android/media/soundtrigger/
DSoundTriggerManager.java342 public static Model create(@NonNull UUID modelUuid, @NonNull UUID vendorUuid, in create() argument
345 Objects.requireNonNull(vendorUuid); in create()
346 return new Model(new SoundTrigger.GenericSoundModel(modelUuid, vendorUuid, data, in create()
359 public static Model create(@NonNull UUID modelUuid, @NonNull UUID vendorUuid, in create() argument
361 return create(modelUuid, vendorUuid, data, -1); in create()
DSoundTriggerInstrumentation.java264 UUID.fromString(model.vendorUuid), in ModelSession()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DValidationUtil.java61 validateUuid(model.vendorUuid); in validateModel()
DConversionUtil.java203 hidlModel.header.vendorUuid = aidl2hidlUuid(aidlModel.vendorUuid); in aidl2hidlSoundModel()
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
DSoundTriggerTestService.java233 public UUID vendorUuid; field in SoundTriggerTestService.ModelInfo
243 return SoundTriggerManager.Model.create(modelInfo.modelUuid, modelInfo.vendorUuid, in createNewSoundModel()
505 modelInfo.vendorUuid = UUID.fromString(properties.getProperty("vendorUuid")); in createModelInfo()
507 modelInfo.vendorUuid = UUID.randomUUID(); in createModelInfo()
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger_middleware/
DSoundTriggerDuplicateModelHandlerTest.java288 model.vendorUuid = "87654321-5432-6543-7654-456789fedcba"; in createSoundModelOne()
300 model.vendorUuid = "12345678-9876-5432-1012-345678901234"; in createSoundModelTwo()
DTestUtil.java69 model.vendorUuid = "87654321-5432-6543-7654-456789fedcba"; in createSoundModel()
81 ConversionUtil.hidl2aidlUuid(model.header.vendorUuid)); in validateSoundModel_2_1()
105 ConversionUtil.hidl2aidlUuid(model.vendorUuid)); in validateSoundModel_2_0()