Searched refs:NewLocalRef (Results 1 – 18 of 18) sorted by relevance
117 return env->NewLocalRef(info.thread_group); in Java_art_Test924_getThreadInfo()121 return env->NewLocalRef(info.context_class_loader); in Java_art_Test924_getThreadInfo()
73 jobject NewLocalRef(mirror::Object* obj) REQUIRES_SHARED(Locks::mutator_lock_);
98 jobject JNIEnvExt::NewLocalRef(mirror::Object* obj) { in NewLocalRef() function in art::JNIEnvExt
1490 jobject new_local_ref = env_->NewLocalRef(weak_global); in TEST_F()1965 EXPECT_EQ(env_->NewLocalRef(nullptr), nullptr); in TEST_F()1968 TEST_F(JniInternalTest, NewLocalRef) { in TEST_F() argument1971 jobject o = env_->NewLocalRef(s); in TEST_F()2007 jobject o = env_->NewLocalRef(s); in TEST_F()2041 outer = env_->NewLocalRef(original); in TEST_F()2045 inner1 = env_->NewLocalRef(outer); in TEST_F()
950 ScopedLocalRef<jobject> local_ref(env, env->NewLocalRef(obj)); in LoadNativeLibrary()1076 ScopedLocalRef<jobject> old_class_loader(env, env->NewLocalRef(self->GetClassLoaderOverride())); in LoadNativeLibrary()
2085 static jobject NewLocalRef(JNIEnv* env, jobject obj) { in NewLocalRef() function in art::__anon846bc2ca0111::CheckJNI2780 result.L = baseEnv(env)->NewLocalRef(env, obj); in NewRef()3796 CheckJNI::NewLocalRef,
699 static jobject NewLocalRef(JNIEnv* env, jobject obj) { in NewLocalRef() function in art::JNI2784 JNIImpl::NewLocalRef,
64 return reinterpret_cast<T>(env->NewLocalRef(obj_)); in Get()
188 return env->NewLocalRef(list->events[i].data); in Java_art_Test1919_getEventThreads()
130 return env->NewLocalRef(reinterpret_cast<jobject>(static_cast<intptr_t>(r))); in Java_art_Test1974_ReadJniRef()
83 reinterpret_cast<JNIEnv*>(art::Thread::Current()->GetJniEnv())->NewLocalRef(sys_thread_group); in GetTopThreadGroups()
498 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()
672 self->GetJniEnv()->NewLocalRef(self->GetPeer())); in MethodExited()722 self->GetJniEnv()->NewLocalRef(self->GetPeer())); in MethodExited()
813 val_->l = static_cast<JNIEnv*>(jni)->NewLocalRef(obj_val_); in GetResult()
61 byte_array_class_ = self->GetJniEnv()->NewLocalRef(byte_array_class.Ptr()); in GetByteArrayClass()
439 jobject target_local = env->NewLocalRef(target); in AgentThreadTest()
90 jclass out = reinterpret_cast<jclass>(env->NewLocalRef(test_klass)); in GetTestClass()
541 jni_local_ref.reset(env->NewLocalRef(jniRef)); in Java_art_Test913_followReferences()