/aosp12/art/runtime/jni/ |
H A D | java_vm_ext_test.cc | 69 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()
|
H A D | java_vm_ext.cc | 402 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,
|
/aosp12/frameworks/base/native/webview/plat_support/ |
H A D | jni_entry_point.cpp | 32 jint ret = vm->AttachCurrentThread(&env, NULL); in JNI_OnLoad()
|
/aosp12/art/test/169-threadgroup-jni/ |
H A D | jni_daemon_thread.cc | 33 int attach_result = vm->AttachCurrentThread(&env, &args); in Runner()
|
/aosp12/packages/services/Car/service/jni/evs/ |
H A D | EvsCallbackThread.cpp | 39 if (mVm->AttachCurrentThread(&env, &args) != JNI_OK || env == nullptr) { in threadLoop()
|
/aosp12/frameworks/base/services/core/jni/BroadcastRadio/ |
H A D | NativeCallbackThread.cpp | 45 if (mvm->AttachCurrentThread(&env, &aargs) != JNI_OK || env == nullptr) { in threadLoop()
|
/aosp12/packages/apps/Nfc/nci/jni/ |
H A D | NfcJniUtil.h | 126 vm_->AttachCurrentThread(env, NULL); in ScopedAttach()
|
/aosp12/system/incremental_delivery/libdataloader/ |
H A D | JNIHelpers.h | 81 int result = jvm->AttachCurrentThread(&env, nullptr); in GetOrAttachJNIEnvironment()
|
/aosp12/art/test/2037-thread-name-inherit/ |
H A D | thread_name_inherit.cc | 39 args->jvm->AttachCurrentThread(&env, args->attach_args); in ThreadMain()
|
/aosp12/art/tools/jvmti-agents/wrapagentproperties/ |
H A D | wrapagentproperties.cc | 84 return vm->real_vm->AttachCurrentThread(env, res); in WrapAttachCurrentThread() 114 out->AttachCurrentThread = in CreateInvokeInterface()
|
/aosp12/frameworks/base/core/jni/ |
H A D | core_jni_helpers.h | 124 int result = jvm->AttachCurrentThread(&env, nullptr);
|
H A D | android_graphics_SurfaceTexture.cpp | 170 int result = vm->AttachCurrentThread(&env, (void*) &args); in getJNIEnv()
|
/aosp12/art/runtime/ |
H A D | signal_catcher.cc | 176 CHECK(runtime->AttachCurrentThread("Signal Catcher", true, runtime->GetSystemThreadGroup(), in Run()
|
H A D | thread_pool.cc | 122 CHECK(runtime->AttachCurrentThread( in Callback()
|
H A D | runtime_callbacks_test.cc | 94 CHECK(runtime->AttachCurrentThread("ThreadLifecycle test thread", true, nullptr, false)); in PthreadsCallback()
|
H A D | runtime.cc | 338 bool thread_attached = AttachCurrentThread("Shutdown thread", in ~Runtime() 344 CHECK(AttachCurrentThread("Shutdown thread (no java peer)", in ~Runtime() 2327 bool Runtime::AttachCurrentThread(const char* thread_name, bool as_daemon, jobject thread_group, in AttachCurrentThread() function in art::Runtime
|
/aosp12/frameworks/base/services/core/jni/gnss/ |
H A D | Utils.h | 160 jint attachResult = sJvm->AttachCurrentThread(&mEnv, nullptr); in ScopedJniThreadAttach()
|
/aosp12/packages/services/BuiltInPrintService/jni/plugins/ |
H A D | pdf_render.c | 151 if ((*_JVM)->AttachCurrentThread(_JVM, &self->env, NULL) < 0) { in create_pdf_render_ifc()
|
/aosp12/frameworks/native/services/sensorservice/hidl/ |
H A D | SensorManager.cpp | 163 if (javaVm->AttachCurrentThread(&env, &args) != JNI_OK) { in getLooper()
|
/aosp12/art/runtime/metrics/ |
H A D | reporter.cc | 121 const bool attached = runtime_->AttachCurrentThread(kBackgroundThreadName, in BackgroundThreadRun()
|
/aosp12/system/extras/module_ndk_libs/libnativehelper/include_jni/ |
H A D | jni.h | 1042 jint (*AttachCurrentThread)(JavaVM*, JNIEnv**, void*); member 1057 jint AttachCurrentThread(JNIEnv** p_env, void* thr_args) in AttachCurrentThread() function 1058 { return functions->AttachCurrentThread(this, p_env, thr_args); } in AttachCurrentThread()
|
/aosp12/libnativehelper/include_jni/ |
H A D | jni.h | 1042 jint (*AttachCurrentThread)(JavaVM*, JNIEnv**, void*); member 1057 jint AttachCurrentThread(JNIEnv** p_env, void* thr_args) in AttachCurrentThread() function 1058 { return functions->AttachCurrentThread(this, p_env, thr_args); } in AttachCurrentThread()
|
/aosp12/frameworks/base/services/incremental/ |
H A D | ServiceWrappers.cpp | 467 int result = jvm->AttachCurrentThread(&env, nullptr); in getOrAttachJniEnv()
|
/aosp12/packages/providers/MediaProvider/jni/ |
H A D | MediaProviderWrapper.cpp | 569 CHECK_EQ(gJavaVm->AttachCurrentThread(&env, nullptr), 0); in MaybeAttachCurrentThread()
|
/aosp12/packages/apps/Bluetooth/jni/ |
H A D | com_android_bluetooth_btservice_AdapterService.cpp | 574 vm->AttachCurrentThread(&callbackEnv, &args); in callback_thread_event() 669 if (vm_->AttachCurrentThread(&env_, &args) != 0) { in JNIThreadAttacher()
|