Home
last modified time | relevance | path

Searched refs:local_ref (Results 1 – 4 of 4) sorted by relevance

/art/runtime/jni/
Djava_vm_ext_test.cc158 jobject local_ref = env->NewStringUTF("Hello"); in TEST_F() local
160 global_refs_.push_back(env->NewGlobalRef(local_ref)); in TEST_F()
173 global_refs_.push_back(env->NewGlobalRef(local_ref)); in TEST_F()
Djava_vm_ext.cc978 ScopedLocalRef<jobject> local_ref(env, env->NewLocalRef(obj)); in LoadNativeLibrary() local
979 if (local_ref != nullptr) { in LoadNativeLibrary()
980 ScopedLocalRef<jclass> local_class(env, env->GetObjectClass(local_ref.get())); in LoadNativeLibrary()
986 env->CallObjectMethod(local_ref.get(), to_string)); in LoadNativeLibrary()
Djni_internal_test.cc1482 jobjectArray local_ref = env_->NewObjectArray(1, java_lang_Class, nullptr); in TEST_F() local
1483 ASSERT_NE(local_ref, nullptr); in TEST_F()
1484 jweak weak_global = env_->NewWeakGlobalRef(local_ref); in TEST_F()
1486 env_->DeleteLocalRef(local_ref); in TEST_F()
/art/runtime/
Dclass_loader_context.cc908 ScopedLocalRef<jobject> local_ref(soa.Env(), soa.Env()->AddLocalReference<jobject>(loader)); in CreateClassLoader() local
909 return soa.Env()->NewGlobalRef(local_ref.get()); in CreateClassLoader()