Lines Matching refs:ScopedGlobalRef
50 class ScopedGlobalRef { class
52 ScopedGlobalRef(JNIEnv* env, T obj) : obj_(env->NewGlobalRef(obj)) {} in ScopedGlobalRef() function in art::Test904ObjectAllocation::ScopedGlobalRef
53 ScopedGlobalRef(const ScopedGlobalRef<T>& src) noexcept in ScopedGlobalRef() function in art::Test904ObjectAllocation::ScopedGlobalRef
55 ScopedGlobalRef(ScopedGlobalRef<T>&& src) noexcept : obj_(src.obj_) { in ScopedGlobalRef() function in art::Test904ObjectAllocation::ScopedGlobalRef
59 ~ScopedGlobalRef() { in ~ScopedGlobalRef()
78 ScopedGlobalRef<jclass> object_klass;
79 ScopedGlobalRef<jclass> object_klass2;
81 ScopedGlobalRef<jthread> thr_;
95 gEvents.push_back({ScopedGlobalRef<jclass>(jni_env, object_klass), in ObjectAllocated()
96 ScopedGlobalRef<jclass>(jni_env, object_klass2.get()), in ObjectAllocated()
98 ScopedGlobalRef<jthread>(jni_env, thread)}); in ObjectAllocated()