/frameworks/base/media/java/android/media/soundtrigger/ |
D | SoundTriggerManager.java | 185 public static Model create(@NonNull UUID modelUuid, @NonNull UUID vendorUuid, in create() argument 188 Objects.requireNonNull(vendorUuid); in create() 189 return new Model(new SoundTrigger.GenericSoundModel(modelUuid, vendorUuid, data, in create() 202 public static Model create(@NonNull UUID modelUuid, @NonNull UUID vendorUuid, in create() argument 204 return create(modelUuid, vendorUuid, data, -1); in create()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | DatabaseHelper.java | 330 UUID vendorUuid = null; in getValidKeyphraseSoundModelForUser() local 332 vendorUuid = UUID.fromString(vendorUuidString); in getValidKeyphraseSoundModelForUser() 335 UUID.fromString(modelUuid), vendorUuid, data, keyphrases, version); in getValidKeyphraseSoundModelForUser() 387 public final String vendorUuid; field in DatabaseHelper.SoundModelRecord 399 vendorUuid = c.getString(c.getColumnIndex(SoundModelContract.KEY_VENDOR_UUID)); in SoundModelRecord() 401 vendorUuid = null; in SoundModelRecord() 451 values.put(SoundModelContract.KEY_VENDOR_UUID, vendorUuid); in writeToDatabase()
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
D | SoundTrigger.java | 466 public SoundModel(@NonNull UUID uuid, @Nullable UUID vendorUuid, @SoundModelType int type, in SoundModel() argument 469 this.mVendorUuid = vendorUuid != null ? vendorUuid : new UUID(0, 0); in SoundModel() 750 @NonNull UUID uuid, @NonNull UUID vendorUuid, @Nullable byte[] data, in KeyphraseSoundModel() argument 752 super(uuid, vendorUuid, TYPE_KEYPHRASE, data, version); in KeyphraseSoundModel() 756 public KeyphraseSoundModel(@NonNull UUID uuid, @NonNull UUID vendorUuid, in KeyphraseSoundModel() argument 758 this(uuid, vendorUuid, data, keyphrases, -1); in KeyphraseSoundModel() 786 UUID vendorUuid = null; in readFromParcel() local 789 vendorUuid = UUID.fromString(in.readString()); in readFromParcel() 794 return new KeyphraseSoundModel(uuid, vendorUuid, data, keyphrases, version); in readFromParcel() 873 public GenericSoundModel(@NonNull UUID uuid, @NonNull UUID vendorUuid, in GenericSoundModel() argument [all …]
|
D | ConversionUtil.java | 111 aidlModel.vendorUuid = api2aidlUuid(apiModel.getVendorUuid()); in api2aidlSoundModel()
|
/frameworks/base/media/java/android/media/soundtrigger_middleware/ |
D | SoundModel.aidl | 33 String vendorUuid;
|
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/ |
D | SoundTriggerTestService.java | 226 public UUID vendorUuid; field in SoundTriggerTestService.ModelInfo 236 return new GenericSoundModel(modelInfo.modelUuid, modelInfo.vendorUuid, in createNewSoundModel() 487 modelInfo.vendorUuid = UUID.fromString(properties.getProperty("vendorUuid")); in createModelInfo() 489 modelInfo.vendorUuid = UUID.randomUUID(); in createModelInfo()
|
/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/ |
D | ValidationUtil.java | 64 validateUuid(model.vendorUuid); in validateModel()
|
D | ConversionUtil.java | 198 hidlModel.header.vendorUuid = aidl2hidlUuid(aidlModel.vendorUuid); in aidl2hidlSoundModel()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/soundtrigger_middleware/ |
D | SoundTriggerMiddlewareImplTest.java | 127 model.vendorUuid = "87654321-5432-6543-7654-456789fedcba"; in createSoundModel() 405 assertEquals(model.vendorUuid, ConversionUtil.hidl2aidlUuid(hidlModel.vendorUuid)); in loadGenericModel_2_0() 458 assertEquals(model.vendorUuid, ConversionUtil.hidl2aidlUuid(hidlModel.header.vendorUuid)); in loadGenericModel_2_1() 524 assertEquals(model.common.vendorUuid, in loadPhraseModel_2_0() 525 ConversionUtil.hidl2aidlUuid(hidlModel.common.vendorUuid)); in loadPhraseModel_2_0() 596 assertEquals(model.common.vendorUuid, in loadPhraseModel_2_1() 597 ConversionUtil.hidl2aidlUuid(hidlModel.common.header.vendorUuid)); in loadPhraseModel_2_1()
|