Home
last modified time | relevance | path

Searched refs:vm_ (Results 1 – 12 of 12) sorted by relevance

/art/runtime/jni/
Djava_vm_ext_test.cc33 vm_ = Runtime::Current()->GetJavaVM(); in SetUp()
41 JavaVMExt* vm_; member in art::JavaVmExtTest
55 EXPECT_EQ(vms_buf[0], vm_); in TEST_F()
130 jint ok = vm_->AttachCurrentThread(&env, nullptr); in TEST_F()
132 ok = vm_->DetachCurrentThread(); in TEST_F()
135 jint err = vm_->DetachCurrentThread(); in TEST_F()
150 jint ok = vm_->AttachCurrentThread(&env, nullptr); in TEST_F()
180 ok = vm_->DetachCurrentThread(); in TEST_F()
Djni_internal_test.cc40 vm_ = Runtime::Current()->GetJavaVM(); in SetUp()
45 vm_->AttachCurrentThread(&env_, nullptr); in SetUp()
116 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in FindClassTest()
169 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in FindClassTest()
173 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetFieldIdBadArgumentTest()
192 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetFieldIdBadArgumentTest()
196 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetStaticFieldIdBadArgumentTest()
215 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetStaticFieldIdBadArgumentTest()
219 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetMethodIdBadArgumentTest()
237 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetMethodIdBadArgumentTest()
[all …]
Djni_env_ext.cc78 vm_(vm_in), in JNIEnvExt()
245 vm_->JniAbortF("<JNI MonitorExit>", in CheckMonitorRelease()
272 vm_->JniAbortF("<JNI End>", in CheckNoHeldMonitors()
287 vm_->JniAbortF("<JNI End>", in CheckNoHeldMonitors()
Djni_env_ext.h112 JavaVMExt* GetVm() const { return vm_; } in GetVm()
176 JavaVMExt* const vm_; variable
Dcheck_jni.cc63 : ((kind == kGlobal) ? &env->vm_->globals_ : &env->vm_->weak_globals_); in GetIndirectReferenceTable()
/art/runtime/
Dscoped_thread_state_change.h82 return vm_; in Vm()
117 : self_(nullptr), env_(nullptr), vm_(reinterpret_cast<JavaVMExt*>(vm)) {} in ScopedObjectAccessAlreadyRunnable()
130 JavaVMExt* const vm_; variable
Dscoped_thread_state_change.cc39 return vm_->ForceCopy(); in ForceCopy()
Dscoped_thread_state_change-inl.h97 : self_(ThreadForEnv(env)), env_(down_cast<JNIEnvExt*>(env)), vm_(env_->GetVm()) {} in ScopedObjectAccessAlreadyRunnable()
102 vm_(env_ != nullptr ? env_->GetVm() : nullptr) {} in ScopedObjectAccessAlreadyRunnable()
Dcommon_runtime_test.cc599 CheckJniAbortCatcher::CheckJniAbortCatcher() : vm_(Runtime::Current()->GetJavaVM()) { in CheckJniAbortCatcher()
600 vm_->SetCheckJniAbortHook(Hook, &actual_); in CheckJniAbortCatcher()
604 vm_->SetCheckJniAbortHook(nullptr, nullptr); in ~CheckJniAbortCatcher()
Dreflection_test.cc40 vm_ = Runtime::Current()->GetJavaVM(); in SetUp()
45 vm_->AttachCurrentThread(&env_, nullptr); in SetUp()
507 JavaVMExt* vm_; member in art::ReflectionTest
Dcommon_runtime_test.h260 JavaVMExt* const vm_; variable
Dthread.cc2651 result = tlsPtr_.jni_env->vm_->DecodeGlobal(ref); in DecodeJObject()
2654 result = tlsPtr_.jni_env->vm_->DecodeWeakGlobal(const_cast<Thread*>(this), ref); in DecodeJObject()
2673 return tlsPtr_.jni_env->vm_->IsWeakGlobalCleared(const_cast<Thread*>(this), ref); in IsJWeakCleared()