Home
last modified time | relevance | path

Searched refs:recognitionFlags (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/service/voice/
DAlwaysOnHotwordDetector.java402 public boolean startRecognition(@RecognitionFlags int recognitionFlags) { in startRecognition() argument
403 if (DBG) Slog.d(TAG, "startRecognition(" + recognitionFlags + ")"); in startRecognition()
415 return startRecognitionLocked(recognitionFlags) == STATUS_OK; in startRecognition()
565 private int startRecognitionLocked(int recognitionFlags) { in startRecognitionLocked() argument
571 (recognitionFlags&RECOGNITION_FLAG_CAPTURE_TRIGGER_AUDIO) != 0; in startRecognitionLocked()
573 (recognitionFlags&RECOGNITION_FLAG_ALLOW_MULTIPLE_TRIGGERS) != 0; in startRecognitionLocked()
/frameworks/base/media/java/android/media/soundtrigger/
DSoundTriggerDetector.java261 public boolean startRecognition(@RecognitionFlags int recognitionFlags) { in startRecognition() argument
266 (recognitionFlags & RECOGNITION_FLAG_CAPTURE_TRIGGER_AUDIO) != 0; in startRecognition()
269 (recognitionFlags & RECOGNITION_FLAG_ALLOW_MULTIPLE_TRIGGERS) != 0; in startRecognition()