Home
last modified time | relevance | path

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

12

/external/libchrome/base/android/
Dscoped_java_ref.cc45 env = AttachCurrentThread(); in SetNewLocalRef()
47 DCHECK_EQ(env, AttachCurrentThread()); // Is |env| on correct thread. in SetNewLocalRef()
59 env = AttachCurrentThread(); in SetNewGlobalRef()
61 DCHECK_EQ(env, AttachCurrentThread()); // Is |env| on correct thread. in SetNewGlobalRef()
72 DCHECK_EQ(env, AttachCurrentThread()); // Is |env| on correct thread. in ResetLocalRef()
80 AttachCurrentThread()->DeleteGlobalRef(obj_); in ResetGlobalRef()
Djni_string_unittest.cc17 JNIEnv* env = AttachCurrentThread(); in TEST()
25 JNIEnv* env = AttachCurrentThread(); in TEST()
33 JNIEnv* env = AttachCurrentThread(); in TEST()
41 JNIEnv* env = AttachCurrentThread(); in TEST()
Dscoped_java_ref_unittest.cc46 JNIEnv* env = AttachCurrentThread(); in SetUp()
59 JNIEnv* env = AttachCurrentThread(); in TearDown()
69 JNIEnv* env = AttachCurrentThread(); in TEST_F()
87 JNIEnv* env = AttachCurrentThread(); in TEST_F()
Djava_exception_reporter.cc24 JNIEnv* env = base::android::AttachCurrentThread(); in InitJavaExceptionReporter()
30 JNIEnv* env = base::android::AttachCurrentThread(); in InitJavaExceptionReporterForChildProcess()
Djni_string.cc56 return ConvertJavaStringToUTF8(AttachCurrentThread(), str.obj()); in ConvertJavaStringToUTF8()
106 return ConvertJavaStringToUTF16(AttachCurrentThread(), str.obj()); in ConvertJavaStringToUTF16()
Djni_android.cc41 JNIEnv* AttachCurrentThread() { in AttachCurrentThread() function
60 ret = g_jvm->AttachCurrentThread(&env, &args); in AttachCurrentThread()
73 jint ret = g_jvm->AttachCurrentThread(&env, &args); in AttachCurrentThreadWithName()
Dtimezone_utils.cc16 JNIEnv* env = base::android::AttachCurrentThread(); in GetDefaultTimeZoneId()
Djava_runtime.cc13 JNIEnv* env = base::android::AttachCurrentThread(); in GetMemoryUsage()
Djni_android_unittest.cc35 JNIEnv* env = AttachCurrentThread(); in TEST()
Djni_android.h65 BASE_EXPORT JNIEnv* AttachCurrentThread();
Dbuild_info.cc38 JNIEnv* env = AttachCurrentThread(); in New()
/external/libchrome/base/test/android/
Djava_handler_thread_helpers.cc19 base::android::AttachCurrentThread())); in CreateJavaFirst()
24 JNIEnv* env = AttachCurrentThread(); in ThrowExceptionAndAbort()
34 JNIEnv* env = AttachCurrentThread(); in IsExceptionTestException()
Durl_utils.cc15 JNIEnv* env = base::android::AttachCurrentThread(); in GetIsolatedTestRoot()
/external/libchrome/base/test/
Dmultiprocess_test_android.cc30 JNIEnv* env = android::AttachCurrentThread(); in SpawnMultiProcessTestChild()
60 JNIEnv* env = android::AttachCurrentThread(); in WaitForMultiprocessTestChildExit()
79 JNIEnv* env = android::AttachCurrentThread(); in TerminateMultiProcessTestChild()
/external/webrtc/webrtc/modules/video_render/android/
Dvideo_render_android_native_opengl2.cc48 jint res = g_jvm->AttachCurrentThread(&env, NULL); in UseOpenGL2()
105 jint res = g_jvm->AttachCurrentThread(&env, NULL); in ~AndroidNativeOpenGl2Renderer()
151 jint res = g_jvm->AttachCurrentThread(&env, NULL); in Init()
255 jint res = _jvm->AttachCurrentThread(&env, NULL); in ~AndroidNativeOpenGl2Channel()
303 jint res = _jvm->AttachCurrentThread(&env, NULL); in Init()
Dvideo_render_android_surface_view.cc48 jint res = g_jvm->AttachCurrentThread(&env, NULL); in ~AndroidSurfaceViewRenderer()
105 jint res = g_jvm->AttachCurrentThread(&env, NULL); in Init()
256 jint res = _jvm->AttachCurrentThread(&env, NULL); in ~AndroidSurfaceViewChannel()
323 jint res = _jvm->AttachCurrentThread(&env, NULL); in Init()
/external/libchrome/base/android/jni_generator/
Dsample_entry_point.cc15 JNIEnv* env = base::android::AttachCurrentThread(); in JNI_OnLoad()
/external/conscrypt/common/src/jni/main/include/conscrypt/
Djniutil.h65 int ret = gJavaVM->AttachCurrentThread(&env, nullptr); in getJNIEnv()
67 int ret = gJavaVM->AttachCurrentThread(reinterpret_cast<void**>(&env), nullptr); in getJNIEnv()
/external/webrtc/webrtc/modules/audio_device/android/
Densure_initialized.cc31 JNIEnv* jni = ::base::android::AttachCurrentThread(); in EnsureInitializedOnce()
/external/webrtc/talk/app/webrtc/test/
Dandroidtestinitializer.cc56 JNIEnv* jni = ::base::android::AttachCurrentThread(); in EnsureInitializedOnce()
/external/libchrome/mojo/public/java/system/
Dbase_run_loop.cc45 Java_BaseRunLoop_runRunnable(base::android::AttachCurrentThread(), in RunJavaRunnable()
Dwatcher_impl.cc63 base::android::AttachCurrentThread(), in OnHandleReady()
/external/webrtc/webrtc/modules/utility/source/
Dhelpers_android.cc106 jint res = jvm->AttachCurrentThread(&env_, NULL); in AttachThreadScoped()
/external/skqp/platform_tools/android/apps/arcore/src/main/cpp/
Djni_interface.cc121 jint result = g_vm->AttachCurrentThread(&env, nullptr); in GetJniEnv()
/external/skia/platform_tools/android/apps/arcore/src/main/cpp/
Djni_interface.cc121 jint result = g_vm->AttachCurrentThread(&env, nullptr); in GetJniEnv()

12