Home
last modified time | relevance | path

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

/art/libnativeloader/
Dnative_loader_test.h254 inf->NewWeakGlobalRef = [](JNIEnv*, jobject obj) -> jobject { return obj; }; in CreateJNINativeInterface()
Dlibrary_namespaces.cpp378 std::make_pair(env->NewWeakGlobalRef(class_loader), *app_ns)); in Create()
/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.cc1460 jweak weak_global = env_->NewWeakGlobalRef(local); in TEST_F()
1484 jweak weak_global = env_->NewWeakGlobalRef(local_ref); in TEST_F()
2262 EXPECT_EQ(env_->NewWeakGlobalRef(nullptr), nullptr); in TEST_F()
2265 TEST_F(JniInternalTest, NewWeakGlobalRef) { in TEST_F() argument
2268 jobject o = env_->NewWeakGlobalRef(s); in TEST_F()
2286 jobject o = env_->NewWeakGlobalRef(s); in TEST_F()
2300 jobject o1 = env_->NewWeakGlobalRef(s); in TEST_F()
2302 jobject o2 = env_->NewWeakGlobalRef(s); in TEST_F()
Djava_vm_ext.cc80 class_loader_(env->NewWeakGlobalRef(class_loader)), in SharedLibrary()
Dcheck_jni.cc2139 static jweak NewWeakGlobalRef(JNIEnv* env, jobject obj) { in NewWeakGlobalRef() function in art::__anonaa3778310111::CheckJNI
2833 result.L = baseEnv(env)->NewWeakGlobalRef(env, obj); in NewRef()
4047 CheckJNI::NewWeakGlobalRef,
Djni_internal.cc786 static jweak NewWeakGlobalRef(JNIEnv* env, jobject obj) { in NewWeakGlobalRef() function in art::JNI
3151 JNIImpl::NewWeakGlobalRef,
/art/test/912-classes/
Dclasses.cc458 weakly_stored_class_ = jni_env->NewWeakGlobalRef(klass); in ClassLoadCallback()
/art/test/004-JniTest/
Djni_test.cc676 s6 = reinterpret_cast<jstring>(env->NewWeakGlobalRef(s6)); in Java_Main_testNewStringObject()