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("Hello"); 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.cc950 ScopedLocalRef<jobject> local_ref(env, env->NewLocalRef(obj)); in LoadNativeLibrary() local
951 if (local_ref != nullptr) { in LoadNativeLibrary()
952 ScopedLocalRef<jclass> local_class(env, env->GetObjectClass(local_ref.get())); in LoadNativeLibrary()
958 env->CallObjectMethod(local_ref.get(), to_string)); in LoadNativeLibrary()
Djni_internal_test.cc1481 jobjectArray local_ref = env_->NewObjectArray(1, java_lang_Class, nullptr); in TEST_F() local
1482 ASSERT_NE(local_ref, nullptr); in TEST_F()
1483 jweak weak_global = env_->NewWeakGlobalRef(local_ref); in TEST_F()
1485 env_->DeleteLocalRef(local_ref); in TEST_F()
/art/runtime/
Dclass_loader_context.cc887 ScopedLocalRef<jobject> local_ref( in CreateClassLoader() local
889 return soa.Env()->NewGlobalRef(local_ref.get()); in CreateClassLoader()
Dclass_linker.cc9839 ScopedLocalRef<jobject> local_ref( in CreateWellKnownClassLoader() local
9841 return soa.Env()->NewGlobalRef(local_ref.get()); in CreateWellKnownClassLoader()