Home
last modified time | relevance | path

Searched refs:NewLocalRef (Results 1 – 18 of 18) sorted by relevance

/art/test/924-threads/
Dthreads.cc117 return env->NewLocalRef(info.thread_group); in Java_art_Test924_getThreadInfo()
121 return env->NewLocalRef(info.context_class_loader); in Java_art_Test924_getThreadInfo()
/art/test/904-object-allocation/
Dtracking.cc64 return reinterpret_cast<T>(env->NewLocalRef(obj_)); in Get()
/art/runtime/jni/
Djni_env_ext.h74 jobject NewLocalRef(mirror::Object* obj) REQUIRES_SHARED(Locks::mutator_lock_);
Djni_env_ext.cc98 jobject JNIEnvExt::NewLocalRef(mirror::Object* obj) { in NewLocalRef() function in art::JNIEnvExt
Djni_internal_test.cc1491 jobject new_local_ref = env_->NewLocalRef(weak_global); in TEST_F()
2083 EXPECT_EQ(env_->NewLocalRef(nullptr), nullptr); in TEST_F()
2086 TEST_F(JniInternalTest, NewLocalRef) { in TEST_F() argument
2089 jobject o = env_->NewLocalRef(s); in TEST_F()
2120 jobject o = env_->NewLocalRef(s); in TEST_F()
2154 outer = env_->NewLocalRef(original); in TEST_F()
2158 inner1 = env_->NewLocalRef(outer); in TEST_F()
Djava_vm_ext.cc950 ScopedLocalRef<jobject> local_ref(env, env->NewLocalRef(obj)); in LoadNativeLibrary()
1076 ScopedLocalRef<jobject> old_class_loader(env, env->NewLocalRef(self->GetClassLoaderOverride())); in LoadNativeLibrary()
Dcheck_jni.cc2135 static jobject NewLocalRef(JNIEnv* env, jobject obj) { in NewLocalRef() function in art::__anonaa3778310111::CheckJNI
2830 result.L = baseEnv(env)->NewLocalRef(env, obj); in NewRef()
3846 CheckJNI::NewLocalRef,
Djni_internal.cc798 static jobject NewLocalRef(JNIEnv* env, jobject obj) { in NewLocalRef() function in art::JNI
2950 JNIImpl::NewLocalRef,
/art/test/1919-vminit-thread-start-timing/
Dvminit.cc188 return env->NewLocalRef(list->events[i].data); in Java_art_Test1919_getEventThreads()
/art/test/1974-resize-array/
Dresize_array.cc130 return env->NewLocalRef(reinterpret_cast<jobject>(static_cast<intptr_t>(r))); in Java_art_Test1974_ReadJniRef()
/art/openjdkjvmti/
Dti_threadgroup.cc83 reinterpret_cast<JNIEnv*>(art::Thread::Current()->GetJniEnv())->NewLocalRef(sys_thread_group); in GetTopThreadGroups()
Dti_stack.cc498 static_cast<JNIEnv*>(current->GetJniEnv())->NewLocalRef(data.thread_peers[i]); in GetAllStackTraces()
668 stack_info[i].thread = reinterpret_cast<JNIEnv*>(soa.Env())->NewLocalRef(thread_list[i]); in GetThreadListStackTraces()
680 new_stack_info.thread = reinterpret_cast<JNIEnv*>(soa.Env())->NewLocalRef(thread_list[i]); in GetThreadListStackTraces()
Devents.cc672 self->GetJniEnv()->NewLocalRef(self->GetPeer())); in MethodExited()
722 self->GetJniEnv()->NewLocalRef(self->GetPeer())); in MethodExited()
Dti_method.cc816 val_->l = static_cast<JNIEnv*>(jni)->NewLocalRef(obj_val_); in GetResult()
/art/runtime/gc/space/
Dspace_test.h61 byte_array_class_ = self->GetJniEnv()->NewLocalRef(byte_array_class.Ptr()); in GetByteArrayClass()
/art/test/912-classes/
Dclasses.cc439 jobject target_local = env->NewLocalRef(target); in AgentThreadTest()
/art/test/ti-agent/
Dtrace_helper.cc90 jclass out = reinterpret_cast<jclass>(env->NewLocalRef(test_klass)); in GetTestClass()
/art/test/913-heaps/
Dheaps.cc541 jni_local_ref.reset(env->NewLocalRef(jniRef)); in Java_art_Test913_followReferences()