Searched refs:localRef (Results 1 – 6 of 6) sorted by relevance
28 ScopedLocalRef(JNIEnv* env, T localRef) : mEnv(env), mLocalRef(localRef) { in ScopedLocalRef() argument45 T localRef = mLocalRef; in release() local47 return localRef; in release()
34 scoped_local_ref(JNIEnv* env, T localRef = NULL) in scoped_local_ref() argument35 : mEnv(env), mLocalRef(localRef) in scoped_local_ref()43 void reset(T localRef = NULL) { in reset() argument46 mLocalRef = localRef; in reset()
35 scoped_local_ref(C_JNIEnv* env, T localRef = NULL) in scoped_local_ref() argument36 : mEnv(env), mLocalRef(localRef) in scoped_local_ref()44 void reset(T localRef = NULL) { in reset() argument47 mLocalRef = localRef; in reset()
136 jclass localRef = jni->FindClass(name.c_str()); in LoadClass() local138 RTC_CHECK(localRef) << name; in LoadClass()139 jclass globalRef = reinterpret_cast<jclass>(jni->NewGlobalRef(localRef)); in LoadClass()
42 jclass localRef = FindClass(jni, c.name); in LoadClasses() local44 RTC_CHECK(localRef) << c.name; in LoadClasses()45 jclass globalRef = reinterpret_cast<jclass>(jni->NewGlobalRef(localRef)); in LoadClasses()