Searched refs:SoundModelType (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/ |
D | AidlUtil.java | 23 import android.media.soundtrigger.SoundModelType; 59 recognitionEvent.type = SoundModelType.GENERIC; in newAbortEvent() 73 recognitionEvent.common.type = SoundModelType.KEYPHRASE; in newAbortPhraseEvent()
|
D | ValidationUtil.java | 28 import android.media.soundtrigger.SoundModelType; 52 validateModel(model, SoundModelType.GENERIC); in validateGenericModel() 69 validateModel(model.common, SoundModelType.KEYPHRASE); in validatePhraseModel()
|
D | ConversionUtil.java | 42 import android.media.soundtrigger.SoundModelType; 128 case SoundModelType.GENERIC: in aidl2hidlSoundModelType() 129 return android.hardware.soundtrigger.V2_0.SoundModelType.GENERIC; in aidl2hidlSoundModelType() 130 case SoundModelType.KEYPHRASE: in aidl2hidlSoundModelType() 131 return android.hardware.soundtrigger.V2_0.SoundModelType.KEYPHRASE; in aidl2hidlSoundModelType() 139 case android.hardware.soundtrigger.V2_0.SoundModelType.GENERIC: in hidl2aidlSoundModelType() 140 return SoundModelType.GENERIC; in hidl2aidlSoundModelType() 141 case android.hardware.soundtrigger.V2_0.SoundModelType.KEYPHRASE: in hidl2aidlSoundModelType() 142 return SoundModelType.KEYPHRASE; in hidl2aidlSoundModelType()
|
D | SoundTriggerHalConcurrentCaptureHandler.java | 26 import android.media.soundtrigger.SoundModelType; 197 mLoadedModels.put(handle, new LoadedModel(SoundModelType.GENERIC, callback)); in loadSoundModel() 205 mLoadedModels.put(handle, new LoadedModel(SoundModelType.KEYPHRASE, callback)); in loadPhraseSoundModel() 403 case SoundModelType.GENERIC: in notifyAbort() 407 case SoundModelType.KEYPHRASE: in notifyAbort()
|
D | FakeSoundTriggerHal.java | 34 import android.media.soundtrigger.SoundModelType; 643 event.type = SoundModelType.GENERIC; in createDefaultEvent() 660 event.type = SoundModelType.KEYPHRASE; in createDefaultKeyphraseEvent()
|
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger_middleware/ |
D | TestUtil.java | 45 import android.media.soundtrigger.SoundModelType; 62 return createSoundModel(SoundModelType.GENERIC); in createGenericSoundModel() 65 private static SoundModel createSoundModel(@SoundModelType int type) { in createSoundModel() 110 validateSoundModel_2_1(model, android.hardware.soundtrigger.V2_0.SoundModelType.GENERIC); in validateGenericSoundModel_2_1() 115 validateSoundModel_2_0(model, android.hardware.soundtrigger.V2_0.SoundModelType.GENERIC); in validateGenericSoundModel_2_0() 120 model.common = createSoundModel(SoundModelType.KEYPHRASE); in createPhraseSoundModel() 134 android.hardware.soundtrigger.V2_0.SoundModelType.KEYPHRASE); in validatePhraseSoundModel_2_1() 150 android.hardware.soundtrigger.V2_0.SoundModelType.KEYPHRASE); in validatePhraseSoundModel_2_0() 324 halEvent.type = SoundModelType.GENERIC; in createRecognitionEvent_2_0() 353 event.type = SoundModelType.GENERIC; in createRecognitionEvent() [all …]
|
D | SoundTriggerDuplicateModelHandlerTest.java | 39 import android.media.soundtrigger.SoundModelType; 286 model.type = SoundModelType.GENERIC; in createSoundModelOne() 298 model.type = SoundModelType.GENERIC; in createSoundModelTwo() 310 model.common.type = SoundModelType.KEYPHRASE; in createPhraseSoundModelOne() 325 model.common.type = SoundModelType.KEYPHRASE; in createPhraseSoundModelTwo()
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
D | SoundTrigger.java | 458 public @interface SoundModelType {} annotation in SoundTrigger.SoundModel 477 @SoundModelType 486 public SoundModel(@NonNull UUID uuid, @Nullable UUID vendorUuid, @SoundModelType int type, in SoundModel() 502 @SoundModelType
|