Home
last modified time | relevance | path

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

/art/runtime/jni/
Djava_vm_ext_test.cc73 ok = vms_buf[0]->AttachCurrentThread(&env, nullptr); in attach_current_thread_callback()
91 TEST_F(JavaVmExtTest, AttachCurrentThread) { in TEST_F() argument
134 jint ok = vm_->AttachCurrentThread(&env, nullptr); in TEST_F()
154 jint ok = vm_->AttachCurrentThread(&env, nullptr); in TEST_F()
Djava_vm_ext.cc417 static jint AttachCurrentThread(JavaVM* vm, JNIEnv** p_env, void* thr_args) { in AttachCurrentThread() function in art::JII
483 if (!runtime->AttachCurrentThread(thread_name, as_daemon, thread_group, in AttachCurrentThreadInternal()
499 JII::AttachCurrentThread,
Dcheck_jni.cc310 Runtime::Current()->GetJavaVM()->AttachCurrentThread(&env, /* thr_args= */ nullptr); in CheckAttachedThread()
4074 static jint AttachCurrentThread(JavaVM* vm, JNIEnv** p_env, void* thr_args) { in AttachCurrentThread() function in art::__anon846bc2ca0111::CheckJII
4079 result.i = BaseVm(vm)->AttachCurrentThread(vm, p_env, thr_args); in AttachCurrentThread()
4125 CheckJII::AttachCurrentThread,
Djni_internal_test.cc45 vm_->AttachCurrentThread(&env_, nullptr); in SetUp()
2567 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/test/2037-thread-name-inherit/
Dthread_name_inherit.cc39 args->jvm->AttachCurrentThread(&env, args->attach_args); in ThreadMain()
/art/runtime/
Dsignal_catcher.cc185 CHECK(runtime->AttachCurrentThread("Signal Catcher", true, runtime->GetSystemThreadGroup(), in Run()
Dthread_pool.cc137 CHECK(runtime->AttachCurrentThread( in Callback()
Druntime_callbacks_test.cc94 CHECK(runtime->AttachCurrentThread("ThreadLifecycle test thread", true, nullptr, false)); in PthreadsCallback()
Dreflection_test.cc44 vm_->AttachCurrentThread(&env_, nullptr); in SetUp()
Druntime.cc358 bool thread_attached = AttachCurrentThread("Shutdown thread", in ~Runtime()
365 CHECK(AttachCurrentThread("Shutdown thread (no java peer)", in ~Runtime()
2561 bool Runtime::AttachCurrentThread(const char* thread_name, bool as_daemon, jobject thread_group, in AttachCurrentThread() function in art::Runtime
Druntime.h305 EXPORT bool AttachCurrentThread(const char* thread_name,
Dtrace.cc543 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/runtime/metrics/
Dreporter.cc122 const bool attached = runtime_->AttachCurrentThread(kBackgroundThreadName, in BackgroundThreadRun()
/art/test/004-JniTest/
Djni_test.cc62 int attach_result = jvm->AttachCurrentThread(&env, &args); in AttachHelper()
/art/runtime/jit/
Dprofile_saver.cc937 bool attached = runtime->AttachCurrentThread("Profile Saver", in RunProfileSaverThread()
Djit.cc1484 bool thread_attached = runtime->AttachCurrentThread( in RunPollingThread()
/art/perfetto_hprof/
Dperfetto_hprof.cc1209 if (!runtime->AttachCurrentThread("perfetto_hprof_listener", /*as_daemon=*/ true, in ArtPlugin_Initialize()
/art/dex2oat/
Ddex2oat.cc375 runtime->AttachCurrentThread("Watchdog thread attached for dumping", in Fatal()