Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_hardware_SoundTrigger.cpp488 jobject jSoundModel, jintArray jHandle) in android_hardware_SoundTrigger_loadSoundModel() argument
507 if (jHandle == NULL) { in android_hardware_SoundTrigger_loadSoundModel()
510 jsize jHandleLen = env->GetArrayLength(jHandle); in android_hardware_SoundTrigger_loadSoundModel()
514 jint *nHandle = env->GetIntArrayElements(jHandle, NULL); in android_hardware_SoundTrigger_loadSoundModel()
641 env->ReleaseIntArrayElements(jHandle, nHandle, NULL); in android_hardware_SoundTrigger_loadSoundModel()
651 jint jHandle) in android_hardware_SoundTrigger_unloadSoundModel() argument
659 status = module->unloadSoundModel((sound_model_handle_t)jHandle); in android_hardware_SoundTrigger_unloadSoundModel()
666 jint jHandle, jobject jConfig) in android_hardware_SoundTrigger_startRecognition() argument
753 status = module->startRecognition(jHandle, memory); in android_hardware_SoundTrigger_startRecognition()
759 jint jHandle) in android_hardware_SoundTrigger_stopRecognition() argument
[all …]
Dandroid_media_AudioSystem.cpp583 jobject jHandle = env->GetObjectField(jAudioPort, gAudioPortFields.mHandle); in convertAudioPortConfigToNative() local
584 nAudioPortConfig->id = env->GetIntField(jHandle, gAudioHandleFields.mId); in convertAudioPortConfigToNative()
593 env->DeleteLocalRef(jHandle); in convertAudioPortConfigToNative()
648 env->DeleteLocalRef(jHandle); in convertAudioPortConfigToNative()
666 jobject jHandle = env->NewObject(gAudioHandleClass, gAudioHandleCstor, in convertAudioPortConfigFromNative() local
672 if (jHandle == NULL) { in convertAudioPortConfigFromNative()
680 jHandle, // handle in convertAudioPortConfigFromNative()
688 env->DeleteLocalRef(jHandle); in convertAudioPortConfigFromNative()
854 jobject jHandle = NULL; in convertAudioPortFromNative() local
966 jHandle = env->NewObject(gAudioHandleClass, gAudioHandleCstor, in convertAudioPortFromNative()
[all …]