| /third_party/flutter/engine/flutter/fml/platform/android/ |
| D | scoped_java_ref.cc | 42 env = AttachCurrentThread(); in SetNewLocalRef() 44 FML_DCHECK(env == AttachCurrentThread()); // Is |env| on correct thread. in SetNewLocalRef() 56 env = AttachCurrentThread(); in SetNewGlobalRef() 58 FML_DCHECK(env == AttachCurrentThread()); // Is |env| on correct thread. in SetNewGlobalRef() 69 FML_DCHECK(env == AttachCurrentThread()); // Is |env| on correct thread. in ResetLocalRef() 77 AttachCurrentThread()->DeleteGlobalRef(obj_); in ResetGlobalRef()
|
| D | jni_weak_ref.cc | 36 AttachCurrentThread()->DeleteWeakGlobalRef(obj_); in reset() 60 JNIEnv* env = AttachCurrentThread(); in Assign()
|
| D | jni_util.cc | 24 JNIEnv* AttachCurrentThread() { in AttachCurrentThread() function 28 jint ret = g_jvm->AttachCurrentThread(&env, nullptr); in AttachCurrentThread()
|
| D | jni_util.h | 20 JNIEnv* AttachCurrentThread();
|
| /third_party/flutter/engine/flutter/shell/platform/android/ |
| D | android_external_texture_gl.cc | 84 JNIEnv* env = fml::jni::AttachCurrentThread(); in UpdateTransform() 111 JNIEnv* env = fml::jni::AttachCurrentThread(); in Attach() 120 JNIEnv* env = fml::jni::AttachCurrentThread(); in Update() 130 JNIEnv* env = fml::jni::AttachCurrentThread(); in Detach()
|
| D | platform_view_android.cc | 163 JNIEnv* env = fml::jni::AttachCurrentThread(); in HandlePlatformMessage() 196 JNIEnv* env = fml::jni::AttachCurrentThread(); in OnPreEngineRestart() 202 FlutterViewOnPreEngineRestart(fml::jni::AttachCurrentThread(), view.obj()); in OnPreEngineRestart() 234 JNIEnv* env = fml::jni::AttachCurrentThread(); in UpdateSemantics() 436 JNIEnv* env = fml::jni::AttachCurrentThread(); in FireFirstFrameCallback() 442 FlutterViewOnFirstFrame(fml::jni::AttachCurrentThread(), view.obj()); in FireFirstFrameCallback()
|
| D | ace_platform_view_android.cc | 238 JNIEnv* env = fml::jni::AttachCurrentThread(); in HandlePlatformMessage() 271 JNIEnv* env = fml::jni::AttachCurrentThread(); in OnPreEngineRestart() 277 FlutterViewOnPreEngineRestart(fml::jni::AttachCurrentThread(), view.obj()); in OnPreEngineRestart() 352 JNIEnv* env = fml::jni::AttachCurrentThread(); in FireFirstFrameCallback() 358 FlutterViewOnFirstFrame(fml::jni::AttachCurrentThread(), view.obj()); in FireFirstFrameCallback()
|
| D | platform_message_response_android.cc | 32 auto* env = fml::jni::AttachCurrentThread(); in Complete() 62 auto* env = fml::jni::AttachCurrentThread(); in CompleteEmpty()
|
| D | vsync_waiter_android.cc | 33 JNIEnv* env = fml::jni::AttachCurrentThread(); in AwaitVSync() 42 JNIEnv* env = fml::jni::AttachCurrentThread(); in GetDisplayRefreshRate()
|
| D | ace_vsync_waiter_android.cc | 40 JNIEnv* env = fml::jni::AttachCurrentThread(); in AwaitVSync() 49 JNIEnv* env = fml::jni::AttachCurrentThread(); in GetDisplayRefreshRate()
|
| D | library_loader.cc | 15 JNIEnv* env = fml::jni::AttachCurrentThread(); in JNI_OnLoad()
|
| /third_party/node/deps/cares/src/lib/ |
| D | ares_android.c | 98 res = (*android_jvm)->AttachCurrentThread(android_jvm, &env, NULL); in ares_library_init_android() 216 res = (*android_jvm)->AttachCurrentThread(android_jvm, &env, NULL); in ares_library_cleanup_android() 270 res = (*android_jvm)->AttachCurrentThread(android_jvm, &env, NULL); in ares_get_android_server_list() 381 res = (*android_jvm)->AttachCurrentThread(android_jvm, &env, NULL); in ares_get_android_search_domains_list()
|
| /third_party/libwebsockets/test-apps/android/app/src/main/jni/ |
| D | LwsService.cpp | 78 if(vm->AttachCurrentThread(&gEnv, NULL) < 0) goto bail; in JNI_OnLoad() 166 gJvm->AttachCurrentThread(&gEnv, NULL); in jni_initLws()
|
| /third_party/skia/third_party/externals/imgui/examples/example_android_opengl3/ |
| D | main.cpp | 297 jni_return = java_vm->AttachCurrentThread(&java_env, NULL); in ShowSoftKeyboardInput() 330 jni_return = java_vm->AttachCurrentThread(&java_env, NULL); in PollUnicodeChars()
|
| /third_party/flutter/engine/flutter/flow/ohos_layers/ |
| D | texture_register.cpp | 61 JNIEnv* env = fml::jni::AttachCurrentThread(); in setAlpha()
|
| /third_party/flutter/engine/flutter/shell/platform/ohos/ |
| D | ace_vsync_waiter_embedder.cc | 114 JNIEnv* env = fml::jni::AttachCurrentThread(); in GetDisplayRefreshRate()
|
| /third_party/flutter/skia/platform_tools/android/apps/arcore/src/main/cpp/ |
| D | jni_interface.cc | 121 jint result = g_vm->AttachCurrentThread(&env, nullptr); in GetJniEnv()
|
| /third_party/skia/third_party/externals/angle2/util/android/ |
| D | AndroidWindow.cpp | 36 sApp->activity->vm->AttachCurrentThread(&gJni, NULL); in GetJniEnv()
|
| /third_party/vk-gl-cts/framework/platform/android/ |
| D | tcuAndroidExecService.cpp | 314 if (m_vm->AttachCurrentThread(&env, DE_NULL) != 0) in run()
|
| D | tcuAndroidUtil.cpp | 67 if (m_vm->AttachCurrentThread(&m_env, DE_NULL) != JNI_OK) in ScopedJNIEnv()
|
| /third_party/flutter/skia/tools/sk_app/android/ |
| D | surface_glue_android.cpp | 203 skiaAndroidApp->fJavaVM->AttachCurrentThread(&(skiaAndroidApp->fPThreadEnv), nullptr); in pthread_main()
|
| /third_party/skia/tools/sk_app/android/ |
| D | surface_glue_android.cpp | 203 skiaAndroidApp->fJavaVM->AttachCurrentThread(&(skiaAndroidApp->fPThreadEnv), nullptr); in pthread_main()
|
| /third_party/ffmpeg/libavcodec/ |
| D | ffjni.c | 75 if ((*java_vm)->AttachCurrentThread(java_vm, &env, NULL) != 0) { in ff_jni_get_env()
|
| /third_party/gstreamer/gstplugins_bad/sys/androidmedia/ |
| D | gstjniutils.c | 495 if ((ret = (*java_vm)->AttachCurrentThread (java_vm, &env, &args)) != JNI_OK) { in gst_amc_jni_attach_current_thread()
|
| /third_party/flutter/skia/third_party/externals/sdl/src/core/android/ |
| D | SDL_android.c | 541 int status = (*mJavaVM)->AttachCurrentThread(mJavaVM, &env, NULL); in Android_JNI_GetEnv()
|