Home
last modified time | relevance | path

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

/external/libchrome/base/android/
Dscoped_java_ref.h235 class ScopedJavaGlobalRef : public JavaRef<T> {
237 constexpr ScopedJavaGlobalRef() {} in ScopedJavaGlobalRef() function
238 constexpr ScopedJavaGlobalRef(std::nullptr_t) {} in ScopedJavaGlobalRef() function
240 ScopedJavaGlobalRef(const ScopedJavaGlobalRef<T>& other) { in ScopedJavaGlobalRef() function
244 ScopedJavaGlobalRef(ScopedJavaGlobalRef<T>&& other) { this->swap(other); } in ScopedJavaGlobalRef() function
246 ScopedJavaGlobalRef(JNIEnv* env, T obj) { this->Reset(env, obj); } in ScopedJavaGlobalRef() function
248 explicit ScopedJavaGlobalRef(const JavaRef<T>& other) { this->Reset(other); } in ScopedJavaGlobalRef() function
250 ~ScopedJavaGlobalRef() { in ~ScopedJavaGlobalRef()
256 void operator=(const ScopedJavaGlobalRef<T>& other) {
260 void operator=(ScopedJavaGlobalRef<T>&& other) { this->swap(other); }
Dscoped_java_ref_unittest.cc71 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()
Djni_android.cc25 base::LazyInstance<base::android::ScopedJavaGlobalRef<jobject>>::Leaky
152 ScopedJavaGlobalRef<jclass> clazz; in LazyGetClass()
/external/libchrome/mojo/public/java/system/
Dbase_run_loop.cc44 const base::android::ScopedJavaGlobalRef<jobject>& runnable_ref) { in RunJavaRunnable()
55 base::android::ScopedJavaGlobalRef<jobject> runnable_ref; in JNI_BaseRunLoop_PostDelayedTask()
Dwatcher_impl.cc58 base::android::ScopedJavaGlobalRef<jobject> java_watcher_preserver; in OnHandleReady()
69 base::android::ScopedJavaGlobalRef<jobject> java_watcher_;