Home
last modified time | relevance | path

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

123

/external/libchrome/base/android/
Djava_handler_thread.cc18 using base::android::AttachCurrentThread;
27 AttachCurrentThread(), in JavaHandlerThread()
28 ConvertUTF8ToJavaString(AttachCurrentThread(), name), in JavaHandlerThread()
36 JNIEnv* env = base::android::AttachCurrentThread(); in ~JavaHandlerThread()
55 JNIEnv* env = base::android::AttachCurrentThread(); in Start()
73 JNIEnv* env = base::android::AttachCurrentThread(); in Stop()
101 JNIEnv* env = base::android::AttachCurrentThread(); in JoinForTesting()
107 JNIEnv* env = base::android::AttachCurrentThread(); in ListenForUncaughtExceptionsForTesting()
114 JNIEnv* env = base::android::AttachCurrentThread(); in GetUncaughtExceptionIfAny()
126 JNIEnv* env = base::android::AttachCurrentThread(); in QuitThreadSafely()
Dpath_utils.cc19 JNIEnv* env = AttachCurrentThread(); in GetDataDirectory()
27 JNIEnv* env = AttachCurrentThread(); in GetCacheDirectory()
35 JNIEnv* env = AttachCurrentThread(); in GetThumbnailCacheDirectory()
44 JNIEnv* env = AttachCurrentThread(); in GetDownloadsDirectory()
53 JNIEnv* env = AttachCurrentThread(); in GetAllPrivateDownloadsDirectories()
64 JNIEnv* env = AttachCurrentThread(); in GetNativeLibraryDirectory()
73 JNIEnv* env = AttachCurrentThread(); in GetExternalStorageDirectory()
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()
Dcallback_android.cc17 Java_Helper_onObjectResultFromNative(AttachCurrentThread(), callback, arg); in RunObjectCallbackAndroid()
21 Java_Helper_onBooleanResultFromNative(AttachCurrentThread(), callback, in RunBooleanCallbackAndroid()
26 Java_Helper_onIntResultFromNative(AttachCurrentThread(), callback, arg); in RunIntCallbackAndroid()
31 JNIEnv* env = AttachCurrentThread(); in RunStringCallbackAndroid()
38 JNIEnv* env = AttachCurrentThread(); in RunByteArrayCallbackAndroid()
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()
Djni_array_unittest.cc23 JNIEnv* env = AttachCurrentThread(); in TEST()
68 JNIEnv* env = AttachCurrentThread(); in TEST()
94 JNIEnv* env = AttachCurrentThread(); in TEST()
122 JNIEnv* env = AttachCurrentThread(); in TEST()
172 JNIEnv* env = AttachCurrentThread(); in TEST()
184 JNIEnv* env = AttachCurrentThread(); in TEST()
207 JNIEnv* env = AttachCurrentThread(); in TEST()
229 JNIEnv* env = AttachCurrentThread(); in TEST()
257 JNIEnv* env = AttachCurrentThread(); in TEST()
284 JNIEnv* env = AttachCurrentThread(); in TEST()
[all …]
Dcontent_uri_utils.cc17 JNIEnv* env = base::android::AttachCurrentThread(); in ContentUriExists()
24 JNIEnv* env = base::android::AttachCurrentThread(); in OpenContentUriForRead()
34 JNIEnv* env = base::android::AttachCurrentThread(); in GetContentUriMimeType()
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()
Djni_weak_ref.cc12 using base::android::AttachCurrentThread;
52 AttachCurrentThread()->DeleteWeakGlobalRef(obj_); in reset()
74 JNIEnv* env = AttachCurrentThread(); in Assign()
Dlocale_utils.cc15 JNIEnv* env = base::android::AttachCurrentThread(); in GetDefaultCountryCode()
20 JNIEnv* env = base::android::AttachCurrentThread(); in GetDefaultLocaleString()
Dsys_utils.cc19 JNIEnv* env = AttachCurrentThread(); in IsLowEndDeviceFromJni()
24 JNIEnv* env = AttachCurrentThread(); in IsCurrentlyLowMemory()
Dunguessable_token_android_unittest.cc14 JNIEnv* env = AttachCurrentThread(); in TEST()
27 JNIEnv* env = AttachCurrentThread(); in TEST()
Djava_exception_reporter.cc24 JNIEnv* env = base::android::AttachCurrentThread(); in InitJavaExceptionReporter()
30 JNIEnv* env = base::android::AttachCurrentThread(); in InitJavaExceptionReporterForChildProcess()
Dapplication_status_listener.cc45 AttachCurrentThread()); in ApplicationStatusListener()
66 Java_ApplicationStatus_getStateForApplication(AttachCurrentThread())); in GetState()
Djni_string.cc56 return ConvertJavaStringToUTF8(AttachCurrentThread(), str.obj()); in ConvertJavaStringToUTF8()
106 return ConvertJavaStringToUTF16(AttachCurrentThread(), str.obj()); in ConvertJavaStringToUTF16()
Dthrow_uncaught_exception.cc15 Java_ThrowUncaughtException_post(AttachCurrentThread()); in ThrowUncaughtException()
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()
Devent_log.cc12 Java_EventLog_writeEvent(AttachCurrentThread(), tag, value); in EventLogWriteInt()
Dtrace_event_binding.cc52 JNIEnv* env = base::android::AttachCurrentThread(); in OnTraceLogEnabled()
56 JNIEnv* env = base::android::AttachCurrentThread(); in OnTraceLogDisabled()
Dbase_jni_onload.cc17 JNIEnv* env = base::android::AttachCurrentThread(); in OnJNIOnLoadInit()
/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()
/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()
Dtest_ui_thread_android.cc11 Java_TestUiThread_loop(base::android::AttachCurrentThread()); in StartTestUiThreadLooper()
/external/libchrome/base/threading/
Dplatform_thread_android.cc41 JNIEnv* env = base::android::AttachCurrentThread(); in SetCurrentThreadPriorityForPlatform()
51 JNIEnv* env = base::android::AttachCurrentThread(); in GetCurrentThreadPriorityForPlatform()
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/
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()
383 res = (*android_jvm)->AttachCurrentThread(android_jvm, &env, NULL); in ares_get_android_search_domains_list()

123