Home
last modified time | relevance | path

Searched refs:allowMultipleTriggers (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/stubhal/
DGenericSoundModelTest.java129 boolean allowMultipleTriggers = true; in testStartStopGenericSoundModel()
130 RecognitionConfig config = new RecognitionConfig(captureTriggerAudio, allowMultipleTriggers, in testStartStopGenericSoundModel()
153 boolean allowMultipleTriggers = true; in testTriggerGenericSoundModel()
154 RecognitionConfig config = new RecognitionConfig(captureTriggerAudio, allowMultipleTriggers, in testTriggerGenericSoundModel()
211 boolean allowMultipleTriggers = true; in testFuzzGenericSoundModel()
212 RecognitionConfig config = new RecognitionConfig(captureTriggerAudio, allowMultipleTriggers, in testFuzzGenericSoundModel()
/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTrigger.java1382 public final boolean allowMultipleTriggers; field in SoundTrigger.RecognitionConfig
1401 public RecognitionConfig(boolean captureRequested, boolean allowMultipleTriggers, in RecognitionConfig() argument
1405 this.allowMultipleTriggers = allowMultipleTriggers; in RecognitionConfig()
1412 public RecognitionConfig(boolean captureRequested, boolean allowMultipleTriggers, in RecognitionConfig() argument
1414 this(captureRequested, allowMultipleTriggers, keyphrases, data, 0); in RecognitionConfig()
1430 boolean allowMultipleTriggers = in.readByte() == 1; in fromParcel()
1435 return new RecognitionConfig(captureRequested, allowMultipleTriggers, keyphrases, data, in fromParcel()
1442 dest.writeByte((byte) (allowMultipleTriggers ? 1 : 0)); in writeToParcel()
1456 + ", allowMultipleTriggers=" + allowMultipleTriggers + ", keyphrases=" in toString()
/frameworks/base/media/java/android/media/soundtrigger/
DSoundTriggerDetector.java295 boolean allowMultipleTriggers = in startRecognition()
310 allowMultipleTriggers, null, null, audioCapabilities)); in startRecognition()
/frameworks/base/core/java/android/service/voice/
DAlwaysOnHotwordDetector.java772 boolean allowMultipleTriggers = in startRecognitionLocked()
787 new RecognitionConfig(captureTriggerAudio, allowMultipleTriggers, in startRecognitionLocked()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerHelper.java828 model.setRequested(config.allowMultipleTriggers); in onGenericRecognitionSuccessLocked()
970 modelData.setRequested(config.allowMultipleTriggers); in onKeyphraseRecognitionSuccessLocked()
DSoundTriggerService.java1325 if (!mRecognitionConfig.allowMultipleTriggers) { in onGenericSoundTriggerDetected()