Searched refs:GetVm (Results 1 – 13 of 13) 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 | 1051 self->GetJniEnv()->GetVm()->UpdateGlobal(self, ref, result); in UpdateReference() 1054 self->GetJniEnv()->GetVm()->UpdateWeakGlobal(self, ref, result); in UpdateReference()
|
D | class_linker.cc | 292 classes_[num_classes_] = self->GetJniEnv()->GetVm()->AddWeakGlobalRef(self, klass); in AddClass() 327 JavaVMExt* vm = self->GetJniEnv()->GetVm(); in AdjustThreadVisibilityCounter() 4079 JavaVMExt* const vm = self->GetJniEnv()->GetVm(); in RegisterDexFileLocked() 6055 data.weak_root = self->GetJniEnv()->GetVm()->AddWeakGlobalRef(self, class_loader); in RegisterClassLoader()
|
D | thread.cc | 957 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/jni/ |
D | jni_env_ext.h | 111 JavaVMExt* GetVm() const { return vm_; } in GetVm() function
|
D | jni_internal.cc | 440 return reinterpret_cast<JNIEnvExt*>(env)->GetVm(); in JavaVmExtFromEnv() 682 JavaVMExt* vm = down_cast<JNIEnvExt*>(env)->GetVm(); in DeleteGlobalRef() 694 JavaVMExt* vm = down_cast<JNIEnvExt*>(env)->GetVm(); in DeleteWeakGlobalRef() 2370 bool warn_on_going_to_parent = down_cast<JNIEnvExt*>(env)->GetVm()->IsCheckJniEnabled(); in RegisterNatives()
|
D | java_vm_ext.cc | 358 UnloadLibraries(self->GetJniEnv()->GetVm(), unload_libraries); in UnloadNativeLibraries()
|
D | check_jni.cc | 2761 return reinterpret_cast<JNIEnvExt*>(env)->GetVm(); in GetJavaVMExt()
|
/art/runtime/entrypoints/jni/ |
D | jni_entrypoints.cc | 107 JavaVMExt* vm = down_cast<JNIEnvExt*>(self->GetJniEnv())->GetVm(); in artFindNativeMethodRunnable()
|
/art/runtime/gc/ |
D | reference_processor.cc | 304 cleared_references = self->GetJniEnv()->GetVm()->AddGlobalRef( in CollectClearedReferences()
|
/art/dex2oat/ |
D | dex2oat.cc | 2008 jweak weak_class_loader = soa.Env()->GetVm()->AddWeakGlobalRef( in CompileDexFilesIndividually() 2011 soa.Env()->GetVm()->DeleteGlobalRef(soa.Self(), class_loader); in CompileDexFilesIndividually() 3136 soa.Env()->GetVm()->DeleteGlobalRef(soa.Self(), obj_); in ~ScopedGlobalRef()
|
/art/runtime/native/ |
D | dalvik_system_VMRuntime.cc | 255 return down_cast<JNIEnvExt*>(env)->GetVm()->IsCheckJniEnabled() ? JNI_TRUE : JNI_FALSE; in VMRuntime_isCheckJniEnabled()
|