Home
last modified time | relevance | path

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

/art/runtime/
Dscoped_thread_state_change.h114 return vm_; in Vm()
186 : self_(ThreadForEnv(env)), env_(down_cast<JNIEnvExt*>(env)), vm_(env_->vm) { in ScopedObjectAccessAlreadyRunnable()
192 vm_(env_ != nullptr ? env_->vm : nullptr) { in ScopedObjectAccessAlreadyRunnable()
198 : self_(nullptr), env_(nullptr), vm_(down_cast<JavaVMExt*>(vm)) {} in ScopedObjectAccessAlreadyRunnable()
209 JavaVMExt* const vm_; variable
Dcommon_runtime_test.cc364 CheckJniAbortCatcher::CheckJniAbortCatcher() : vm_(Runtime::Current()->GetJavaVM()) { in CheckJniAbortCatcher()
365 vm_->check_jni_abort_hook = Hook; in CheckJniAbortCatcher()
366 vm_->check_jni_abort_hook_data = &actual_; in CheckJniAbortCatcher()
370 vm_->check_jni_abort_hook = nullptr; in ~CheckJniAbortCatcher()
371 vm_->check_jni_abort_hook_data = nullptr; in ~CheckJniAbortCatcher()
Dcommon_runtime_test.h136 JavaVMExt* vm_; variable
Dreflection_test.cc35 vm_ = Runtime::Current()->GetJavaVM(); in SetUp()
40 vm_->AttachCurrentThread(&env_, NULL); in SetUp()
488 JavaVMExt* vm_; member in art::ReflectionTest
Djni_internal_test.cc33 vm_ = Runtime::Current()->GetJavaVM(); in SetUp()
38 vm_->AttachCurrentThread(&env_, nullptr); in SetUp()
101 JavaVMExt* vm_; member in art::JniInternalTest
1680 jint ok = vm_->DetachCurrentThread(); in TEST_F()
1683 jint err = vm_->DetachCurrentThread(); in TEST_F()
1685 vm_->AttachCurrentThread(&env_, nullptr); // need attached thread for CommonRuntimeTest::TearDown in TEST_F()