Lines Matching refs:ScopedJavaGlobalRef
90 // Generic base class for ScopedJavaLocalRef and ScopedJavaGlobalRef. Useful
145 // use a ScopedJavaGlobalRef instead.
235 class ScopedJavaGlobalRef : public JavaRef<T> {
237 ScopedJavaGlobalRef() {}
238 ScopedJavaGlobalRef(std::nullptr_t) {}
240 ScopedJavaGlobalRef(const ScopedJavaGlobalRef<T>& other) {
244 ScopedJavaGlobalRef(ScopedJavaGlobalRef<T>&& other) { this->swap(other); }
246 ScopedJavaGlobalRef(JNIEnv* env, T obj) { this->Reset(env, obj); }
248 explicit ScopedJavaGlobalRef(const JavaRef<T>& other) { this->Reset(other); }
250 ~ScopedJavaGlobalRef() {
256 void operator=(const ScopedJavaGlobalRef<T>& other) {
260 void operator=(ScopedJavaGlobalRef<T>&& other) { this->swap(other); }