Home
last modified time | relevance | path

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

/art/runtime/jni/
Djava_vm_ext_test.cc154 jobject local_ref = env->NewStringUTF("Dummy"); in TEST_F() local
156 global_refs_.push_back(env->NewGlobalRef(local_ref)); in TEST_F()
169 global_refs_.push_back(env->NewGlobalRef(local_ref)); in TEST_F()
Djava_vm_ext.cc948 ScopedLocalRef<jobject> local_ref(env, env->NewLocalRef(obj)); in LoadNativeLibrary() local
949 if (local_ref != nullptr) { in LoadNativeLibrary()
950 ScopedLocalRef<jclass> local_class(env, env->GetObjectClass(local_ref.get())); in LoadNativeLibrary()
956 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.cc886 ScopedLocalRef<jobject> local_ref( in CreateClassLoader() local
888 return soa.Env()->NewGlobalRef(local_ref.get()); in CreateClassLoader()
Dclass_linker.cc9740 ScopedLocalRef<jobject> local_ref( in CreateWellKnownClassLoader() local
9742 return soa.Env()->NewGlobalRef(local_ref.get()); in CreateWellKnownClassLoader()