Searched refs:GetVm (Results 1 – 15 of 15) sorted by relevance
/art/runtime/ |
D | scoped_thread_state_change-inl.h | 97 : self_(ThreadForEnv(env)), env_(down_cast<JNIEnvExt*>(env)), vm_(env_->GetVm()) {} in ScopedObjectAccessAlreadyRunnable() 102 vm_(env_ != nullptr ? env_->GetVm() : nullptr) {} in ScopedObjectAccessAlreadyRunnable()
|
D | reflection.cc | 1073 self->GetJniEnv()->GetVm()->UpdateGlobal(self, ref, result); in UpdateReference() 1076 self->GetJniEnv()->GetVm()->UpdateWeakGlobal(self, ref, result); in UpdateReference()
|
D | class_linker.cc | 251 classes_[num_classes_] = self->GetJniEnv()->GetVm()->AddWeakGlobalRef(self, klass); in AddClass() 286 JavaVMExt* vm = self->GetJniEnv()->GetVm(); in AdjustThreadVisibilityCounter() 3829 JavaVMExt* const vm = self->GetJniEnv()->GetVm(); in RegisterDexFileLocked() 5817 data.weak_root = self->GetJniEnv()->GetVm()->AddWeakGlobalRef(self, class_loader); in RegisterClassLoader()
|
D | runtime.cc | 703 : vm_(down_cast<JNIEnvExt*>(self->GetJniEnv())->GetVm()), in FindNativeMethodsVisitor()
|
D | thread.cc | 967 DCHECK_EQ(jni_env_ext->GetVm(), java_vm); in Init()
|
/art/test/136-daemon-jni-shutdown/ |
D | daemon_jni_shutdown.cc | 61 JavaVM* vm = down_cast<JNIEnvExt*>(env)->GetVm(); in Java_Main_destroyJavaVMAndExit()
|
/art/runtime/entrypoints/jni/ |
D | jni_entrypoints.cc | 112 JavaVMExt* vm = down_cast<JNIEnvExt*>(self->GetJniEnv())->GetVm(); in artFindNativeMethodRunnable()
|
/art/runtime/jni/ |
D | jni_env_ext.h | 108 JavaVMExt* GetVm() const { return vm_; } in GetVm() function
|
D | java_vm_ext.cc | 366 UnloadLibraries(self->GetJniEnv()->GetVm(), unload_libraries); in UnloadNativeLibraries()
|
D | jni_internal.cc | 616 return reinterpret_cast<JNIEnvExt*>(env)->GetVm(); in JavaVmExtFromEnv() 858 JavaVMExt* vm = down_cast<JNIEnvExt*>(env)->GetVm(); in DeleteGlobalRef() 870 JavaVMExt* vm = down_cast<JNIEnvExt*>(env)->GetVm(); in DeleteWeakGlobalRef() 2629 bool warn_on_going_to_parent = down_cast<JNIEnvExt*>(env)->GetVm()->IsCheckJniEnabled(); in RegisterNatives()
|
D | check_jni.cc | 888 obj = soa.Env()->GetVm()->DecodeGlobal(ref); in CheckInstance() 890 obj = soa.Env()->GetVm()->DecodeWeakGlobal(soa.Self(), ref); in CheckInstance() 2811 return reinterpret_cast<JNIEnvExt*>(env)->GetVm(); in GetJavaVMExt()
|
/art/runtime/gc/ |
D | reference_processor.cc | 387 cleared_references = self->GetJniEnv()->GetVm()->AddGlobalRef( in CollectClearedReferences()
|
/art/runtime/native/ |
D | dalvik_system_VMRuntime.cc | 253 return down_cast<JNIEnvExt*>(env)->GetVm()->IsCheckJniEnabled() ? JNI_TRUE : JNI_FALSE; in VMRuntime_isCheckJniEnabled()
|
/art/dex2oat/linker/ |
D | image_writer.cc | 1344 JavaVMExt* vm = down_cast<JNIEnvExt*>(self->GetJniEnv())->GetVm(); in CreateImageRoots() 1653 JavaVMExt* vm = down_cast<JNIEnvExt*>(self->GetJniEnv())->GetVm(); in ProcessCollectedClasses() 1886 JavaVMExt* vm = down_cast<JNIEnvExt*>(self->GetJniEnv())->GetVm(); in ProcessDexFileObjects() 1984 JavaVMExt* vm = down_cast<JNIEnvExt*>(self->GetJniEnv())->GetVm(); in ProcessRoots() 2177 vm = down_cast<JNIEnvExt*>(self->GetJniEnv())->GetVm(); in VerifyImageBinSlotsAssigned() 2477 JavaVMExt* vm = down_cast<JNIEnvExt*>(self->GetJniEnv())->GetVm(); in CalculateNewObjectOffsets() 3632 JavaVMExt* vm = down_cast<JNIEnvExt*>(self->GetJniEnv())->GetVm(); in ~ImageWriter()
|
/art/dex2oat/ |
D | dex2oat.cc | 1781 jweak weak_class_loader = soa.Env()->GetVm()->AddWeakGlobalRef( in CompileDexFilesIndividually() 1784 soa.Env()->GetVm()->DeleteGlobalRef(soa.Self(), class_loader); in CompileDexFilesIndividually() 3049 soa.Env()->GetVm()->DeleteGlobalRef(soa.Self(), obj_); in ~ScopedGlobalRef()
|