Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/soundtrigger_middleware/
DSoundModel.aidl18 import android.media.soundtrigger_middleware.SoundModelType;
27 SoundModelType type;
DRecognitionEvent.aidl20 import android.media.soundtrigger_middleware.SoundModelType;
30 SoundModelType type;
DSoundModelType.aidl23 enum SoundModelType { enum
/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/
DValidationUtil.java28 import android.media.soundtrigger_middleware.SoundModelType;
55 validateModel(model, SoundModelType.GENERIC); in validateGenericModel()
70 validateModel(model.common, SoundModelType.KEYPHRASE); in validatePhraseModel()
DConversionUtil.java40 import android.media.soundtrigger_middleware.SoundModelType;
123 case SoundModelType.GENERIC: in aidl2hidlSoundModelType()
124 return android.hardware.soundtrigger.V2_0.SoundModelType.GENERIC; in aidl2hidlSoundModelType()
125 case SoundModelType.KEYPHRASE: in aidl2hidlSoundModelType()
126 return android.hardware.soundtrigger.V2_0.SoundModelType.KEYPHRASE; in aidl2hidlSoundModelType()
134 case android.hardware.soundtrigger.V2_0.SoundModelType.GENERIC: in hidl2aidlSoundModelType()
135 return SoundModelType.GENERIC; in hidl2aidlSoundModelType()
136 case android.hardware.soundtrigger.V2_0.SoundModelType.KEYPHRASE: in hidl2aidlSoundModelType()
137 return SoundModelType.KEYPHRASE; in hidl2aidlSoundModelType()
DSoundTriggerModule.java33 import android.media.soundtrigger_middleware.SoundModelType;
451 private int mModelType = SoundModelType.UNKNOWN;
572 case SoundModelType.GENERIC: { in notifyAbort()
577 event.type = SoundModelType.GENERIC; in notifyAbort()
582 case SoundModelType.KEYPHRASE: { in notifyAbort()
587 event.common.type = SoundModelType.KEYPHRASE; in notifyAbort()
/frameworks/base/media/
DAndroid.bp45 "java/android/media/soundtrigger_middleware/SoundModelType.aidl",
/frameworks/base/services/tests/servicestests/src/com/android/server/soundtrigger_middleware/
DSoundTriggerMiddlewareImplTest.java55 import android.media.soundtrigger_middleware.SoundModelType;
109 return createSoundModel(SoundModelType.GENERIC); in createGenericSoundModel()
136 model.common = createSoundModel(SoundModelType.KEYPHRASE); in createPhraseSoundModel()
232 halEvent.type = SoundModelType.GENERIC; in createRecognitionEvent_2_0()
264 assertEquals(SoundModelType.GENERIC, event.type); in validateRecognitionEvent()
402 assertEquals(android.hardware.soundtrigger.V2_0.SoundModelType.GENERIC, in loadGenericModel_2_0()
455 assertEquals(android.hardware.soundtrigger.V2_0.SoundModelType.GENERIC, in loadGenericModel_2_1()
521 assertEquals(android.hardware.soundtrigger.V2_0.SoundModelType.KEYPHRASE, in loadPhraseModel_2_0()
593 assertEquals(android.hardware.soundtrigger.V2_0.SoundModelType.KEYPHRASE, in loadPhraseModel_2_1()
/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTrigger.java438 public @interface SoundModelType {} annotation in SoundTrigger.SoundModel
457 @SoundModelType
466 public SoundModel(@NonNull UUID uuid, @Nullable UUID vendorUuid, @SoundModelType int type, in SoundModel()
482 @SoundModelType
/frameworks/base/services/
Dart-profile180 HPLandroid/hardware/soundtrigger/V2_0/SoundModelType;->toString(I)Ljava/lang/String;
40402 Landroid/hardware/soundtrigger/V2_0/SoundModelType;