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()
1393 jweak weak_global = env_->NewWeakGlobalRef(local); in TEST_F()1417 jweak weak_global = env_->NewWeakGlobalRef(local_ref); in TEST_F()2038 EXPECT_EQ(env_->NewWeakGlobalRef(nullptr), nullptr); in TEST_F()2041 TEST_F(JniInternalTest, NewWeakGlobalRef) { in TEST_F() argument2044 jobject o = env_->NewWeakGlobalRef(s); in TEST_F()2062 jobject o = env_->NewWeakGlobalRef(s); in TEST_F()2081 jobject o1 = env_->NewWeakGlobalRef(s); in TEST_F()2083 jobject o2 = env_->NewWeakGlobalRef(s); in TEST_F()
70 class_loader_(env->NewWeakGlobalRef(class_loader)), in SharedLibrary()
1946 static jweak NewWeakGlobalRef(JNIEnv* env, jobject obj) { in NewWeakGlobalRef() function in art::CheckJNI2614 result.L = baseEnv(env)->NewWeakGlobalRef(env, obj); in NewRef()3814 CheckJNI::NewWeakGlobalRef,
631 static jweak NewWeakGlobalRef(JNIEnv* env, jobject obj) { in NewWeakGlobalRef() function in art::JNI2887 JNI::NewWeakGlobalRef,
400 weakly_stored_class_ = jni_env->NewWeakGlobalRef(klass); in ClassLoadCallback()
636 s6 = reinterpret_cast<jstring>(env->NewWeakGlobalRef(s6)); in Java_Main_testNewStringObject()