OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:recognitionflags
(Results
1 - 2
of
2
) sorted by null
/frameworks/base/media/java/android/media/soundtrigger/
SoundTriggerDetector.java
77
public @interface
RecognitionFlags
{}
237
public boolean startRecognition(@
RecognitionFlags
int
recognitionFlags
) {
242
(
recognitionFlags
& RECOGNITION_FLAG_CAPTURE_TRIGGER_AUDIO) != 0;
245
(
recognitionFlags
& RECOGNITION_FLAG_ALLOW_MULTIPLE_TRIGGERS) != 0;
/frameworks/base/core/java/android/service/voice/
AlwaysOnHotwordDetector.java
125
public @interface
RecognitionFlags
{}
394
* @param
recognitionFlags
The flags to control the recognition properties.
403
public boolean startRecognition(@
RecognitionFlags
int
recognitionFlags
) {
404
if (DBG) Slog.d(TAG, "startRecognition(" +
recognitionFlags
+ ")");
416
return startRecognitionLocked(
recognitionFlags
) == STATUS_OK;
566
private int startRecognitionLocked(int
recognitionFlags
) {
572
(
recognitionFlags
&RECOGNITION_FLAG_CAPTURE_TRIGGER_AUDIO) != 0;
574
(
recognitionFlags
&RECOGNITION_FLAG_ALLOW_MULTIPLE_TRIGGERS) != 0;
Completed in 165 milliseconds