Lines Matching refs:obj_
36 JavaRef<jobject>::JavaRef(JNIEnv* env, jobject obj) : obj_(obj) { in JavaRef()
51 if (obj_) in SetNewLocalRef()
52 env->DeleteLocalRef(obj_); in SetNewLocalRef()
53 obj_ = obj; in SetNewLocalRef()
65 if (obj_) in SetNewGlobalRef()
66 env->DeleteGlobalRef(obj_); in SetNewGlobalRef()
67 obj_ = obj; in SetNewGlobalRef()
71 if (obj_) { in ResetLocalRef()
73 env->DeleteLocalRef(obj_); in ResetLocalRef()
74 obj_ = nullptr; in ResetLocalRef()
79 if (obj_) { in ResetGlobalRef()
80 AttachCurrentThread()->DeleteGlobalRef(obj_); in ResetGlobalRef()
81 obj_ = nullptr; in ResetGlobalRef()
86 jobject obj = obj_; in ReleaseInternal()
87 obj_ = nullptr; in ReleaseInternal()