Home
last modified time | relevance | path

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

/art/libnativeloader/
Dlibrary_namespaces.cpp323 std::make_pair(env->NewWeakGlobalRef(class_loader), *app_ns)); in Create()
Dnative_loader_test.cpp273 inf->NewWeakGlobalRef = [](JNIEnv*, jobject obj) -> jobject { return obj; }; in CreateJNINativeInterface()
/art/test/1974-resize-array/
Dresize_array.cc135 return static_cast<jlong>(reinterpret_cast<intptr_t>(env->NewWeakGlobalRef(r))); in Java_art_Test1974_GetWeakGlobalJniRef()
/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()
Djni_internal.cc688 static jweak NewWeakGlobalRef(JNIEnv* env, jobject obj) { in NewWeakGlobalRef() function in art::JNI
2952 JNIImpl::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()