Home
last modified time | relevance | path

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

12

/art/runtime/
Djni_env_ext.cc43 const JNINativeInterface* JNIEnvExt::table_override_ = nullptr;
45 bool JNIEnvExt::CheckLocalsValid(JNIEnvExt* in) NO_THREAD_SAFETY_ANALYSIS { in CheckLocalsValid()
52 jint JNIEnvExt::GetEnvHandler(JavaVMExt* vm, /*out*/void** env, jint version) { in GetEnvHandler()
66 JNIEnvExt* JNIEnvExt::Create(Thread* self_in, JavaVMExt* vm_in, std::string* error_msg) { in Create()
67 std::unique_ptr<JNIEnvExt> ret(new JNIEnvExt(self_in, vm_in, error_msg)); in Create()
74 JNIEnvExt::JNIEnvExt(Thread* self_in, JavaVMExt* vm_in, std::string* error_msg) in JNIEnvExt() function in art::JNIEnvExt
89 void JNIEnvExt::SetFunctionsToRuntimeShutdownFunctions() { in SetFunctionsToRuntimeShutdownFunctions()
94 JNIEnvExt::~JNIEnvExt() { in ~JNIEnvExt()
97 jobject JNIEnvExt::NewLocalRef(mirror::Object* obj) { in NewLocalRef()
111 void JNIEnvExt::DeleteLocalRef(jobject obj) { in DeleteLocalRef()
[all …]
Djni_env_ext.h40 class JNIEnvExt : public JNIEnv {
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)
212 explicit ScopedJniEnvLocalRefState(JNIEnvExt* env) : in ScopedJniEnvLocalRefState()
224 JNIEnvExt* const env_;
Dscoped_thread_state_change.h30 class JNIEnvExt; variable
75 JNIEnvExt* Env() const { in Env()
126 JNIEnvExt* const env_;
Dnon_debuggable_classes.cc31 JNIEnvExt* env = self->GetJniEnv(); in AddNonDebuggableClass()
Djni_env_ext-inl.h27 inline T JNIEnvExt::AddLocalReference(ObjPtr<mirror::Object> obj) { in AddLocalReference()
Dscoped_thread_state_change-inl.h100 : self_(ThreadForEnv(env)), env_(down_cast<JNIEnvExt*>(env)), vm_(env_->GetVm()) {} in ScopedObjectAccessAlreadyRunnable()
104 env_(down_cast<JNIEnvExt*>(self->GetJniEnv())), in ScopedObjectAccessAlreadyRunnable()
Dthread-inl.h36 JNIEnvExt* full_env(down_cast<JNIEnvExt*>(env)); in ThreadForEnv()
Dthread.h89 class JNIEnvExt; variable
536 JNIEnvExt* GetJniEnv() const { in GetJniEnv()
1346 bool Init(ThreadList*, JavaVMExt*, JNIEnvExt* jni_env_ext = nullptr)
1596 JNIEnvExt* jni_env; in PACKED()
1600 JNIEnvExt* tmp_jni_env; in PACKED()
Djni_internal.cc409 return reinterpret_cast<JNIEnvExt*>(env)->GetVm(); in JavaVmExtFromEnv()
571 return static_cast<JNIEnvExt*>(env)->self_->IsExceptionPending() ? JNI_TRUE : JNI_FALSE; in ExceptionCheck()
625 down_cast<JNIEnvExt*>(env)->PushFrame(capacity); in PushLocalFrame()
649 JavaVMExt* vm = down_cast<JNIEnvExt*>(env)->GetVm(); in DeleteGlobalRef()
650 Thread* self = down_cast<JNIEnvExt*>(env)->self_; in DeleteGlobalRef()
661 JavaVMExt* vm = down_cast<JNIEnvExt*>(env)->GetVm(); in DeleteWeakGlobalRef()
662 Thread* self = down_cast<JNIEnvExt*>(env)->self_; in DeleteWeakGlobalRef()
684 auto* ext_env = down_cast<JNIEnvExt*>(env); in DeleteLocalRef()
2336 bool warn_on_going_to_parent = down_cast<JNIEnvExt*>(env)->GetVm()->IsCheckJniEnabled(); in RegisterNatives()
2484 return static_cast<JNIEnvExt*>(env)->self_->IsExceptionPending() ? nullptr : result; in NewDirectByteBuffer()
Dcheck_jni.cc1297 JNIEnvExt* threadEnv = self->GetJniEnv(); in CheckThread()
1303 Thread* envThread = reinterpret_cast<JNIEnvExt*>(env)->GetSelf(); in CheckThread()
2639 down_cast<JNIEnvExt*>(env)->RecordMonitorEnter(obj); in PRIMITIVE_ARRAY_FUNCTIONS()
2657 down_cast<JNIEnvExt*>(env)->CheckMonitorRelease(obj); in MonitorExit()
2756 return reinterpret_cast<JNIEnvExt*>(env)->GetVm(); in GetJavaVMExt()
2760 return reinterpret_cast<JNIEnvExt*>(env)->GetUncheckedFunctions(); in baseEnv()
Dthread.cc625 Thread* self = static_cast<JNIEnvExt*>(env)->GetSelf(); in CreateNativeThread()
675 std::unique_ptr<JNIEnvExt> child_jni_env_ext( in CreateNativeThread()
676 JNIEnvExt::Create(child_thread, Runtime::Current()->GetJavaVM(), &error_msg)); in CreateNativeThread()
725 bool Thread::Init(ThreadList* thread_list, JavaVMExt* java_vm, JNIEnvExt* jni_env_ext) { in Init()
763 tlsPtr_.jni_env = JNIEnvExt::Create(this, java_vm, &error_msg); in Init()
Dcommon_throws.cc768 JNIEnvExt* env = self->GetJniEnv(); in ThrowStackOverflowError()
/art/openjdkjvmti/
Dti_jni.cc52 art::JNIEnvExt::SetTableOverride(function_table); in SetJNIFunctionTable()
75 current_table = art::JNIEnvExt::GetFunctionTable(check_jni); in GetJNIFunctionTable()
Devents.cc236 static Type AddLocalRef(art::JNIEnvExt* e, art::mirror::Object* obj) in AddLocalRef()
244 art::JNIEnvExt* jnienv, in RunEventCallback()
304 art::JNIEnvExt* jni_env = self->GetJniEnv(); in ObjectAllocated()
343 art::JNIEnvExt* jnienv = self->GetJniEnv(); in MonitorContendedLocking()
357 art::JNIEnvExt* jnienv = self->GetJniEnv(); in MonitorContendedLocked()
371 art::JNIEnvExt* jnienv = self->GetJniEnv(); in ObjectWaitStart()
398 art::JNIEnvExt* jnienv = self->GetJniEnv(); in MonitorWaitFinished()
490 art::JNIEnvExt* jnienv = self->GetJniEnv(); in MethodEntered()
511 art::JNIEnvExt* jnienv = self->GetJniEnv(); in MethodExited()
537 art::JNIEnvExt* jnienv = self->GetJniEnv(); in MethodExited()
[all …]
Dti_object.cc89 art::JNIEnvExt* jni = self->GetJniEnv(); in GetObjectMonitorUsage()
Djvmti_weak_table-inl.h333 art::JNIEnvExt* jni_env = self->GetJniEnv();
/art/test/136-daemon-jni-shutdown/
Ddaemon_jni_shutdown.cc61 JavaVM* vm = down_cast<JNIEnvExt*>(env)->GetVm(); in Java_Main_destroyJavaVMAndExit()
/art/compiler/trampolines/
Dtrampoline_compiler.cc76 ___ Ldr(temp_reg, MemOperand(r0, JNIEnvExt::SelfOffset(4).Int32Value())); in CreateTrampoline()
113 Offset(JNIEnvExt::SelfOffset(8).Int32Value())); in CreateTrampoline()
148 __ LoadFromOffset(kLoadWord, T9, A0, JNIEnvExt::SelfOffset(4).Int32Value()); in CreateTrampoline()
180 __ LoadFromOffset(kLoadDoubleword, T9, A0, JNIEnvExt::SelfOffset(8).Int32Value()); in CreateTrampoline()
/art/runtime/entrypoints/quick/
Dquick_jni_entrypoints.cc52 JNIEnvExt* env = self->GetJniEnv(); in JniMethodFastStart()
67 JNIEnvExt* env = self->GetJniEnv(); in JniMethodStart()
117 JNIEnvExt* env = self->GetJniEnv(); in PopLocalReferences()
Dquick_trampoline_entrypoints.cc928 JNIEnvExt* env = self->GetJniEnv(); in artQuickProxyInvokeHandler()
1296 JNIEnvExt* env = self->GetJniEnv(); in artQuickResolutionTrampoline()
2756 JNIEnvExt* env = self->GetJniEnv(); in artInvokePolymorphic()
/art/runtime/native/
Dorg_apache_harmony_dalvik_ddmc_DdmVmInternal.cc36 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()
Ddalvik_system_VMRuntime.cc253 return down_cast<JNIEnvExt*>(env)->GetVm()->IsCheckJniEnabled() ? JNI_TRUE : JNI_FALSE; in VMRuntime_isCheckJniEnabled()
/art/openjdkjvm/
DOpenjdkJvm.cc388 return static_cast<art::JNIEnvExt*>(env)->GetSelf()->Interrupted() ? JNI_TRUE : JNI_FALSE; in JVM_IsInterrupted()
/art/compiler/jni/quick/
Djni_compiler.cc224 const Offset functions(OFFSETOF_MEMBER(JNIEnvExt, functions)); in ArtJniCompileMethodInternal()

12