Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTrigger.java78 public final int recognitionModes; field in SoundTrigger.ModuleProperties
98 int maxUsers, int recognitionModes, boolean supportsCaptureTransition, in ModuleProperties() argument
109 this.recognitionModes = recognitionModes; in ModuleProperties()
137 int recognitionModes = in.readInt(); in fromParcel() local
144 maxSoundModels, maxKeyphrases, maxUsers, recognitionModes, in fromParcel()
159 dest.writeInt(recognitionModes); in writeToParcel()
177 + maxUsers + ", recognitionModes=" + recognitionModes in toString()
270 public final int recognitionModes; field in SoundTrigger.Keyphrase
282 public Keyphrase(int id, int recognitionModes, String locale, String text, int[] users) { in Keyphrase() argument
284 this.recognitionModes = recognitionModes; in Keyphrase()
[all …]
DKeyphraseEnrollmentInfo.java268 int recognitionModes = array.getInt(com.android.internal.R.styleable in getKeyphraseFromTypedArray() local
270 if (recognitionModes < 0) { in getKeyphraseFromTypedArray()
277 return new KeyphraseMetadata(searchKeyphraseId, searchKeyphrase, locales, recognitionModes); in getKeyphraseFromTypedArray()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DDatabaseHelper.java162 soundModel.keyphrases[0].recognitionModes); in updateKeyphraseSoundModel()
245 int recognitionModes = c.getInt( in getKeyphraseSoundModel() local
279 keyphraseId, recognitionModes, modelLocale, text, users); in getKeyphraseSoundModel()
334 public final int recognitionModes; field in DatabaseHelper.SoundModelRecord
349 recognitionModes = c.getInt(c.getColumnIndex(SoundModelContract.KEY_RECOGNITION_MODES)); in SoundModelRecord()
399 values.put(SoundModelContract.KEY_RECOGNITION_MODES, recognitionModes); in writeToDatabase()
/frameworks/av/services/soundtrigger/
DSoundTriggerHalHidl.cpp331 properties->recognition_modes = halProperties->recognitionModes; in convertPropertiesFromHal()
344 halTriggerPhrase->recognitionModes = triggerPhrase->recognition_mode; in convertTriggerPhraseToHal()
391 halExtra->recognitionModes = extra->recognition_modes; in convertPhraseRecognitionExtraToHal()
541 extra->recognition_modes = halExtra->recognitionModes; in convertPhraseRecognitionExtraFromHal()
/frameworks/base/core/jni/
Dandroid_hardware_SoundTrigger.cpp80 jfieldID recognitionModes; member
123 jfieldID recognitionModes; member
621 env->GetIntField(jPhrase,gKeyphraseFields.recognitionModes); in android_hardware_SoundTrigger_loadSoundModel()
749 gKeyphraseRecognitionExtraFields.recognitionModes); in android_hardware_SoundTrigger_startRecognition()
860 gKeyphraseFields.recognitionModes = GetFieldIDOrDie(env, keyphraseClass, "recognitionModes", in register_android_hardware_SoundTrigger()
904 gKeyphraseRecognitionExtraFields.recognitionModes = GetFieldIDOrDie(env, in register_android_hardware_SoundTrigger()
/frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/
DEnrollmentUtil.java179 if (keyphrase.recognitionModes < 0) { in verifyKeyphraseSoundModel()