Home
last modified time | relevance | path

Searched refs:RecognitionConfig (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/
DHw2CompatUtil.java69 …static android.hardware.soundtrigger.V2_1.ISoundTriggerHw.RecognitionConfig convertRecognitionConf… in convertRecognitionConfig_2_3_to_2_1()
70 android.hardware.soundtrigger.V2_3.RecognitionConfig config) { in convertRecognitionConfig_2_3_to_2_1()
74 …static android.hardware.soundtrigger.V2_0.ISoundTriggerHw.RecognitionConfig convertRecognitionConf… in convertRecognitionConfig_2_3_to_2_0()
75 android.hardware.soundtrigger.V2_3.RecognitionConfig config) { in convertRecognitionConfig_2_3_to_2_0()
76 android.hardware.soundtrigger.V2_0.ISoundTriggerHw.RecognitionConfig config_2_0 = in convertRecognitionConfig_2_3_to_2_0()
DValidationUtil.java25 import android.media.soundtrigger_middleware.RecognitionConfig;
85 static void validateRecognitionConfig(@Nullable RecognitionConfig config) { in validateRecognitionConfig()
DSoundTriggerHw2Compat.java220 android.hardware.soundtrigger.V2_3.RecognitionConfig config, in startRecognition()
372 android.hardware.soundtrigger.V2_3.RecognitionConfig config, in startRecognition_2_1()
376 android.hardware.soundtrigger.V2_1.ISoundTriggerHw.RecognitionConfig config_2_1 = in startRecognition_2_1()
391 android.hardware.soundtrigger.V2_3.RecognitionConfig config, in startRecognition_2_0()
394 android.hardware.soundtrigger.V2_0.ISoundTriggerHw.RecognitionConfig config_2_0 = in startRecognition_2_0()
DSoundTriggerMiddlewareService.java27 import android.media.soundtrigger_middleware.RecognitionConfig;
125 public void startRecognition(int modelHandle, RecognitionConfig config) in startRecognition()
DSoundTriggerModule.java29 import android.media.soundtrigger_middleware.RecognitionConfig;
342 public void startRecognition(int modelHandle, @NonNull RecognitionConfig config) { in startRecognition()
500 private void startRecognition(@NonNull RecognitionConfig config, in startRecognition()
507 android.hardware.soundtrigger.V2_3.RecognitionConfig hidlConfig = in startRecognition()
DConversionUtil.java35 import android.media.soundtrigger_middleware.RecognitionConfig;
215 static @NonNull android.hardware.soundtrigger.V2_3.RecognitionConfig aidl2hidlRecognitionConfig( in aidl2hidlRecognitionConfig()
216 @NonNull RecognitionConfig aidlConfig) { in aidl2hidlRecognitionConfig()
217 android.hardware.soundtrigger.V2_3.RecognitionConfig hidlConfig = in aidl2hidlRecognitionConfig()
218 new android.hardware.soundtrigger.V2_3.RecognitionConfig(); in aidl2hidlRecognitionConfig()
DSoundTriggerHw2Enforcer.java23 import android.hardware.soundtrigger.V2_3.RecognitionConfig;
129 public void startRecognition(int modelHandle, RecognitionConfig config, Callback callback, in startRecognition()
DISoundTriggerHw2.java100 android.hardware.soundtrigger.V2_3.RecognitionConfig config, in startRecognition()
DSoundTriggerMiddlewareLogging.java27 import android.media.soundtrigger_middleware.RecognitionConfig;
247 public void startRecognition(int modelHandle, RecognitionConfig config) in startRecognition()
/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/stubhal/
DGenericSoundModelTest.java29 import android.hardware.soundtrigger.SoundTrigger.RecognitionConfig;
130 RecognitionConfig config = new RecognitionConfig(captureTriggerAudio, allowMultipleTriggers, in testStartStopGenericSoundModel()
154 RecognitionConfig config = new RecognitionConfig(captureTriggerAudio, allowMultipleTriggers, in testTriggerGenericSoundModel()
212 RecognitionConfig config = new RecognitionConfig(captureTriggerAudio, allowMultipleTriggers, in testFuzzGenericSoundModel()
/frameworks/base/media/java/android/media/soundtrigger_middleware/
DISoundTriggerModule.aidl22 import android.media.soundtrigger_middleware.RecognitionConfig;
79 void startRecognition(int modelHandle, in RecognitionConfig config); in startRecognition()
DRecognitionConfig.aidl24 parcelable RecognitionConfig {
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerInternal.java27 import android.hardware.soundtrigger.SoundTrigger.RecognitionConfig;
57 IRecognitionStatusCallback listener, RecognitionConfig recognitionConfig); in startRecognition()
DSoundTriggerHelper.java36 import android.hardware.soundtrigger.SoundTrigger.RecognitionConfig;
182 IRecognitionStatusCallback callback, RecognitionConfig recognitionConfig) { in startGenericRecognition()
211 IRecognitionStatusCallback callback, RecognitionConfig recognitionConfig) { in startKeyphraseRecognition()
310 IRecognitionStatusCallback callback, RecognitionConfig recognitionConfig, in startRecognition()
821 RecognitionConfig config = model.getRecognitionConfig(); in onGenericRecognitionSuccessLocked()
967 RecognitionConfig config = modelData.getRecognitionConfig(); in onKeyphraseRecognitionSuccessLocked()
1279 RecognitionConfig config = modelData.getRecognitionConfig(); in startRecognitionLocked()
1434 private RecognitionConfig mRecognitionConfig = null;
1511 synchronized void setRecognitionConfig(RecognitionConfig config) { in setRecognitionConfig()
1523 synchronized RecognitionConfig getRecognitionConfig() { in getRecognitionConfig()
DSoundTriggerService.java51 import android.hardware.soundtrigger.SoundTrigger.RecognitionConfig;
264 RecognitionConfig config) { in startRecognition()
442 ComponentName detectionService, SoundTrigger.RecognitionConfig config) { in startRecognitionForService()
930 private final @NonNull RecognitionConfig mRecognitionConfig;
982 @NonNull RecognitionConfig config) { in RemoteSoundTriggerDetectionService()
1463 IRecognitionStatusCallback listener, RecognitionConfig recognitionConfig) { in startRecognition()
/frameworks/base/core/java/com/android/internal/app/
DISoundTriggerService.aidl40 in SoundTrigger.RecognitionConfig config); in startRecognition()
48 in ComponentName callbackIntent,in SoundTrigger.RecognitionConfig config); in startRecognitionForService()
DIVoiceInteractionManagerService.aidl125 in SoundTrigger.RecognitionConfig recognitionConfig); in startRecognition()
/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTrigger.aidl29 parcelable SoundTrigger.RecognitionConfig;
DConversionUtil.java29 import android.media.soundtrigger_middleware.RecognitionConfig;
142 public static RecognitionConfig api2aidlRecognitionConfig( in api2aidlRecognitionConfig()
143 SoundTrigger.RecognitionConfig apiConfig) { in api2aidlRecognitionConfig()
144 RecognitionConfig aidlConfig = new RecognitionConfig(); in api2aidlRecognitionConfig()
DSoundTrigger.java1373 public static class RecognitionConfig implements Parcelable { class in SoundTrigger
1401 public RecognitionConfig(boolean captureRequested, boolean allowMultipleTriggers, in RecognitionConfig() method in SoundTrigger.RecognitionConfig
1412 public RecognitionConfig(boolean captureRequested, boolean allowMultipleTriggers, in RecognitionConfig() method in SoundTrigger.RecognitionConfig
1417 … public static final @android.annotation.NonNull Parcelable.Creator<RecognitionConfig> CREATOR
1418 = new Parcelable.Creator<RecognitionConfig>() {
1419 public RecognitionConfig createFromParcel(Parcel in) {
1420 return RecognitionConfig.fromParcel(in);
1423 public RecognitionConfig[] newArray(int size) {
1424 return new RecognitionConfig[size];
1428 private static RecognitionConfig fromParcel(Parcel in) { in fromParcel()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/soundtrigger_middleware/
DSoundTriggerMiddlewareImplTest.java50 import android.media.soundtrigger_middleware.RecognitionConfig;
635 ArgumentCaptor<android.hardware.soundtrigger.V2_0.ISoundTriggerHw.RecognitionConfig> in startRecognition_2_0()
637 android.hardware.soundtrigger.V2_0.ISoundTriggerHw.RecognitionConfig.class); in startRecognition_2_0()
642 RecognitionConfig config = createRecognitionConfig(); in startRecognition_2_0()
647 android.hardware.soundtrigger.V2_0.ISoundTriggerHw.RecognitionConfig halConfig = in startRecognition_2_0()
670 ArgumentCaptor<android.hardware.soundtrigger.V2_1.ISoundTriggerHw.RecognitionConfig> in startRecognition_2_1()
672 android.hardware.soundtrigger.V2_1.ISoundTriggerHw.RecognitionConfig.class); in startRecognition_2_1()
677 RecognitionConfig config = createRecognitionConfig(); in startRecognition_2_1()
682 android.hardware.soundtrigger.V2_1.ISoundTriggerHw.RecognitionConfig halConfig = in startRecognition_2_1()
706 ArgumentCaptor<android.hardware.soundtrigger.V2_3.RecognitionConfig> in startRecognition_2_3()
[all …]
/frameworks/base/media/java/android/media/soundtrigger/
DSoundTriggerDetector.java29 import android.hardware.soundtrigger.SoundTrigger.RecognitionConfig;
309 mRecognitionCallback, new RecognitionConfig(captureTriggerAudio, in startRecognition()
DSoundTriggerManager.java34 import android.hardware.soundtrigger.SoundTrigger.RecognitionConfig;
348 @NonNull ComponentName detectionService, @NonNull RecognitionConfig config) { in startRecognition()
/frameworks/base/media/
DAndroid.bp40 "java/android/media/soundtrigger_middleware/RecognitionConfig.aidl",
/frameworks/base/core/java/android/service/voice/
DAlwaysOnHotwordDetector.java33 import android.hardware.soundtrigger.SoundTrigger.RecognitionConfig;
787 new RecognitionConfig(captureTriggerAudio, allowMultipleTriggers, in startRecognitionLocked()

12