Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTrigger.java105 public final int recognitionModes; field in SoundTrigger.ModuleProperties
126 int maxUsers, int recognitionModes, boolean supportsCaptureTransition, in ModuleProperties() argument
137 this.recognitionModes = recognitionModes; in ModuleProperties()
165 int recognitionModes = in.readInt(); in fromParcel() local
172 maxSoundModels, maxKeyphrases, maxUsers, recognitionModes, in fromParcel()
187 dest.writeInt(recognitionModes); in writeToParcel()
205 + maxUsers + ", recognitionModes=" + recognitionModes in toString()
307 public final int recognitionModes; field in SoundTrigger.Keyphrase
323 public Keyphrase(int id, int recognitionModes, String locale, String text, int[] users) { in Keyphrase() argument
325 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/base/core/jni/
Dandroid_hardware_SoundTrigger.cpp81 jfieldID recognitionModes; member
124 jfieldID recognitionModes; member
641 env->GetIntField(jPhrase,gKeyphraseFields.recognitionModes); in android_hardware_SoundTrigger_loadSoundModel()
769 gKeyphraseRecognitionExtraFields.recognitionModes); in android_hardware_SoundTrigger_startRecognition()
897 gKeyphraseFields.recognitionModes = GetFieldIDOrDie(env, keyphraseClass, "recognitionModes", in register_android_hardware_SoundTrigger()
941 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()
/frameworks/av/services/soundtrigger/
DSoundTriggerHalHidl.cpp521 properties->recognition_modes = halProperties->recognitionModes; in convertPropertiesFromHal()
534 halTriggerPhrase->recognitionModes = triggerPhrase->recognition_mode; in convertTriggerPhraseToHal()
593 halExtra->recognitionModes = extra->recognition_modes; in convertPhraseRecognitionExtraToHal()
760 extra->recognition_modes = halExtra->recognitionModes; in convertPhraseRecognitionExtraFromHal()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt24946 Landroid/hardware/soundtrigger/SoundTrigger$ModuleProperties;->recognitionModes:I