Home
last modified time | relevance | path

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

/art/runtime/jni/
Djava_vm_ext_test.cc69 ok = vms_buf[0]->AttachCurrentThread(&env, nullptr); in attach_current_thread_callback()
87 TEST_F(JavaVmExtTest, AttachCurrentThread) { in TEST_F() argument
130 jint ok = vm_->AttachCurrentThread(&env, nullptr); in TEST_F()
150 jint ok = vm_->AttachCurrentThread(&env, nullptr); in TEST_F()
Djava_vm_ext.cc402 static jint AttachCurrentThread(JavaVM* vm, JNIEnv** p_env, void* thr_args) { in AttachCurrentThread() function in art::JII
468 if (!runtime->AttachCurrentThread(thread_name, as_daemon, thread_group, in AttachCurrentThreadInternal()
484 JII::AttachCurrentThread,
Dcheck_jni.cc289 Runtime::Current()->GetJavaVM()->AttachCurrentThread(&env, /* thr_args= */ nullptr); in CheckAttachedThread()
4020 static jint AttachCurrentThread(JavaVM* vm, JNIEnv** p_env, void* thr_args) { in AttachCurrentThread() function in art::__anon846bc2ca0111::CheckJII
4025 result.i = BaseVm(vm)->AttachCurrentThread(vm, p_env, thr_args); in AttachCurrentThread()
4071 CheckJII::AttachCurrentThread,
Djni_internal_test.cc44 vm_->AttachCurrentThread(&env_, nullptr); in SetUp()
2450 jint attach_result = vm_->AttachCurrentThread(&env_, nullptr); in TEST_F()
/art/test/169-threadgroup-jni/
Djni_daemon_thread.cc33 int attach_result = vm->AttachCurrentThread(&env, &args); in Runner()
/art/runtime/
Dsignal_catcher.cc176 CHECK(runtime->AttachCurrentThread("Signal Catcher", true, runtime->GetSystemThreadGroup(), in Run()
Dthread_pool.cc112 CHECK(runtime->AttachCurrentThread( in Callback()
Druntime_callbacks_test.cc94 CHECK(runtime->AttachCurrentThread("ThreadLifecycle test thread", true, nullptr, false)); in PthreadsCallback()
Druntime.cc326 bool thread_attached = AttachCurrentThread("Shutdown thread", in ~Runtime()
332 CHECK(AttachCurrentThread("Shutdown thread (no java peer)", in ~Runtime()
2111 bool Runtime::AttachCurrentThread(const char* thread_name, bool as_daemon, jobject thread_group, in AttachCurrentThread() function in art::Runtime
Druntime.h263 bool AttachCurrentThread(const char* thread_name, bool as_daemon, jobject thread_group,
Dreflection_test.cc45 vm_->AttachCurrentThread(&env_, nullptr); in SetUp()
Dtrace.cc277 CHECK(runtime->AttachCurrentThread("Sampling Profiler", true, runtime->GetSystemThreadGroup(), in RunSamplingThread()
/art/tools/jvmti-agents/wrapagentproperties/
Dwrapagentproperties.cc84 return vm->real_vm->AttachCurrentThread(env, res); in WrapAttachCurrentThread()
114 out->AttachCurrentThread = in CreateInvokeInterface()
/art/perfetto_hprof/
Dperfetto_hprof.cc714 if (!runtime->AttachCurrentThread("perfetto_hprof_listener", /*as_daemon=*/ true, in ArtPlugin_Initialize()
/art/runtime/jit/
Dprofile_saver.cc661 bool attached = runtime->AttachCurrentThread("Profile Saver", in RunProfileSaverThread()
Djit.cc1715 bool thread_attached = runtime->AttachCurrentThread( in RunPollingThread()
/art/test/004-JniTest/
Djni_test.cc62 int attach_result = jvm->AttachCurrentThread(&env, &args); in AttachHelper()
/art/dex2oat/
Ddex2oat.cc653 runtime->AttachCurrentThread("Watchdog thread attached for dumping", in Fatal()