Searched refs:ScopedJavaGlobalRef (Results 1 – 5 of 5) sorted by relevance
235 class ScopedJavaGlobalRef : public JavaRef<T> {237 constexpr ScopedJavaGlobalRef() {} in ScopedJavaGlobalRef() function238 constexpr ScopedJavaGlobalRef(std::nullptr_t) {} in ScopedJavaGlobalRef() function240 ScopedJavaGlobalRef(const ScopedJavaGlobalRef<T>& other) { in ScopedJavaGlobalRef() function244 ScopedJavaGlobalRef(ScopedJavaGlobalRef<T>&& other) { this->swap(other); } in ScopedJavaGlobalRef() function246 ScopedJavaGlobalRef(JNIEnv* env, T obj) { this->Reset(env, obj); } in ScopedJavaGlobalRef() function248 explicit ScopedJavaGlobalRef(const JavaRef<T>& other) { this->Reset(other); } in ScopedJavaGlobalRef() function250 ~ScopedJavaGlobalRef() { in ~ScopedJavaGlobalRef()256 void operator=(const ScopedJavaGlobalRef<T>& other) {260 void operator=(ScopedJavaGlobalRef<T>&& other) { this->swap(other); }
71 ScopedJavaGlobalRef<jstring> global(str); in TEST_F()73 ScopedJavaGlobalRef<jobject> global_obj(str); in TEST_F()97 ScopedJavaGlobalRef<jstring> global_str(str); in TEST_F()98 ScopedJavaGlobalRef<jobject> global_obj(global_str); in TEST_F()124 ScopedJavaGlobalRef<jobject> global_obj2(global_obj); in TEST_F()
25 base::LazyInstance<base::android::ScopedJavaGlobalRef<jobject>>::Leaky152 ScopedJavaGlobalRef<jclass> clazz; in LazyGetClass()
44 const base::android::ScopedJavaGlobalRef<jobject>& runnable_ref) { in RunJavaRunnable()55 base::android::ScopedJavaGlobalRef<jobject> runnable_ref; in JNI_BaseRunLoop_PostDelayedTask()
58 base::android::ScopedJavaGlobalRef<jobject> java_watcher_preserver; in OnHandleReady()69 base::android::ScopedJavaGlobalRef<jobject> java_watcher_;