Searched refs:vm_ (Results 1 – 11 of 11) sorted by relevance
/art/runtime/jni/ |
D | java_vm_ext_test.cc | 37 vm_ = Runtime::Current()->GetJavaVM(); in SetUp() 45 JavaVMExt* vm_; member in art::JavaVmExtTest 59 EXPECT_EQ(vms_buf[0], vm_); in TEST_F() 134 jint ok = vm_->AttachCurrentThread(&env, nullptr); in TEST_F() 136 ok = vm_->DetachCurrentThread(); in TEST_F() 139 jint err = vm_->DetachCurrentThread(); in TEST_F() 154 jint ok = vm_->AttachCurrentThread(&env, nullptr); in TEST_F() 184 ok = vm_->DetachCurrentThread(); in TEST_F()
|
D | jni_internal_test.cc | 40 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 …]
|
D | jni_env_ext.cc | 72 vm_(vm_in), in JNIEnvExt() 241 vm_->JniAbortF("<JNI MonitorExit>", in CheckMonitorRelease() 268 vm_->JniAbortF("<JNI End>", in CheckNoHeldMonitors() 283 vm_->JniAbortF("<JNI End>", in CheckNoHeldMonitors()
|
D | jni_env_ext.h | 104 JavaVMExt* GetVm() const { return vm_; } in GetVm() 168 JavaVMExt* const vm_; variable
|
/art/runtime/ |
D | scoped_thread_state_change.h | 82 return vm_; in Vm() 117 : self_(nullptr), env_(nullptr), vm_(reinterpret_cast<JavaVMExt*>(vm)) {} in ScopedObjectAccessAlreadyRunnable() 130 JavaVMExt* const vm_; variable
|
D | scoped_thread_state_change.cc | 39 return vm_->ForceCopy(); in ForceCopy()
|
D | scoped_thread_state_change-inl.h | 97 : self_(Thread::ForEnv(env)), env_(down_cast<JNIEnvExt*>(env)), vm_(env_->GetVm()) {} in ScopedObjectAccessAlreadyRunnable() 102 vm_(env_ != nullptr ? env_->GetVm() : nullptr) {} in ScopedObjectAccessAlreadyRunnable()
|
D | common_runtime_test.cc | 604 CheckJniAbortCatcher::CheckJniAbortCatcher() : vm_(Runtime::Current()->GetJavaVM()) { in CheckJniAbortCatcher() 605 vm_->SetCheckJniAbortHook(Hook, &actual_); in CheckJniAbortCatcher() 609 vm_->SetCheckJniAbortHook(nullptr, nullptr); in ~CheckJniAbortCatcher()
|
D | reflection_test.cc | 39 vm_ = Runtime::Current()->GetJavaVM(); in SetUp() 44 vm_->AttachCurrentThread(&env_, nullptr); in SetUp() 506 JavaVMExt* vm_; member in art::ReflectionTest
|
D | common_runtime_test.h | 263 JavaVMExt* const vm_; variable
|
D | thread.cc | 2833 result = tlsPtr_.jni_env->vm_->DecodeGlobal(ref); in DecodeGlobalJObject() 2836 result = tlsPtr_.jni_env->vm_->DecodeWeakGlobal(const_cast<Thread*>(this), ref); in DecodeGlobalJObject() 2855 return tlsPtr_.jni_env->vm_->IsWeakGlobalCleared(const_cast<Thread*>(this), ref); in IsJWeakCleared()
|