Home
last modified time | relevance | path

Searched refs:NewWeakGlobalRef (Results 1 – 7 of 7) sorted by relevance

/art/runtime/jdwp/
Dobject_registry.cc117 entry->jni_reference = env->NewWeakGlobalRef(local_reference); in InternalAdd()
225 entry.jni_reference = env->NewWeakGlobalRef(entry.jni_reference); in Demote()
/art/runtime/jni/
Djni_internal_test.cc1459 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() argument
2160 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()
Djava_vm_ext.cc78 class_loader_(env->NewWeakGlobalRef(class_loader)), in SharedLibrary()
Dcheck_jni.cc2089 static jweak NewWeakGlobalRef(JNIEnv* env, jobject obj) { in NewWeakGlobalRef() function in art::__anon01b981930111::CheckJNI
2783 result.L = baseEnv(env)->NewWeakGlobalRef(env, obj); in NewRef()
3997 CheckJNI::NewWeakGlobalRef,
Djni_internal.cc849 static jweak NewWeakGlobalRef(JNIEnv* env, jobject obj) { in NewWeakGlobalRef() function in art::JNI
3110 JNI::NewWeakGlobalRef,
/art/test/912-classes/
Dclasses.cc458 weakly_stored_class_ = jni_env->NewWeakGlobalRef(klass); in ClassLoadCallback()
/art/test/004-JniTest/
Djni_test.cc647 s6 = reinterpret_cast<jstring>(env->NewWeakGlobalRef(s6)); in Java_Main_testNewStringObject()