/art/runtime/ |
H A D | jni_env_ext.cc | 43 const JNINativeInterface* JNIEnvExt::table_override_ = nullptr; 45 bool JNIEnvExt::CheckLocalsValid(JNIEnvExt* in) NO_THREAD_SAFETY_ANALYSIS { 52 jint JNIEnvExt::GetEnvHandler(JavaVMExt* vm, /*out*/void** env, jint version) { 66 JNIEnvExt* JNIEnvExt::Create(Thread* self_in, JavaVMExt* vm_in, std::string* error_msg) { 67 std::unique_ptr<JNIEnvExt> ret(new JNIEnvExt(self_in, vm_in, error_msg)); 74 JNIEnvExt::JNIEnvExt(Threa function in class:art::JNIEnvExt [all...] |
H A D | non_debuggable_classes.cc | 31 JNIEnvExt* env = self->GetJniEnv();
|
H A D | jni_env_ext-inl.h | 27 inline T JNIEnvExt::AddLocalReference(ObjPtr<mirror::Object> obj) {
|
H A D | jni_env_ext.h | 40 class JNIEnvExt : public JNIEnv { class in namespace:art 42 // Creates a new JNIEnvExt. Returns null on error, in which case error_msg 44 static JNIEnvExt* Create(Thread* self, JavaVMExt* vm, std::string* error_msg); 50 ~JNIEnvExt(); 150 static bool CheckLocalsValid(JNIEnvExt* in) NO_THREAD_SAFETY_ANALYSIS; 158 JNIEnvExt(Thread* self, JavaVMExt* vm, std::string* error_msg) 208 // Used to save and restore the JNIEnvExt state when not going through code created by the JNI 212 explicit ScopedJniEnvLocalRefState(JNIEnvExt* env) : 224 JNIEnvExt* const env_;
|
H A D | scoped_thread_state_change.h | 30 class JNIEnvExt; 75 JNIEnvExt* Env() const { 126 JNIEnvExt* const env_;
|
H A D | scoped_thread_state_change-inl.h | 100 : self_(ThreadForEnv(env)), env_(down_cast<JNIEnvExt*>(env)), vm_(env_->GetVm()) {} 104 env_(down_cast<JNIEnvExt*>(self->GetJniEnv())),
|
H A D | thread-inl.h | 36 JNIEnvExt* full_env(down_cast<JNIEnvExt*>(env));
|
H A D | thread.h | 89 class JNIEnvExt; 536 JNIEnvExt* GetJniEnv() const { 1341 // The third parameter is not mandatory. If given, the thread will use this JNIEnvExt. In case 1343 // responsibility to destroy the given JNIEnvExt. If the parameter is null, Init will try to 1344 // create a JNIEnvExt on its own (and potentially fail at that stage, indicated by a return value 1346 bool Init(ThreadList*, JavaVMExt*, JNIEnvExt* jni_env_ext = nullptr) 1596 JNIEnvExt* jni_env; 1598 // Temporary storage to transfer a pre-allocated JNIEnvExt from the creating thread to the 1600 JNIEnvExt* tmp_jni_env;
|
H A D | jni_internal_test.cc | 937 return reinterpret_cast<JNIEnvExt*>(env)->GetLocalsCapacity(); 1124 down_cast<JNIEnvExt*>(env_)->SetCheckJniEnabled(false); \ 1147 down_cast<JNIEnvExt*>(env_)->SetCheckJniEnabled(true); \ 2469 // Test the offset computation of JNIEnvExt offsets. b/26071368. 2471 EXPECT_EQ(OFFSETOF_MEMBER(JNIEnvExt, local_ref_cookie_), 2472 JNIEnvExt::LocalRefCookieOffset(sizeof(void*)).Uint32Value()); 2474 EXPECT_EQ(OFFSETOF_MEMBER(JNIEnvExt, self_), JNIEnvExt::SelfOffset(sizeof(void*)).Uint32Value()); 2479 OFFSETOF_MEMBER(JNIEnvExt, locals_) + 2481 uint32_t segment_state_computed = JNIEnvExt [all...] |
H A D | jni_internal.cc | 409 return reinterpret_cast<JNIEnvExt*>(env)->GetVm(); 571 return static_cast<JNIEnvExt*>(env)->self_->IsExceptionPending() ? JNI_TRUE : JNI_FALSE; 625 down_cast<JNIEnvExt*>(env)->PushFrame(capacity); 649 JavaVMExt* vm = down_cast<JNIEnvExt*>(env)->GetVm(); 650 Thread* self = down_cast<JNIEnvExt*>(env)->self_; 661 JavaVMExt* vm = down_cast<JNIEnvExt*>(env)->GetVm(); 662 Thread* self = down_cast<JNIEnvExt*>(env)->self_; 684 auto* ext_env = down_cast<JNIEnvExt*>(env); 2336 bool warn_on_going_to_parent = down_cast<JNIEnvExt*>(env)->GetVm()->IsCheckJniEnabled(); 2484 return static_cast<JNIEnvExt*>(en [all...] |
H A D | thread.cc | 625 Thread* self = static_cast<JNIEnvExt*>(env)->GetSelf(); 672 // Try to allocate a JNIEnvExt for the thread. We do this here as we might be out of memory and 675 std::unique_ptr<JNIEnvExt> child_jni_env_ext( 676 JNIEnvExt::Create(child_thread, Runtime::Current()->GetJavaVM(), &error_msg)); 695 // JNIEnvExt we created. 703 // Either JNIEnvExt::Create or pthread_create(3) failed, so clean up. 725 bool Thread::Init(ThreadList* thread_list, JavaVMExt* java_vm, JNIEnvExt* jni_env_ext) { 763 tlsPtr_.jni_env = JNIEnvExt::Create(this, java_vm, &error_msg); 765 LOG(ERROR) << "Failed to create JNIEnvExt: " << error_msg;
|
H A D | check_jni.cc | 1297 JNIEnvExt* threadEnv = self->GetJniEnv(); 1303 Thread* envThread = reinterpret_cast<JNIEnvExt*>(env)->GetSelf(); 2639 down_cast<JNIEnvExt*>(env)->RecordMonitorEnter(obj); 2657 down_cast<JNIEnvExt*>(env)->CheckMonitorRelease(obj); 2756 return reinterpret_cast<JNIEnvExt*>(env)->GetVm(); 2760 return reinterpret_cast<JNIEnvExt*>(env)->GetUncheckedFunctions();
|
H A D | common_throws.cc | 768 JNIEnvExt* env = self->GetJniEnv();
|
/art/openjdkjvmti/ |
H A D | ti_jni.cc | 52 art::JNIEnvExt::SetTableOverride(function_table); 61 // We use the generic JNIEnvExt::GetFunctionTable instead of querying a specific JNIEnv, as 75 current_table = art::JNIEnvExt::GetFunctionTable(check_jni);
|
H A D | events.cc | 236 static Type AddLocalRef(art::JNIEnvExt* e, art::mirror::Object* obj) 244 art::JNIEnvExt* jnienv, 304 art::JNIEnvExt* jni_env = self->GetJniEnv(); 343 art::JNIEnvExt* jnienv = self->GetJniEnv(); 357 art::JNIEnvExt* jnienv = self->GetJniEnv(); 371 art::JNIEnvExt* jnienv = self->GetJniEnv(); 398 art::JNIEnvExt* jnienv = self->GetJniEnv(); 490 art::JNIEnvExt* jnienv = self->GetJniEnv(); 511 art::JNIEnvExt* jnienv = self->GetJniEnv(); 537 art::JNIEnvExt* jnien [all...] |
H A D | ti_object.cc | 89 art::JNIEnvExt* jni = self->GetJniEnv();
|
H A D | jvmti_weak_table-inl.h | 333 art::JNIEnvExt* jni_env = self->GetJniEnv();
|
/art/test/136-daemon-jni-shutdown/ |
H A D | daemon_jni_shutdown.cc | 61 JavaVM* vm = down_cast<JNIEnvExt*>(env)->GetVm();
|
/art/compiler/trampolines/ |
H A D | trampoline_compiler.cc | 76 ___ Ldr(temp_reg, MemOperand(r0, JNIEnvExt::SelfOffset(4).Int32Value())); 113 Offset(JNIEnvExt::SelfOffset(8).Int32Value())); 148 __ LoadFromOffset(kLoadWord, T9, A0, JNIEnvExt::SelfOffset(4).Int32Value()); 180 __ LoadFromOffset(kLoadDoubleword, T9, A0, JNIEnvExt::SelfOffset(8).Int32Value());
|
/art/runtime/entrypoints/quick/ |
H A D | quick_jni_entrypoints.cc | 52 JNIEnvExt* env = self->GetJniEnv(); 67 JNIEnvExt* env = self->GetJniEnv(); 117 JNIEnvExt* env = self->GetJniEnv();
|
H A D | quick_trampoline_entrypoints.cc | 928 JNIEnvExt* env = self->GetJniEnv(); 1296 JNIEnvExt* env = self->GetJniEnv(); 2756 JNIEnvExt* env = self->GetJniEnv();
|
/art/runtime/native/ |
H A D | org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc | 36 return static_cast<JNIEnvExt*>(env)->GetSelf();
|
H A D | java_lang_Thread.cc | 40 return static_cast<JNIEnvExt*>(env)->GetSelf()->Interrupted() ? JNI_TRUE : JNI_FALSE;
|
/art/openjdkjvm/ |
H A D | OpenjdkJvm.cc | 388 return static_cast<art::JNIEnvExt*>(env)->GetSelf()->Interrupted() ? JNI_TRUE : JNI_FALSE;
|
/art/compiler/jni/quick/ |
H A D | jni_compiler.cc | 224 const Offset functions(OFFSETOF_MEMBER(JNIEnvExt, functions));
|