Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp645 jobject jAudioPort = env->GetObjectField(jAudioPortConfig, gAudioPortConfigFields.mPort); in convertAudioPortConfigToNative() local
646 jobject jHandle = env->GetObjectField(jAudioPort, gAudioPortFields.mHandle); in convertAudioPortConfigToNative()
648 nAudioPortConfig->role = (audio_port_role_t)env->GetIntField(jAudioPort, in convertAudioPortConfigToNative()
650 if (env->IsInstanceOf(jAudioPort, gAudioDevicePortClass)) { in convertAudioPortConfigToNative()
652 } else if (env->IsInstanceOf(jAudioPort, gAudioMixPortClass)) { in convertAudioPortConfigToNative()
655 env->DeleteLocalRef(jAudioPort); in convertAudioPortConfigToNative()
710 env->DeleteLocalRef(jAudioPort); in convertAudioPortConfigToNative()
716 jobject jAudioPort, in convertAudioPortConfigFromNative() argument
726 ALOGV("convertAudioPortConfigFromNative jAudioPort %p", jAudioPort); in convertAudioPortConfigFromNative()
728 if (jAudioPort == NULL) { in convertAudioPortConfigFromNative()
[all …]