Searched refs:allowMultipleTriggers (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/stubhal/ |
D | GenericSoundModelTest.java | 129 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/ |
D | SoundTrigger.java | 1382 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/ |
D | SoundTriggerDetector.java | 295 boolean allowMultipleTriggers = in startRecognition() 310 allowMultipleTriggers, null, null, audioCapabilities)); in startRecognition()
|
/frameworks/base/core/java/android/service/voice/ |
D | AlwaysOnHotwordDetector.java | 772 boolean allowMultipleTriggers = in startRecognitionLocked() 787 new RecognitionConfig(captureTriggerAudio, allowMultipleTriggers, in startRecognitionLocked()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/ |
D | SoundTriggerHelper.java | 828 model.setRequested(config.allowMultipleTriggers); in onGenericRecognitionSuccessLocked() 970 modelData.setRequested(config.allowMultipleTriggers); in onKeyphraseRecognitionSuccessLocked()
|
D | SoundTriggerService.java | 1325 if (!mRecognitionConfig.allowMultipleTriggers) { in onGenericSoundTriggerDetected()
|