Searched refs:env_ (Results 1 – 3 of 3) sorted by relevance
/libnativehelper/header_only_include/nativehelper/ |
D | scoped_utf_chars.h | 37 ScopedUtfChars(JNIEnv* env, jstring s) : env_(env), string_(s) { in ScopedUtfChars() 47 env_(rhs.env_), string_(rhs.string_), utf_chars_(rhs.utf_chars_) { in ScopedUtfChars() 48 rhs.env_ = nullptr; in ScopedUtfChars() 55 env_->ReleaseStringUTFChars(string_, utf_chars_); in ~ScopedUtfChars() 65 env_ = rhs.env_; 68 rhs.env_ = nullptr; 88 JNIEnv* env_;
|
D | scoped_string_chars.h | 36 ScopedStringChars(JNIEnv* env, jstring s) : env_(env), string_(s), size_(0) { in ScopedStringChars() 50 env_->ReleaseStringChars(string_, chars_); in ~ScopedStringChars() 67 JNIEnv* const env_;
|
/libnativehelper/tests/jni_gtest/base/nativehelper/ |
D | jni_gtest.h | 60 JNITestBase() : provider_(), env_(nullptr), java_vm_(nullptr) { in JNITestBase() 66 env_ = provider_.CreateJNIEnv(); in SetUp() 67 ASSERT_TRUE(env_ != nullptr); in SetUp() 71 provider_->DestroyJNIEnv(env_); in TearDown() 79 JNIEnv* env_; variable
|