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_;
466 JNIThreadAttacher(JavaVM* vm) : vm_(vm), env_(nullptr) { in JNIThreadAttacher()467 status_ = vm_->GetEnv((void**)&env_, JNI_VERSION_1_6); in JNIThreadAttacher()490 if (vm_->AttachCurrentThread(&env_, &args) != 0) { in JNIThreadAttacher()499 if (status_ == JNI_EDETACHED) vm_->DetachCurrentThread(); in ~JNIThreadAttacher()505 JavaVM* vm_; member in android::JNIThreadAttacher