Searched refs:NewWeakGlobalRef (Results 1 – 9 of 9) sorted by relevance
/art/libnativeloader/ |
D | native_loader_test.h | 254 inf->NewWeakGlobalRef = [](JNIEnv*, jobject obj) -> jobject { return obj; }; in CreateJNINativeInterface()
|
D | library_namespaces.cpp | 378 std::make_pair(env->NewWeakGlobalRef(class_loader), *app_ns)); in Create()
|
/art/test/1974-resize-array/ |
D | resize_array.cc | 135 return static_cast<jlong>(reinterpret_cast<intptr_t>(env->NewWeakGlobalRef(r))); in Java_art_Test1974_GetWeakGlobalJniRef()
|
/art/runtime/jni/ |
D | jni_internal_test.cc | 1460 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()
|
D | java_vm_ext.cc | 80 class_loader_(env->NewWeakGlobalRef(class_loader)), in SharedLibrary()
|
D | check_jni.cc | 2139 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,
|
D | jni_internal.cc | 786 static jweak NewWeakGlobalRef(JNIEnv* env, jobject obj) { in NewWeakGlobalRef() function in art::JNI 3151 JNIImpl::NewWeakGlobalRef,
|
/art/test/912-classes/ |
D | classes.cc | 458 weakly_stored_class_ = jni_env->NewWeakGlobalRef(klass); in ClassLoadCallback()
|
/art/test/004-JniTest/ |
D | jni_test.cc | 676 s6 = reinterpret_cast<jstring>(env->NewWeakGlobalRef(s6)); in Java_Main_testNewStringObject()
|