Home
last modified time | relevance | path

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

/system/teeui/libteeui_jni/
Dlibteeui_jni.cpp71 JNIEnv* env_; member in JArray
78 JArray(JNIEnv* env, array_type jarray) : env_(env), jarray_(jarray), buffer_(nullptr) { in JArray()
79 if (env_ == nullptr) return; in JArray()
80 buffer_ = (env_->*JTypeTraits<T>::getArrayElements)(jarray, nullptr); in JArray()
83 JArray(JArray&& rhs) : env_(rhs.env_), jarray_(rhs.jarray_), buffer_(rhs.buffer_) { in JArray()
84 rhs.env_ = nullptr; in JArray()
92 env_ = rhs.env_; in operator =()
95 rhs.env_ = nullptr; in operator =()
104 size_t size() const { return (env_->*JTypeTraits<T>::getArrayLength)(jarray_); } in size()
112 if (env_ == nullptr) return; in ~JArray()
[all …]