Searched refs:NewWeakGlobalRef (Results 1 – 6 of 6) sorted by relevance
110 entry->jni_reference = env->NewWeakGlobalRef(local_reference); in InternalAdd()216 entry.jni_reference = env->NewWeakGlobalRef(entry.jni_reference); in Demote()
1306 jweak weak_global = env_->NewWeakGlobalRef(local); in TEST_F()1330 jweak weak_global = env_->NewWeakGlobalRef(local_ref); in TEST_F()1911 EXPECT_EQ(env_->NewWeakGlobalRef(nullptr), nullptr); in TEST_F()1914 TEST_F(JniInternalTest, NewWeakGlobalRef) { in TEST_F() argument1917 jobject o = env_->NewWeakGlobalRef(s); in TEST_F()1935 jobject o = env_->NewWeakGlobalRef(s); in TEST_F()1954 jobject o1 = env_->NewWeakGlobalRef(s); in TEST_F()1956 jobject o2 = env_->NewWeakGlobalRef(s); in TEST_F()
1750 static jweak NewWeakGlobalRef(JNIEnv* env, jobject obj) { in NewWeakGlobalRef() function in art::CheckJNI2409 result.L = baseEnv(env)->NewWeakGlobalRef(env, obj); in NewRef()3607 CheckJNI::NewWeakGlobalRef,
535 static jweak NewWeakGlobalRef(JNIEnv* env, jobject obj) { in NewWeakGlobalRef() function in art::JNI2713 JNI::NewWeakGlobalRef,
122 const jobject weak_global = env->NewWeakGlobalRef(local_ref.get()); in Add()
619 s6 = reinterpret_cast<jstring>(env->NewWeakGlobalRef(s6)); in Java_Main_testNewStringObject()