Home
last modified time | relevance | path

Searched refs:AttachCurrentThread (Results 1 – 25 of 28) sorted by relevance

12

/third_party/flutter/engine/flutter/fml/platform/android/
Dscoped_java_ref.cc42 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()
Djni_weak_ref.cc36 AttachCurrentThread()->DeleteWeakGlobalRef(obj_); in reset()
60 JNIEnv* env = AttachCurrentThread(); in Assign()
Djni_util.cc24 JNIEnv* AttachCurrentThread() { in AttachCurrentThread() function
28 jint ret = g_jvm->AttachCurrentThread(&env, nullptr); in AttachCurrentThread()
Djni_util.h20 JNIEnv* AttachCurrentThread();
/third_party/flutter/engine/flutter/shell/platform/android/
Dandroid_external_texture_gl.cc84 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()
Dplatform_view_android.cc163 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()
Dace_platform_view_android.cc238 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()
Dplatform_message_response_android.cc32 auto* env = fml::jni::AttachCurrentThread(); in Complete()
62 auto* env = fml::jni::AttachCurrentThread(); in CompleteEmpty()
Dvsync_waiter_android.cc33 JNIEnv* env = fml::jni::AttachCurrentThread(); in AwaitVSync()
42 JNIEnv* env = fml::jni::AttachCurrentThread(); in GetDisplayRefreshRate()
Dace_vsync_waiter_android.cc40 JNIEnv* env = fml::jni::AttachCurrentThread(); in AwaitVSync()
49 JNIEnv* env = fml::jni::AttachCurrentThread(); in GetDisplayRefreshRate()
Dlibrary_loader.cc15 JNIEnv* env = fml::jni::AttachCurrentThread(); in JNI_OnLoad()
/third_party/node/deps/cares/src/lib/
Dares_android.c98 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/
DLwsService.cpp78 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/
Dmain.cpp297 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/
Dtexture_register.cpp61 JNIEnv* env = fml::jni::AttachCurrentThread(); in setAlpha()
/third_party/flutter/engine/flutter/shell/platform/ohos/
Dace_vsync_waiter_embedder.cc114 JNIEnv* env = fml::jni::AttachCurrentThread(); in GetDisplayRefreshRate()
/third_party/flutter/skia/platform_tools/android/apps/arcore/src/main/cpp/
Djni_interface.cc121 jint result = g_vm->AttachCurrentThread(&env, nullptr); in GetJniEnv()
/third_party/skia/third_party/externals/angle2/util/android/
DAndroidWindow.cpp36 sApp->activity->vm->AttachCurrentThread(&gJni, NULL); in GetJniEnv()
/third_party/vk-gl-cts/framework/platform/android/
DtcuAndroidExecService.cpp314 if (m_vm->AttachCurrentThread(&env, DE_NULL) != 0) in run()
DtcuAndroidUtil.cpp67 if (m_vm->AttachCurrentThread(&m_env, DE_NULL) != JNI_OK) in ScopedJNIEnv()
/third_party/flutter/skia/tools/sk_app/android/
Dsurface_glue_android.cpp203 skiaAndroidApp->fJavaVM->AttachCurrentThread(&(skiaAndroidApp->fPThreadEnv), nullptr); in pthread_main()
/third_party/skia/tools/sk_app/android/
Dsurface_glue_android.cpp203 skiaAndroidApp->fJavaVM->AttachCurrentThread(&(skiaAndroidApp->fPThreadEnv), nullptr); in pthread_main()
/third_party/ffmpeg/libavcodec/
Dffjni.c75 if ((*java_vm)->AttachCurrentThread(java_vm, &env, NULL) != 0) { in ff_jni_get_env()
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/
Dgstjniutils.c495 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/
DSDL_android.c541 int status = (*mJavaVM)->AttachCurrentThread(mJavaVM, &env, NULL); in Android_JNI_GetEnv()

12