/art/runtime/jni/ |
D | jni_env_ext.cc | 46 const JNINativeInterface* JNIEnvExt::table_override_ = nullptr; 48 jint JNIEnvExt::GetEnvHandler(JavaVMExt* vm, /*out*/void** env, jint version) { in GetEnvHandler() 62 JNIEnvExt* JNIEnvExt::Create(Thread* self_in, JavaVMExt* vm_in, std::string* error_msg) { in Create() 63 std::unique_ptr<JNIEnvExt> ret(new JNIEnvExt(self_in, vm_in)); in Create() 70 JNIEnvExt::JNIEnvExt(Thread* self_in, JavaVMExt* vm_in) in JNIEnvExt() function in art::JNIEnvExt 85 bool JNIEnvExt::Initialize(std::string* error_msg) { in Initialize() 89 void JNIEnvExt::SetFunctionsToRuntimeShutdownFunctions() { in SetFunctionsToRuntimeShutdownFunctions() 93 JNIEnvExt::~JNIEnvExt() { in ~JNIEnvExt() 96 jobject JNIEnvExt::NewLocalRef(mirror::Object* obj) { in NewLocalRef() 110 void JNIEnvExt::DeleteLocalRef(jobject obj) { in DeleteLocalRef() [all …]
|
D | jni_env_ext.h | 40 class JNIEnvExt : public JNIEnv { 44 static JNIEnvExt* Create(Thread* self, JavaVMExt* vm, std::string* error_msg); 50 ~JNIEnvExt(); 159 JNIEnvExt(Thread* self, JavaVMExt* vm) 220 explicit ScopedJniEnvLocalRefState(JNIEnvExt* env) : in ScopedJniEnvLocalRefState() 232 JNIEnvExt* const env_;
|
D | jni_env_ext-inl.h | 28 inline T JNIEnvExt::AddLocalReference(ObjPtr<mirror::Object> obj) { in AddLocalReference() 53 inline void JNIEnvExt::UpdateLocal(IndirectRef iref, ObjPtr<mirror::Object> obj) { in UpdateLocal()
|
D | jni_internal_test.cc | 937 return reinterpret_cast<JNIEnvExt*>(env)->GetLocalsCapacity(); in GetLocalsCapacity() 1124 down_cast<JNIEnvExt*>(env_)->SetCheckJniEnabled(false); \ 1147 down_cast<JNIEnvExt*>(env_)->SetCheckJniEnabled(true); \ 1572 const JNINativeInterface* base_env = down_cast<JNIEnvExt*>(env_)->GetUncheckedFunctions(); in TEST_F() 2604 EXPECT_EQ(OFFSETOF_MEMBER(JNIEnvExt, local_ref_cookie_), in TEST_F() 2605 JNIEnvExt::LocalRefCookieOffset(sizeof(void*)).Uint32Value()); in TEST_F() 2607 EXPECT_EQ(OFFSETOF_MEMBER(JNIEnvExt, self_), JNIEnvExt::SelfOffset(sizeof(void*)).Uint32Value()); in TEST_F() 2612 OFFSETOF_MEMBER(JNIEnvExt, locals_) + in TEST_F() 2614 uint32_t segment_state_computed = JNIEnvExt::SegmentStateOffset(sizeof(void*)).Uint32Value(); in TEST_F() 2639 JNIEnvExt::SetTableOverride(&env_override); in TEST_F() [all …]
|
D | jni_internal.cc | 616 return reinterpret_cast<JNIEnvExt*>(env)->GetVm(); in JavaVmExtFromEnv() 780 return static_cast<JNIEnvExt*>(env)->self_->IsExceptionPending() ? JNI_TRUE : JNI_FALSE; in ExceptionCheck() 834 down_cast<JNIEnvExt*>(env)->PushFrame(capacity); in PushLocalFrame() 858 JavaVMExt* vm = down_cast<JNIEnvExt*>(env)->GetVm(); in DeleteGlobalRef() 859 Thread* self = down_cast<JNIEnvExt*>(env)->self_; in DeleteGlobalRef() 870 JavaVMExt* vm = down_cast<JNIEnvExt*>(env)->GetVm(); in DeleteWeakGlobalRef() 871 Thread* self = down_cast<JNIEnvExt*>(env)->self_; in DeleteWeakGlobalRef() 893 auto* ext_env = down_cast<JNIEnvExt*>(env); in DeleteLocalRef() 2632 bool warn_on_going_to_parent = down_cast<JNIEnvExt*>(env)->GetVm()->IsCheckJniEnabled(); in RegisterNatives()
|
/art/test/2033-shutdown-mechanics/ |
D | native_shutdown.cc | 40 JNIEnvExt* const extEnv = down_cast<JNIEnvExt*>(env); in Java_Main_monitorShutdown()
|
/art/openjdkjvmti/ |
D | ti_jni.cc | 52 art::JNIEnvExt::SetTableOverride(function_table); in SetJNIFunctionTable() 75 current_table = art::JNIEnvExt::GetFunctionTable(check_jni); in GetJNIFunctionTable()
|
D | events.cc | 265 static Type AddLocalRef(art::JNIEnvExt* e, art::ObjPtr<art::mirror::Object> obj) in AddLocalRef() 273 art::JNIEnvExt* jnienv, in RunEventCallback() 332 art::JNIEnvExt* jni_env = self->GetJniEnv(); in ObjectAllocated() 370 art::JNIEnvExt* jnienv = self->GetJniEnv(); in MonitorContendedLocking() 384 art::JNIEnvExt* jnienv = self->GetJniEnv(); in MonitorContendedLocked() 398 art::JNIEnvExt* jnienv = self->GetJniEnv(); in ObjectWaitStart() 425 art::JNIEnvExt* jnienv = self->GetJniEnv(); in MonitorWaitFinished() 448 art::JNIEnvExt* jnienv = self->GetJniEnv(); in ThreadParkStart() 505 art::JNIEnvExt* jnienv = self->GetJniEnv(); in ThreadParkFinished() 628 art::JNIEnvExt* jnienv = self->GetJniEnv(); in MethodEntered() [all …]
|
D | ti_object.cc | 89 art::JNIEnvExt* jni = self->GetJniEnv(); in GetObjectMonitorUsage()
|
D | jvmti_weak_table-inl.h | 335 art::JNIEnvExt* jni_env = self->GetJniEnv();
|
/art/runtime/ |
D | scoped_thread_state_change.h | 30 class JNIEnvExt; variable 77 JNIEnvExt* Env() const { in Env() 128 JNIEnvExt* const env_;
|
D | non_debuggable_classes.cc | 33 JNIEnvExt* env = self->GetJniEnv(); in AddNonDebuggableClass()
|
D | scoped_thread_state_change-inl.h | 97 : self_(Thread::ForEnv(env)), env_(down_cast<JNIEnvExt*>(env)), vm_(env_->GetVm()) {} in ScopedObjectAccessAlreadyRunnable() 101 env_(down_cast<JNIEnvExt*>(self->GetJniEnv())), in ScopedObjectAccessAlreadyRunnable()
|
D | thread-inl.h | 39 JNIEnvExt* full_env(down_cast<JNIEnvExt*>(env)); in ForEnv()
|
D | thread.h | 99 class JNIEnvExt; variable 654 JNIEnvExt* GetJniEnv() const { in GetJniEnv() 1583 bool Init(ThreadList*, JavaVMExt*, JNIEnvExt* jni_env_ext = nullptr) 1979 JNIEnvExt* jni_env; in PACKED() 1983 JNIEnvExt* tmp_jni_env; in PACKED()
|
/art/test/136-daemon-jni-shutdown/ |
D | daemon_jni_shutdown.cc | 61 JavaVM* vm = down_cast<JNIEnvExt*>(env)->GetVm(); in Java_Main_destroyJavaVMAndExit()
|
/art/compiler/trampolines/ |
D | trampoline_compiler.cc | 69 ___ Ldr(temp_reg, MemOperand(r0, JNIEnvExt::SelfOffset(4).Int32Value())); in CreateTrampoline() 106 Offset(JNIEnvExt::SelfOffset(8).Int32Value())); in CreateTrampoline()
|
/art/compiler/jni/quick/ |
D | jni_compiler.cc | 743 const MemberOffset jni_env_cookie_offset = JNIEnvExt::LocalRefCookieOffset(kRawPointerSize); in PushLocalReferenceFrame() 744 const MemberOffset jni_env_segment_state_offset = JNIEnvExt::SegmentStateOffset(kRawPointerSize); in PushLocalReferenceFrame() 760 const MemberOffset jni_env_cookie_offset = JNIEnvExt::LocalRefCookieOffset(kRawPointerSize); in PopLocalReferenceFrame() 761 const MemberOffset jni_env_segment_state_offset = JNIEnvExt::SegmentStateOffset(kRawPointerSize); in PopLocalReferenceFrame()
|
/art/runtime/native/ |
D | org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc | 45 return static_cast<JNIEnvExt*>(env)->GetSelf(); in GetSelf()
|
D | java_lang_Thread.cc | 40 return static_cast<JNIEnvExt*>(env)->GetSelf()->Interrupted() ? JNI_TRUE : JNI_FALSE; in Thread_interrupted()
|
/art/runtime/entrypoints/jni/ |
D | jni_entrypoints.cc | 112 JavaVMExt* vm = down_cast<JNIEnvExt*>(self->GetJniEnv())->GetVm(); in artFindNativeMethodRunnable()
|
/art/runtime/entrypoints/quick/ |
D | quick_jni_entrypoints.cc | 80 JNIEnvExt* env = self->GetJniEnv(); in PopLocalReferences()
|
D | quick_trampoline_entrypoints.cc | 821 JNIEnvExt* env = self->GetJniEnv(); in artQuickProxyInvokeHandler() 1126 JNIEnvExt* env = self->GetJniEnv(); in artQuickResolutionTrampoline() 2036 JNIEnvExt* env = self->GetJniEnv(); in artQuickGenericJniTrampoline() 2329 JNIEnvExt* env = self->GetJniEnv(); in artInvokePolymorphic() 2455 JNIEnvExt* env = self->GetJniEnv(); in artInvokeCustom()
|
/art/openjdkjvm/ |
D | OpenjdkJvm.cc | 419 return static_cast<art::JNIEnvExt*>(env)->GetSelf()->Interrupted() ? JNI_TRUE : JNI_FALSE; in JVM_IsInterrupted()
|
/art/runtime/base/ |
D | mutex.cc | 84 JNIEnvExt* const env = self->GetJniEnv(); in SleepIfRuntimeDeleted() 134 JNIEnvExt* const env = self == nullptr ? nullptr : self->GetJniEnv(); in WaitBrieflyFor()
|