Home
last modified time | relevance | path

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

12

/frameworks/base/services/voiceinteraction/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()
DISoundTriggerHal.java25 import android.media.soundtrigger.RecognitionConfig;
92 RecognitionConfig config); in startRecognition()
DSoundTriggerHw2Compat.java25 import android.media.soundtrigger.RecognitionConfig;
310 RecognitionConfig config) { in startRecognition()
311 android.hardware.soundtrigger.V2_3.RecognitionConfig hidlConfig = in startRecognition()
486 android.hardware.soundtrigger.V2_3.RecognitionConfig config) { in startRecognition_2_1()
489 android.hardware.soundtrigger.V2_1.ISoundTriggerHw.RecognitionConfig config_2_1 = in startRecognition_2_1()
504 android.hardware.soundtrigger.V2_3.RecognitionConfig config) in startRecognition_2_0()
506 android.hardware.soundtrigger.V2_0.ISoundTriggerHw.RecognitionConfig config_2_0 = in startRecognition_2_0()
DValidationUtil.java25 import android.media.soundtrigger.RecognitionConfig;
84 static void validateRecognitionConfig(@Nullable RecognitionConfig config) { in validateRecognitionConfig()
DSoundTriggerHalMaxModelLimiter.java23 import android.media.soundtrigger.RecognitionConfig;
125 RecognitionConfig config) { in startRecognition()
DSoundTriggerHalWatchdog.java23 import android.media.soundtrigger.RecognitionConfig;
91 RecognitionConfig config) { in startRecognition()
DSoundTriggerInjection.java21 import android.media.soundtrigger.RecognitionConfig;
186 public void onRecognitionStarted(int audioSessionToken, RecognitionConfig config, in onRecognitionStarted()
DSoundTriggerDuplicateModelHandler.java23 import android.media.soundtrigger.RecognitionConfig;
138 int modelHandle, int deviceHandle, int ioHandle, RecognitionConfig config) { in startRecognition()
DConversionUtil.java37 import android.media.soundtrigger.RecognitionConfig;
219 static @NonNull android.hardware.soundtrigger.V2_3.RecognitionConfig aidl2hidlRecognitionConfig( in aidl2hidlRecognitionConfig()
220 @NonNull RecognitionConfig aidlConfig, int deviceHandle, int ioHandle) { in aidl2hidlRecognitionConfig()
221 android.hardware.soundtrigger.V2_3.RecognitionConfig hidlConfig = in aidl2hidlRecognitionConfig()
222 new android.hardware.soundtrigger.V2_3.RecognitionConfig(); in aidl2hidlRecognitionConfig()
DSoundTriggerModule.java24 import android.media.soundtrigger.RecognitionConfig;
315 public IBinder startRecognition(int modelHandle, @NonNull RecognitionConfig config) { in startRecognition()
439 private IBinder startRecognition(@NonNull RecognitionConfig config) { in startRecognition()
DSoundTriggerHw3Compat.java27 import android.media.soundtrigger.RecognitionConfig;
105 RecognitionConfig config) { in startRecognition()
DSoundTriggerMiddlewareService.java30 import android.media.soundtrigger.RecognitionConfig;
180 public IBinder startRecognition(int modelHandle, RecognitionConfig config) in startRecognition()
/frameworks/base/media/aidl/android/media/soundtrigger_middleware/
DISoundTriggerModule.aidl23 import android.media.soundtrigger.RecognitionConfig;
84 IBinder startRecognition(int modelHandle, in RecognitionConfig config); in startRecognition()
DISoundTriggerInjection.aidl19 import android.media.soundtrigger.RecognitionConfig;
134 void onRecognitionStarted(int audioSessionToken, in RecognitionConfig config, in onRecognitionStarted()
/frameworks/base/core/java/android/hardware/soundtrigger/
DConversionUtil.java31 import android.media.soundtrigger.RecognitionConfig;
155 public static RecognitionConfig api2aidlRecognitionConfig( in api2aidlRecognitionConfig()
156 SoundTrigger.RecognitionConfig apiConfig) { in api2aidlRecognitionConfig()
157 RecognitionConfig aidlConfig = new RecognitionConfig(); in api2aidlRecognitionConfig()
171 public static SoundTrigger.RecognitionConfig aidl2apiRecognitionConfig( in aidl2apiRecognitionConfig()
172 RecognitionConfig aidlConfig) { in aidl2apiRecognitionConfig()
179 return new SoundTrigger.RecognitionConfig(aidlConfig.captureRequested, in aidl2apiRecognitionConfig()
DSoundTrigger.aidl29 parcelable SoundTrigger.RecognitionConfig;
DSoundTrigger.java1505 public static final class RecognitionConfig implements Parcelable { class in SoundTrigger
1534 public RecognitionConfig(boolean captureRequested, boolean allowMultipleTriggers, in RecognitionConfig() method in SoundTrigger.RecognitionConfig
1545 public RecognitionConfig(boolean captureRequested, boolean allowMultipleTriggers, in RecognitionConfig() method in SoundTrigger.RecognitionConfig
1551 … public static final @android.annotation.NonNull Parcelable.Creator<RecognitionConfig> CREATOR
1552 = new Parcelable.Creator<RecognitionConfig>() {
1553 public RecognitionConfig createFromParcel(Parcel in) {
1554 return RecognitionConfig.fromParcel(in);
1557 public RecognitionConfig[] newArray(int size) {
1558 return new RecognitionConfig[size];
1562 private static RecognitionConfig fromParcel(Parcel in) { in fromParcel()
[all …]
/frameworks/base/services/core/java/com/android/server/
DSoundTriggerInternal.java28 import android.hardware.soundtrigger.SoundTrigger.RecognitionConfig;
76 IRecognitionStatusCallback listener, RecognitionConfig recognitionConfig, in startRecognition()
/frameworks/base/core/java/com/android/internal/app/
DISoundTriggerSession.aidl41 in SoundTrigger.RecognitionConfig config, boolean runInBatterySaver); in startRecognition()
49 in ComponentName callbackIntent,in SoundTrigger.RecognitionConfig config); in startRecognitionForService()
DIVoiceInteractionSoundTriggerSession.aidl45 in SoundTrigger.RecognitionConfig recognitionConfig, in startRecognition()
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger_middleware/
DSoundHw2CompatTest.java40 import android.media.soundtrigger.RecognitionConfig;
390 ArgumentCaptor<android.hardware.soundtrigger.V2_0.ISoundTriggerHw.RecognitionConfig> in startRecognition_2_0()
392 android.hardware.soundtrigger.V2_0.ISoundTriggerHw.RecognitionConfig.class); in startRecognition_2_0()
399 RecognitionConfig config = TestUtil.createRecognitionConfig(); in startRecognition_2_0()
413 ArgumentCaptor<android.hardware.soundtrigger.V2_1.ISoundTriggerHw.RecognitionConfig> in startRecognition_2_1()
415 android.hardware.soundtrigger.V2_1.ISoundTriggerHw.RecognitionConfig.class); in startRecognition_2_1()
422 RecognitionConfig config = TestUtil.createRecognitionConfig(); in startRecognition_2_1()
434 ArgumentCaptor<android.hardware.soundtrigger.V2_3.RecognitionConfig> configCaptor = in startRecognition_2_3()
435 ArgumentCaptor.forClass(android.hardware.soundtrigger.V2_3.RecognitionConfig.class); in startRecognition_2_3()
439 RecognitionConfig config = TestUtil.createRecognitionConfig(); in startRecognition_2_3()
DTestUtil.java40 import android.media.soundtrigger.RecognitionConfig;
255 static RecognitionConfig createRecognitionConfig() { in createRecognitionConfig()
256 RecognitionConfig config = new RecognitionConfig(); in createRecognitionConfig()
272 android.hardware.soundtrigger.V2_0.ISoundTriggerHw.RecognitionConfig config, in validateRecognitionConfig_2_0()
291 android.hardware.soundtrigger.V2_1.ISoundTriggerHw.RecognitionConfig config, in validateRecognitionConfig_2_1()
311 android.hardware.soundtrigger.V2_3.RecognitionConfig config, int captureDevice, in validateRecognitionConfig_2_3()
/frameworks/base/media/java/android/media/soundtrigger/
DSoundTriggerInstrumentation.java331 public @NonNull SoundTrigger.RecognitionConfig getRecognitionConfig() { in getRecognitionConfig()
418 RecognitionConfig recognitionConfig, in RecognitionSession()
437 private final SoundTrigger.RecognitionConfig mRecognitionConfig;
480 public void onRecognitionStarted(int audioSessionHandle, RecognitionConfig config, in onRecognitionStarted()
DSoundTriggerDetector.java30 import android.hardware.soundtrigger.SoundTrigger.RecognitionConfig;
327 mRecognitionCallback, new RecognitionConfig(captureTriggerAudio, in startRecognition()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerHelper.java36 import android.hardware.soundtrigger.SoundTrigger.RecognitionConfig;
153 IRecognitionStatusCallback callback, RecognitionConfig recognitionConfig, in startGenericRecognition()
186 IRecognitionStatusCallback callback, RecognitionConfig recognitionConfig, in startKeyphraseRecognition()
276 IRecognitionStatusCallback callback, RecognitionConfig recognitionConfig, in startRecognition()
838 RecognitionConfig config = model.getRecognitionConfig(); in onGenericRecognitionLocked()
964 RecognitionConfig config = modelData.getRecognitionConfig(); in onKeyphraseRecognitionLocked()
1222 RecognitionConfig config = modelData.getRecognitionConfig(); in startRecognitionLocked()
1385 private RecognitionConfig mRecognitionConfig = null;
1482 synchronized void setRecognitionConfig(RecognitionConfig config) { in setRecognitionConfig()
1502 synchronized RecognitionConfig getRecognitionConfig() { in getRecognitionConfig()

12