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()
64 return reinterpret_cast<T>(env->NewLocalRef(obj_)); in Get()
74 jobject NewLocalRef(mirror::Object* obj) REQUIRES_SHARED(Locks::mutator_lock_);
98 jobject JNIEnvExt::NewLocalRef(mirror::Object* obj) { in NewLocalRef() function in art::JNIEnvExt
1491 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() argument2089 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()
950 ScopedLocalRef<jobject> local_ref(env, env->NewLocalRef(obj)); in LoadNativeLibrary()1076 ScopedLocalRef<jobject> old_class_loader(env, env->NewLocalRef(self->GetClassLoaderOverride())); in LoadNativeLibrary()
2135 static jobject NewLocalRef(JNIEnv* env, jobject obj) { in NewLocalRef() function in art::__anonaa3778310111::CheckJNI2830 result.L = baseEnv(env)->NewLocalRef(env, obj); in NewRef()3846 CheckJNI::NewLocalRef,
798 static jobject NewLocalRef(JNIEnv* env, jobject obj) { in NewLocalRef() function in art::JNI2950 JNIImpl::NewLocalRef,
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()
816 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()