Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Djni.c37 void *java_vm; variable
45 if (java_vm == NULL) { in av_jni_set_java_vm()
46 java_vm = vm; in av_jni_set_java_vm()
47 } else if (java_vm != vm) { in av_jni_set_java_vm()
61 vm = java_vm; in av_jni_get_java_vm()
Dffjni.c34 static JavaVM *java_vm; variable
41 if (java_vm) { in jni_detach_env()
42 (*java_vm)->DetachCurrentThread(java_vm); in jni_detach_env()
57 if (java_vm == NULL) { in ff_jni_get_env()
58 java_vm = av_jni_get_java_vm(log_ctx); in ff_jni_get_env()
61 if (!java_vm) { in ff_jni_get_env()
72 ret = (*java_vm)->GetEnv(java_vm, (void **)&env, JNI_VERSION_1_6); in ff_jni_get_env()
75 if ((*java_vm)->AttachCurrentThread(java_vm, &env, NULL) != 0) { in ff_jni_get_env()
/third_party/skia/third_party/externals/imgui/examples/example_android_opengl3/
Dmain.cpp290 JavaVM* java_vm = g_App->activity->vm; in ShowSoftKeyboardInput() local
293 jint jni_return = java_vm->GetEnv((void**)&java_env, JNI_VERSION_1_6); in ShowSoftKeyboardInput()
297 jni_return = java_vm->AttachCurrentThread(&java_env, NULL); in ShowSoftKeyboardInput()
311 jni_return = java_vm->DetachCurrentThread(); in ShowSoftKeyboardInput()
323 JavaVM* java_vm = g_App->activity->vm; in PollUnicodeChars() local
326 jint jni_return = java_vm->GetEnv((void**)&java_env, JNI_VERSION_1_6); in PollUnicodeChars()
330 jni_return = java_vm->AttachCurrentThread(&java_env, NULL); in PollUnicodeChars()
348 jni_return = java_vm->DetachCurrentThread(); in PollUnicodeChars()
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/
Dgstjniutils.c41 static JavaVM *java_vm; variable
495 if ((ret = (*java_vm)->AttachCurrentThread (java_vm, &env, &args)) != JNI_OK) { in gst_amc_jni_attach_current_thread()
509 if ((ret = (*java_vm)->DetachCurrentThread (java_vm)) != JNI_OK) { in gst_amc_jni_detach_current_thread()
641 if (java_vm) { in gst_amc_jni_initialize_java_vm()
646 java_vm = get_application_java_vm (); in gst_amc_jni_initialize_java_vm()
647 if (java_vm) { in gst_amc_jni_initialize_java_vm()
670 if ((ret = get_created_java_vms (&java_vm, 1, &n_vms)) != JNI_OK) in gst_amc_jni_initialize_java_vm()
674 GST_DEBUG ("Successfully got existing Java VM %p", java_vm); in gst_amc_jni_initialize_java_vm()
691 if ((ret = create_java_vm (&java_vm, &env, &vm_args)) != JNI_OK) in gst_amc_jni_initialize_java_vm()
693 GST_DEBUG ("Successfully created Java VM %p", java_vm); in gst_amc_jni_initialize_java_vm()
[all …]
Dgstjniutils.h112 void gst_amc_jni_set_java_vm (JavaVM *java_vm);