Home
last modified time | relevance | path

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

/external/libtextclassifier/utils/java/
Dscoped_global_ref.h31 GlobalRefDeleter() : jvm_(nullptr) {} in GlobalRefDeleter()
35 GlobalRefDeleter(JavaVM* jvm) : jvm_(jvm) {} // NOLINT(runtime/explicit) in GlobalRefDeleter()
41 TC3_CHECK_EQ(jvm_, rhs.jvm_);
48 if (object != nullptr && jvm_ != nullptr && in operator()
50 jvm_->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_4)) { in operator()
57 JavaVM* const jvm_;
/external/webrtc/webrtc/modules/utility/include/
Djvm_android.h168 JavaVM* jvm() const { return jvm_; } in jvm()
176 JNIEnv* jni() const { return GetEnv(jvm_); } in jni()
179 JavaVM* const jvm_; variable
Dhelpers_android.h64 JavaVM* jvm_; variable
/external/webrtc/webrtc/modules/utility/source/
Dhelpers_android.cc99 : attached_(false), jvm_(jvm), env_(NULL) { in AttachThreadScoped()
115 jint res = jvm_->DetachCurrentThread(); in ~AttachThreadScoped()
117 RTC_CHECK(!GetEnv(jvm_)); in ~AttachThreadScoped()
Djvm_android.cc229 : jvm_(jvm) { in JVM()
250 JNIEnv* jni = GetEnv(jvm_); in environment()