Home
last modified time | relevance | path

Searched refs:JNIEnvExt (Results 1 – 25 of 34) sorted by relevance

12

/art/runtime/jni/
Djni_env_ext.cc45 const JNINativeInterface* JNIEnvExt::table_override_ = nullptr;
47 bool JNIEnvExt::CheckLocalsValid(JNIEnvExt* in) NO_THREAD_SAFETY_ANALYSIS { in CheckLocalsValid()
54 jint JNIEnvExt::GetEnvHandler(JavaVMExt* vm, /*out*/void** env, jint version) { in GetEnvHandler()
68 JNIEnvExt* JNIEnvExt::Create(Thread* self_in, JavaVMExt* vm_in, std::string* error_msg) { in Create()
69 std::unique_ptr<JNIEnvExt> ret(new JNIEnvExt(self_in, vm_in, error_msg)); in Create()
76 JNIEnvExt::JNIEnvExt(Thread* self_in, JavaVMExt* vm_in, std::string* error_msg) in JNIEnvExt() function in art::JNIEnvExt
91 void JNIEnvExt::SetFunctionsToRuntimeShutdownFunctions() { in SetFunctionsToRuntimeShutdownFunctions()
95 JNIEnvExt::~JNIEnvExt() { in ~JNIEnvExt()
98 jobject JNIEnvExt::NewLocalRef(mirror::Object* obj) { in NewLocalRef()
112 void JNIEnvExt::DeleteLocalRef(jobject obj) { in DeleteLocalRef()
[all …]
Djni_env_ext.h44 class JNIEnvExt : public JNIEnv {
48 static JNIEnvExt* Create(Thread* self, JavaVMExt* vm, std::string* error_msg);
54 ~JNIEnvExt();
161 static bool CheckLocalsValid(JNIEnvExt* in) NO_THREAD_SAFETY_ANALYSIS;
169 JNIEnvExt(Thread* self, JavaVMExt* vm, std::string* error_msg)
226 explicit ScopedJniEnvLocalRefState(JNIEnvExt* env) : in ScopedJniEnvLocalRefState()
238 JNIEnvExt* const env_;
Djni_env_ext-inl.h27 inline T JNIEnvExt::AddLocalReference(ObjPtr<mirror::Object> obj) { in AddLocalReference()
Djni_internal_test.cc937 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()
2592 EXPECT_EQ(OFFSETOF_MEMBER(JNIEnvExt, local_ref_cookie_), in TEST_F()
2593 JNIEnvExt::LocalRefCookieOffset(sizeof(void*)).Uint32Value()); in TEST_F()
2595 EXPECT_EQ(OFFSETOF_MEMBER(JNIEnvExt, self_), JNIEnvExt::SelfOffset(sizeof(void*)).Uint32Value()); in TEST_F()
2600 OFFSETOF_MEMBER(JNIEnvExt, locals_) + in TEST_F()
2602 uint32_t segment_state_computed = JNIEnvExt::SegmentStateOffset(sizeof(void*)).Uint32Value(); in TEST_F()
2627 JNIEnvExt::SetTableOverride(&env_override); in TEST_F()
[all …]
Djni_internal.cc539 return reinterpret_cast<JNIEnvExt*>(env)->GetVm(); in JavaVmExtFromEnv()
703 return static_cast<JNIEnvExt*>(env)->self_->IsExceptionPending() ? JNI_TRUE : JNI_FALSE; in ExceptionCheck()
757 down_cast<JNIEnvExt*>(env)->PushFrame(capacity); in PushLocalFrame()
781 JavaVMExt* vm = down_cast<JNIEnvExt*>(env)->GetVm(); in DeleteGlobalRef()
782 Thread* self = down_cast<JNIEnvExt*>(env)->self_; in DeleteGlobalRef()
793 JavaVMExt* vm = down_cast<JNIEnvExt*>(env)->GetVm(); in DeleteWeakGlobalRef()
794 Thread* self = down_cast<JNIEnvExt*>(env)->self_; in DeleteWeakGlobalRef()
816 auto* ext_env = down_cast<JNIEnvExt*>(env); in DeleteLocalRef()
2536 bool warn_on_going_to_parent = down_cast<JNIEnvExt*>(env)->GetVm()->IsCheckJniEnabled(); in RegisterNatives()
2685 return static_cast<JNIEnvExt*>(env)->self_->IsExceptionPending() ? nullptr : result; in NewDirectByteBuffer()
/art/test/2033-shutdown-mechanics/
Dnative_shutdown.cc40 JNIEnvExt* const extEnv = down_cast<JNIEnvExt*>(env); in Java_Main_monitorShutdown()
/art/openjdkjvmti/
Dti_jni.cc52 art::JNIEnvExt::SetTableOverride(function_table); in SetJNIFunctionTable()
75 current_table = art::JNIEnvExt::GetFunctionTable(check_jni); in GetJNIFunctionTable()
Devents.cc266 static Type AddLocalRef(art::JNIEnvExt* e, art::ObjPtr<art::mirror::Object> obj) in AddLocalRef()
274 art::JNIEnvExt* jnienv, in RunEventCallback()
333 art::JNIEnvExt* jni_env = self->GetJniEnv(); in ObjectAllocated()
371 art::JNIEnvExt* jnienv = self->GetJniEnv(); in MonitorContendedLocking()
385 art::JNIEnvExt* jnienv = self->GetJniEnv(); in MonitorContendedLocked()
399 art::JNIEnvExt* jnienv = self->GetJniEnv(); in ObjectWaitStart()
426 art::JNIEnvExt* jnienv = self->GetJniEnv(); in MonitorWaitFinished()
449 art::JNIEnvExt* jnienv = self->GetJniEnv(); in ThreadParkStart()
507 art::JNIEnvExt* jnienv = self->GetJniEnv(); in ThreadParkFinished()
634 art::JNIEnvExt* jnienv = self->GetJniEnv(); in MethodEntered()
[all …]
Dti_object.cc89 art::JNIEnvExt* jni = self->GetJniEnv(); in GetObjectMonitorUsage()
Djvmti_weak_table-inl.h333 art::JNIEnvExt* jni_env = self->GetJniEnv();
/art/runtime/
Dscoped_thread_state_change.h30 class JNIEnvExt; variable
77 JNIEnvExt* Env() const { in Env()
128 JNIEnvExt* const env_;
Dnon_debuggable_classes.cc32 JNIEnvExt* env = self->GetJniEnv(); in AddNonDebuggableClass()
Dscoped_thread_state_change-inl.h97 : self_(ThreadForEnv(env)), env_(down_cast<JNIEnvExt*>(env)), vm_(env_->GetVm()) {} in ScopedObjectAccessAlreadyRunnable()
101 env_(down_cast<JNIEnvExt*>(self->GetJniEnv())), in ScopedObjectAccessAlreadyRunnable()
Dthread-inl.h38 JNIEnvExt* full_env(down_cast<JNIEnvExt*>(env)); in ThreadForEnv()
Dthread.h94 class JNIEnvExt; variable
564 JNIEnvExt* GetJniEnv() const { in GetJniEnv()
1435 bool Init(ThreadList*, JavaVMExt*, JNIEnvExt* jni_env_ext = nullptr)
1720 JNIEnvExt* jni_env; in PACKED()
1724 JNIEnvExt* tmp_jni_env; in PACKED()
Dhidden_api.cc294 JNIEnvExt* env = Thread::Current()->GetJniEnv(); in LogAccessToEventLog()
/art/test/136-daemon-jni-shutdown/
Ddaemon_jni_shutdown.cc61 JavaVM* vm = down_cast<JNIEnvExt*>(env)->GetVm(); in Java_Main_destroyJavaVMAndExit()
/art/runtime/entrypoints/quick/
Dquick_jni_entrypoints.cc64 JNIEnvExt* env = self->GetJniEnv(); in JniMethodFastStart()
79 JNIEnvExt* env = self->GetJniEnv(); in JniMethodStart()
128 JNIEnvExt* env = self->GetJniEnv(); in PopLocalReferences()
Dquick_trampoline_entrypoints.cc819 JNIEnvExt* env = self->GetJniEnv(); in artQuickProxyInvokeHandler()
1227 JNIEnvExt* env = self->GetJniEnv(); in artQuickResolutionTrampoline()
2417 JNIEnvExt* env = self->GetJniEnv(); in artInvokePolymorphic()
2540 JNIEnvExt* env = self->GetJniEnv(); in artInvokeCustom()
/art/compiler/trampolines/
Dtrampoline_compiler.cc69 ___ Ldr(temp_reg, MemOperand(r0, JNIEnvExt::SelfOffset(4).Int32Value())); in CreateTrampoline()
106 Offset(JNIEnvExt::SelfOffset(8).Int32Value())); in CreateTrampoline()
/art/runtime/native/
Dorg_apache_harmony_dalvik_ddmc_DdmVmInternal.cc45 return static_cast<JNIEnvExt*>(env)->GetSelf(); in GetSelf()
Djava_lang_Thread.cc40 return static_cast<JNIEnvExt*>(env)->GetSelf()->Interrupted() ? JNI_TRUE : JNI_FALSE; in Thread_interrupted()
/art/runtime/entrypoints/jni/
Djni_entrypoints.cc110 JavaVMExt* vm = down_cast<JNIEnvExt*>(self->GetJniEnv())->GetVm(); in artFindNativeMethodRunnable()
/art/runtime/base/
Dmutex.cc83 JNIEnvExt* const env = self->GetJniEnv(); in SleepIfRuntimeDeleted()
133 JNIEnvExt* const env = self == nullptr ? nullptr : self->GetJniEnv(); in WaitBrieflyFor()
/art/openjdkjvm/
DOpenjdkJvm.cc389 return static_cast<art::JNIEnvExt*>(env)->GetSelf()->Interrupted() ? JNI_TRUE : JNI_FALSE; in JVM_IsInterrupted()

12