Home
last modified time | relevance | path

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

/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger_middleware/
DTestUtil.java127 model.phrases[0].recognitionModes = in createPhraseSoundModel()
162 phrases.get(0).recognitionModes); in validatePhrases_2_0()
181 properties.recognitionModes = in createDefaultProperties_2_0()
214 properties.recognitionModes = in createDefaultProperties()
245 properties.recognitionModes); in validateDefaultProperties()
261 config.phraseRecognitionExtras[0].recognitionModes = 5; in createRecognitionConfig()
282 assertEquals(5, halPhraseExtra.recognitionModes); in validateRecognitionConfig_2_0()
301 assertEquals(5, halPhraseExtra.recognitionModes); in validateRecognitionConfig_2_1()
404 extra.recognitionModes = RecognitionMode.VOICE_TRIGGER | RecognitionMode.GENERIC_TRIGGER; in createPhraseRecognitionEvent()
423 halExtra.recognitionModes = android.hardware.soundtrigger.V2_0.RecognitionMode.VOICE_TRIGGER in createPhraseRecognitionEvent_2_0()
[all …]
DSoundTriggerDuplicateModelHandlerTest.java317 model.phrases[0].recognitionModes = in createPhraseSoundModelOne()
332 model.phrases[0].recognitionModes = 0; in createPhraseSoundModelTwo()
/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTrigger.java167 @RecognitionModes int recognitionModes, boolean supportsCaptureTransition, in ModuleProperties() argument
179 this.mRecognitionModes = recognitionModes; in ModuleProperties()
303 int recognitionModes = in.readInt(); in fromParcel() local
311 supportedModelArch, maxSoundModels, maxKeyphrases, maxUsers, recognitionModes, in fromParcel()
602 public Keyphrase(int id, @RecognitionModes int recognitionModes, @NonNull Locale locale, in Keyphrase() argument
605 this.mRecognitionModes = recognitionModes; in Keyphrase()
669 int recognitionModes = in.readInt(); in readFromParcel() local
678 return new Keyphrase(id, recognitionModes, locale, text, users); in readFromParcel()
1736 public final int recognitionModes; field in SoundTrigger.KeyphraseRecognitionExtra
1762 public KeyphraseRecognitionExtra(int id, @RecognitionModes int recognitionModes, in KeyphraseRecognitionExtra() argument
[all …]
DConversionUtil.java62 aidl2apiRecognitionModes(properties.recognitionModes), in aidl2apiModuleDescriptor()
140 aidlPhrase.recognitionModes = api2aidlRecognitionModes(apiPhrase.getRecognitionModes()); in api2aidlPhrase()
149 aidl2apiRecognitionModes(aidlPhrase.recognitionModes), in aidl2apiPhrase()
190 aidlExtra.recognitionModes = api2aidlRecognitionModes(apiExtra.recognitionModes); in api2aidlPhraseRecognitionExtra()
207 aidl2apiRecognitionModes(aidlExtra.recognitionModes), in aidl2apiPhraseRecognitionExtra()
DKeyphraseEnrollmentInfo.java300 int recognitionModes = array.getInt(com.android.internal.R.styleable in getKeyphraseFromTypedArray() local
302 if (recognitionModes < 0) { in getKeyphraseFromTypedArray()
309 return new KeyphraseMetadata(searchKeyphraseId, searchKeyphrase, locales, recognitionModes); in getKeyphraseFromTypedArray()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DConversionUtil.java69 aidlProperties.recognitionModes = in hidl2aidlProperties()
70 hidl2aidlRecognitionModes(hidlProperties.recognitionModes); in hidl2aidlProperties()
152 hidlPhrase.recognitionModes = aidl2hidlRecognitionModes(aidlPhrase.recognitionModes); in aidl2hidlPhrase()
241 hidlExtra.recognitionModes = aidl2hidlRecognitionModes(aidlExtra.recognitionModes); in aidl2hidlPhraseRecognitionExtra()
255 aidlExtra.recognitionModes = hidl2aidlRecognitionModes(hidlExtra.recognitionModes); in hidl2aidlPhraseRecognitionExtra()
DValidationUtil.java73 if ((phrase.recognitionModes & ~(RecognitionMode.VOICE_TRIGGER in validatePhraseModel()
89 if ((extra.recognitionModes & ~(RecognitionMode.VOICE_TRIGGER in validateRecognitionConfig()
DFakeSoundTriggerHal.java626 properties.recognitionModes = RecognitionMode.VOICE_TRIGGER in createDefaultProperties()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DDatabaseHelper.java277 int recognitionModes = c.getInt( in getValidKeyphraseSoundModelForUser() local
313 keyphraseId, recognitionModes, modelLocale, text, users); in getValidKeyphraseSoundModelForUser()
375 public final int recognitionModes; field in DatabaseHelper.SoundModelRecord
390 recognitionModes = c.getInt(c.getColumnIndex(SoundModelContract.KEY_RECOGNITION_MODES)); in SoundModelRecord()
440 values.put(SoundModelContract.KEY_RECOGNITION_MODES, recognitionModes); in writeToDatabase()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt22059 Landroid/hardware/soundtrigger/SoundTrigger$ModuleProperties;->recognitionModes:I