Lines Matching refs:j_env
159 JNIEnv* j_env = android::AndroidRuntime::getJNIEnv(); in AllocPlayerRoutingProxy() local
161 j_env->ExceptionClear(); in AllocPlayerRoutingProxy()
164 j_env->NewObject(gClsAudioTrackRoutingProxy, in AllocPlayerRoutingProxy()
168 *proxyObj = j_env->NewGlobalRef(localObjRef); in AllocPlayerRoutingProxy()
170 if (j_env->ExceptionCheck()) { in AllocPlayerRoutingProxy()
229 JNIEnv* j_env = android::AndroidRuntime::getJNIEnv(); in AllocRecorderRoutingProxy() local
231 j_env->ExceptionClear(); in AllocRecorderRoutingProxy()
233 j_env->NewObject(gClsAudioRecordRoutingProxy, in AllocRecorderRoutingProxy()
237 *proxyObj = j_env->NewGlobalRef(localObjRef); in AllocRecorderRoutingProxy()
238 if (j_env->ExceptionCheck()) { in AllocRecorderRoutingProxy()
329 JNIEnv* j_env = android::AndroidRuntime::getJNIEnv(); in IAndroidConfiguration_ReleaseJavaProxy() local
331 j_env->ExceptionClear(); in IAndroidConfiguration_ReleaseJavaProxy()
332 j_env->CallVoidMethod(iConfig->mRoutingProxy, gMidAudioTrackRoutingProxy_release); in IAndroidConfiguration_ReleaseJavaProxy()
333 if (j_env->ExceptionCheck()) { in IAndroidConfiguration_ReleaseJavaProxy()
337 j_env->DeleteGlobalRef(iConfig->mRoutingProxy); in IAndroidConfiguration_ReleaseJavaProxy()
344 JNIEnv* j_env = android::AndroidRuntime::getJNIEnv(); in IAndroidConfiguration_ReleaseJavaProxy() local
346 j_env->ExceptionClear(); in IAndroidConfiguration_ReleaseJavaProxy()
347 j_env->CallVoidMethod(iConfig->mRoutingProxy, gMidAudioRecordRoutingProxy_release); in IAndroidConfiguration_ReleaseJavaProxy()
348 if (j_env->ExceptionCheck()) { in IAndroidConfiguration_ReleaseJavaProxy()
352 j_env->DeleteGlobalRef(iConfig->mRoutingProxy); in IAndroidConfiguration_ReleaseJavaProxy()