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