Lines Matching defs:ScopedJavaLocalRef
42 // ScopedJavaLocalRef<jstring> into a function taking const JavaRef<jobject>&
47 // empty ScopedJavaLocalRef just to pass null to a function with a JavaRef
87 // Generic base class for ScopedJavaLocalRef and ScopedJavaGlobalRef. Useful
145 class ScopedJavaLocalRef : public JavaRef<T> {
147 ScopedJavaLocalRef() : env_(NULL) {}
149 // Non-explicit copy constructor, to allow ScopedJavaLocalRef to be returned
151 ScopedJavaLocalRef(const ScopedJavaLocalRef<T>& other)
157 explicit ScopedJavaLocalRef(const U& other)
164 ScopedJavaLocalRef(JNIEnv* env, T obj) : JavaRef<T>(env, obj), env_(env) {}
166 ~ScopedJavaLocalRef() {
172 void operator=(const ScopedJavaLocalRef<T>& other) {
181 void Reset(const ScopedJavaLocalRef<U>& other) {
214 // Prevent ScopedJavaLocalRef(JNIEnv*, T obj) from being used to take
216 // allowed to be deleted and so should not be owned by ScopedJavaLocalRef.
219 ScopedJavaLocalRef(JNIEnv* env, const JavaParamRef<T>& other);