Home
last modified time | relevance | path

Searched refs:DetachCurrentThread (Results 1 – 22 of 22) sorted by relevance

/art/runtime/jni/
Djava_vm_ext_test.cc84 ok = vms_buf[0]->DetachCurrentThread(); in attach_current_thread_callback()
132 TEST_F(JavaVmExtTest, DetachCurrentThread) { in TEST_F() argument
136 ok = vm_->DetachCurrentThread(); in TEST_F()
139 jint err = vm_->DetachCurrentThread(); in TEST_F()
184 ok = vm_->DetachCurrentThread(); in TEST_F()
Djava_vm_ext.cc425 static jint DetachCurrentThread(JavaVM* vm) { in DetachCurrentThread() function in art::JII
431 runtime->DetachCurrentThread(); in DetachCurrentThread()
500 JII::DetachCurrentThread,
Dcheck_jni.cc317 CHECK_NE(Runtime::Current()->GetJavaVM()->DetachCurrentThread(), JNI_ERR); in CheckAttachedThread()
4094 static jint DetachCurrentThread(JavaVM* vm) { in DetachCurrentThread() function in art::__anon846bc2ca0111::CheckJII
4099 result.i = BaseVm(vm)->DetachCurrentThread(vm); in DetachCurrentThread()
4126 CheckJII::DetachCurrentThread,
Djni_internal_test.cc2565 jint detach_result = vm_->DetachCurrentThread(); in TEST_F()
/art/test/136-daemon-jni-shutdown/
Ddaemon_jni_shutdown.cc62 vm->DetachCurrentThread(); in Java_Main_destroyJavaVMAndExit()
/art/test/169-threadgroup-jni/
Djni_daemon_thread.cc46 int detach_result = vm->DetachCurrentThread(); in Runner()
/art/test/2037-thread-name-inherit/
Dthread_name_inherit.cc61 args->jvm->DetachCurrentThread(); in ThreadMain()
/art/dalvikvm/
Ddalvikvm.cc196 if (vm->DetachCurrentThread() != JNI_OK) { in dalvikvm()
/art/runtime/
Dsignal_catcher.cc204 runtime->DetachCurrentThread(); in Run()
Dthread_pool.cc154 runtime->DetachCurrentThread(/* should_run_callbacks= */ false); in Callback()
Druntime_callbacks_test.cc97 runtime->DetachCurrentThread(); in PthreadsCallback()
Druntime.h314 void DetachCurrentThread(bool should_run_callbacks = true) REQUIRES(!Locks::mutator_lock_);
Druntime.cc472 DetachCurrentThread(/* should_run_callbacks= */ false); in ~Runtime()
2577 void Runtime::DetachCurrentThread(bool should_run_callbacks) { in DetachCurrentThread() function in art::Runtime
Dthread_list.cc99 Runtime::Current()->DetachCurrentThread(); in ShutDown()
Dtrace.cc571 runtime->DetachCurrentThread(); in RunSamplingThread()
/art/tools/jvmti-agents/wrapagentproperties/
Dwrapagentproperties.cc87 return vm->real_vm->DetachCurrentThread(); in WrapDetachCurrentThread()
116 out->DetachCurrentThread = reinterpret_cast<jint(*)(JavaVM*)>(WrapDetachCurrentThread); in CreateInvokeInterface()
/art/runtime/metrics/
Dreporter.cc189 runtime_->DetachCurrentThread(); in BackgroundThreadRun()
/art/adbconnection/
Dadbconnection.cc333 int detach_result = art::Runtime::Current()->GetJavaVM()->DetachCurrentThread(); in CallbackFunction()
/art/test/004-JniTest/
Djni_test.cc69 int detach_result = jvm->DetachCurrentThread(); in AttachHelper()
/art/runtime/jit/
Dprofile_saver.cc952 runtime->DetachCurrentThread(); in RunProfileSaverThread()
Djit.cc1506 Runtime::Current()->DetachCurrentThread(); in RunPollingThread()
/art/openjdkjvmti/
Dti_thread.cc810 int detach_result = data->java_vm->DetachCurrentThread(); in AgentCallback()