/art/runtime/ |
D | jni_env_ext.cc | 43 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 …]
|
D | jni_env_ext.h | 40 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_;
|
D | scoped_thread_state_change.h | 30 class JNIEnvExt; variable 75 JNIEnvExt* Env() const { in Env() 126 JNIEnvExt* const env_;
|
D | non_debuggable_classes.cc | 31 JNIEnvExt* env = self->GetJniEnv(); in AddNonDebuggableClass()
|
D | jni_env_ext-inl.h | 27 inline T JNIEnvExt::AddLocalReference(ObjPtr<mirror::Object> obj) { in AddLocalReference()
|
D | scoped_thread_state_change-inl.h | 100 : self_(ThreadForEnv(env)), env_(down_cast<JNIEnvExt*>(env)), vm_(env_->GetVm()) {} in ScopedObjectAccessAlreadyRunnable() 104 env_(down_cast<JNIEnvExt*>(self->GetJniEnv())), in ScopedObjectAccessAlreadyRunnable()
|
D | thread-inl.h | 36 JNIEnvExt* full_env(down_cast<JNIEnvExt*>(env)); in ThreadForEnv()
|
D | thread.h | 89 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()
|
D | jni_internal.cc | 409 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()
|
D | check_jni.cc | 1297 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()
|
D | thread.cc | 625 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()
|
D | common_throws.cc | 768 JNIEnvExt* env = self->GetJniEnv(); in ThrowStackOverflowError()
|
/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 | 236 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 …]
|
D | ti_object.cc | 89 art::JNIEnvExt* jni = self->GetJniEnv(); in GetObjectMonitorUsage()
|
D | jvmti_weak_table-inl.h | 333 art::JNIEnvExt* jni_env = self->GetJniEnv();
|
/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 | 76 ___ 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/ |
D | quick_jni_entrypoints.cc | 52 JNIEnvExt* env = self->GetJniEnv(); in JniMethodFastStart() 67 JNIEnvExt* env = self->GetJniEnv(); in JniMethodStart() 117 JNIEnvExt* env = self->GetJniEnv(); in PopLocalReferences()
|
D | quick_trampoline_entrypoints.cc | 928 JNIEnvExt* env = self->GetJniEnv(); in artQuickProxyInvokeHandler() 1296 JNIEnvExt* env = self->GetJniEnv(); in artQuickResolutionTrampoline() 2756 JNIEnvExt* env = self->GetJniEnv(); in artInvokePolymorphic()
|
/art/runtime/native/ |
D | org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc | 36 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()
|
D | dalvik_system_VMRuntime.cc | 253 return down_cast<JNIEnvExt*>(env)->GetVm()->IsCheckJniEnabled() ? JNI_TRUE : JNI_FALSE; in VMRuntime_isCheckJniEnabled()
|
/art/openjdkjvm/ |
D | OpenjdkJvm.cc | 388 return static_cast<art::JNIEnvExt*>(env)->GetSelf()->Interrupted() ? JNI_TRUE : JNI_FALSE; in JVM_IsInterrupted()
|
/art/compiler/jni/quick/ |
D | jni_compiler.cc | 224 const Offset functions(OFFSETOF_MEMBER(JNIEnvExt, functions)); in ArtJniCompileMethodInternal()
|