Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_hardware_SoundTrigger.cpp233 jobjectArray jConfidenceLevels = env->NewObjectArray( in onRecognitionEvent() local
237 if (jConfidenceLevels == NULL) { in onRecognitionEvent()
245 env->SetObjectArrayElement(jConfidenceLevels, j, jConfidenceLevel); in onRecognitionEvent()
254 jConfidenceLevels); in onRecognitionEvent()
261 env->DeleteLocalRef(jConfidenceLevels); in onRecognitionEvent()
733 jobjectArray jConfidenceLevels = (jobjectArray)env->GetObjectField(jPhrase, in android_hardware_SoundTrigger_startRecognition() local
735 if (jConfidenceLevels != NULL) { in android_hardware_SoundTrigger_startRecognition()
736 config->phrases[i].num_levels = env->GetArrayLength(jConfidenceLevels); in android_hardware_SoundTrigger_startRecognition()
740 jobject jConfidenceLevel = env->GetObjectArrayElement(jConfidenceLevels, j); in android_hardware_SoundTrigger_startRecognition()
748 env->DeleteLocalRef(jConfidenceLevels); in android_hardware_SoundTrigger_startRecognition()