Searched refs:jHandle (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/jni/ |
D | android_hardware_SoundTrigger.cpp | 488 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 …]
|
D | android_media_AudioSystem.cpp | 529 jobject jHandle = env->GetObjectField(jAudioPort, gAudioPortFields.mHandle); in convertAudioPortConfigToNative() local 530 nAudioPortConfig->id = env->GetIntField(jHandle, gAudioHandleFields.mId); in convertAudioPortConfigToNative() 539 env->DeleteLocalRef(jHandle); in convertAudioPortConfigToNative() 594 env->DeleteLocalRef(jHandle); in convertAudioPortConfigToNative() 612 jobject jHandle = env->NewObject(gAudioHandleClass, gAudioHandleCstor, in convertAudioPortConfigFromNative() local 618 if (jHandle == NULL) { in convertAudioPortConfigFromNative() 626 jHandle, in convertAudioPortConfigFromNative() 632 env->DeleteLocalRef(jHandle); in convertAudioPortConfigFromNative() 787 jobject jHandle = NULL; in convertAudioPortFromNative() local 864 jHandle = env->NewObject(gAudioHandleClass, gAudioHandleCstor, in convertAudioPortFromNative() [all …]
|