Searched refs:NewWeakGlobalRef (Results 1 – 7 of 7) sorted by relevance
117 entry->jni_reference = env->NewWeakGlobalRef(local_reference); in InternalAdd()225 entry.jni_reference = env->NewWeakGlobalRef(entry.jni_reference); in Demote()
1459 jweak weak_global = env_->NewWeakGlobalRef(local); in TEST_F()1483 jweak weak_global = env_->NewWeakGlobalRef(local_ref); in TEST_F()2154 EXPECT_EQ(env_->NewWeakGlobalRef(nullptr), nullptr); in TEST_F()2157 TEST_F(JniInternalTest, NewWeakGlobalRef) { in TEST_F() argument2160 jobject o = env_->NewWeakGlobalRef(s); in TEST_F()2178 jobject o = env_->NewWeakGlobalRef(s); in TEST_F()2197 jobject o1 = env_->NewWeakGlobalRef(s); in TEST_F()2199 jobject o2 = env_->NewWeakGlobalRef(s); in TEST_F()
78 class_loader_(env->NewWeakGlobalRef(class_loader)), in SharedLibrary()
2089 static jweak NewWeakGlobalRef(JNIEnv* env, jobject obj) { in NewWeakGlobalRef() function in art::__anon01b981930111::CheckJNI2783 result.L = baseEnv(env)->NewWeakGlobalRef(env, obj); in NewRef()3997 CheckJNI::NewWeakGlobalRef,
849 static jweak NewWeakGlobalRef(JNIEnv* env, jobject obj) { in NewWeakGlobalRef() function in art::JNI3110 JNI::NewWeakGlobalRef,
458 weakly_stored_class_ = jni_env->NewWeakGlobalRef(klass); in ClassLoadCallback()
647 s6 = reinterpret_cast<jstring>(env->NewWeakGlobalRef(s6)); in Java_Main_testNewStringObject()