Searched refs:vm_ (Results 1 – 2 of 2) sorted by relevance
125 ScopedAttach(JavaVM* vm, JNIEnv** env) : vm_(vm) { in ScopedAttach()126 vm_->AttachCurrentThread(env, NULL); in ScopedAttach()129 ~ScopedAttach() { vm_->DetachCurrentThread(); } in ~ScopedAttach()132 JavaVM* vm_;
467 JNIThreadAttacher(JavaVM* vm) : vm_(vm), env_(nullptr) { in JNIThreadAttacher()468 status_ = vm_->GetEnv((void**)&env_, JNI_VERSION_1_6); in JNIThreadAttacher()491 if (vm_->AttachCurrentThread(&env_, &args) != 0) { in JNIThreadAttacher()500 if (status_ == JNI_EDETACHED) vm_->DetachCurrentThread(); in ~JNIThreadAttacher()506 JavaVM* vm_; member in android::JNIThreadAttacher