Home
last modified time | relevance | path

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

/art/runtime/
Djava_vm_ext_test.cc32 vm_ = Runtime::Current()->GetJavaVM(); in SetUp()
40 JavaVMExt* vm_; member in art::JavaVmExtTest
54 EXPECT_EQ(vms_buf[0], vm_); in TEST_F()
128 jint ok = vm_->AttachCurrentThread(&env, nullptr); in TEST_F()
130 ok = vm_->DetachCurrentThread(); in TEST_F()
133 jint err = vm_->DetachCurrentThread(); in TEST_F()
Djni_internal_test.cc34 vm_ = Runtime::Current()->GetJavaVM(); in SetUp()
39 vm_->AttachCurrentThread(&env_, nullptr); in SetUp()
110 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in FindClassTest()
163 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in FindClassTest()
167 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetFieldIdBadArgumentTest()
186 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetFieldIdBadArgumentTest()
190 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetStaticFieldIdBadArgumentTest()
209 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetStaticFieldIdBadArgumentTest()
213 bool old_check_jni = vm_->SetCheckJniEnabled(check_jni); in GetMethodIdBadArgumentTest()
231 EXPECT_EQ(check_jni, vm_->SetCheckJniEnabled(old_check_jni)); in GetMethodIdBadArgumentTest()
[all …]
Dscoped_thread_state_change.h116 return vm_; in Vm()
120 return vm_->ForceCopy(); in ForceCopy()
180 : self_(ThreadForEnv(env)), env_(down_cast<JNIEnvExt*>(env)), vm_(env_->vm) { in ScopedObjectAccessAlreadyRunnable()
186 vm_(env_ != nullptr ? env_->vm : nullptr) { in ScopedObjectAccessAlreadyRunnable()
192 : self_(nullptr), env_(nullptr), vm_(down_cast<JavaVMExt*>(vm)) {} in ScopedObjectAccessAlreadyRunnable()
203 JavaVMExt* const vm_; variable
Dcommon_runtime_test.h171 JavaVMExt* const vm_; variable
Dcommon_runtime_test.cc574 CheckJniAbortCatcher::CheckJniAbortCatcher() : vm_(Runtime::Current()->GetJavaVM()) { in CheckJniAbortCatcher()
575 vm_->SetCheckJniAbortHook(Hook, &actual_); in CheckJniAbortCatcher()
579 vm_->SetCheckJniAbortHook(nullptr, nullptr); in ~CheckJniAbortCatcher()
Dreflection_test.cc35 vm_ = Runtime::Current()->GetJavaVM(); in SetUp()
40 vm_->AttachCurrentThread(&env_, nullptr); in SetUp()
500 JavaVMExt* vm_; member in art::ReflectionTest