Home
last modified time | relevance | path

Searched refs:AddLocalReference (Results 1 – 25 of 64) sorted by relevance

123

/art/runtime/
Dproxy_test.h46 jclass javaLangClass = soa.AddLocalReference<jclass>(GetClassRoot<mirror::Class>()); in GenerateProxyClass()
54 soa.AddLocalReference<jclass>(interfaces[i].Get())); in GenerateProxyClass()
64 soa.AddLocalReference<jclass>(GetClassRoot<mirror::Method>()), in GenerateProxyClass()
78 proxyClassMethods, array_index++, soa.AddLocalReference<jobject>( in GenerateProxyClass()
85 proxyClassMethods, array_index++, soa.AddLocalReference<jobject>( in GenerateProxyClass()
93 proxyClassMethods, array_index++, soa.AddLocalReference<jobject>( in GenerateProxyClass()
99 proxyClassMethods, array_index++, soa.AddLocalReference<jobject>( in GenerateProxyClass()
Dreflection_test.cc86 return soa.AddLocalReference<jclass>(c); in GetPrimitiveClass()
142 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); in InvokeNopMethod()
151 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); in InvokeIdentityByteMethod()
177 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); in InvokeIdentityIntMethod()
202 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); in InvokeIdentityDoubleMethod()
227 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); in InvokeSumIntIntMethod()
256 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); in InvokeSumIntIntIntMethod()
295 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); in InvokeSumIntIntIntIntMethod()
339 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); in InvokeSumIntIntIntIntIntMethod()
388 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); in InvokeSumDoubleDoubleMethod()
[all …]
Dscoped_thread_state_change-inl.h76 inline T ScopedObjectAccessAlreadyRunnable::AddLocalReference(ObjPtr<mirror::Object> obj) const { in AddLocalReference() function
82 return obj == nullptr ? nullptr : Env()->AddLocalReference<T>(obj); in AddLocalReference()
/art/runtime/interpreter/
Dinterpreter.cc63 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni()
74 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni()
81 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni()
88 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni()
95 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni()
102 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni()
104 soa.AddLocalReference<jobject>(ObjArg(args[0]))); in InterpreterJni()
115 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni()
123 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni()
125 soa.AddLocalReference<jobject>(ObjArg(args[0]))); in InterpreterJni()
[all …]
/art/runtime/native/
Djava_lang_reflect_Method.cc44 return soa.AddLocalReference<jobject>(annotations::GetAnnotationDefaultValue(method)); in Method_getDefaultValue()
65 return soa.AddLocalReference<jobjectArray>( in Method_getExceptionTypes()
76 return soa.AddLocalReference<jobjectArray>(empty_array); in Method_getExceptionTypes()
78 return soa.AddLocalReference<jobjectArray>(result_array); in Method_getExceptionTypes()
Djava_lang_String.cc64 return soa.AddLocalReference<jstring>(result); in String_concat()
80 return soa.AddLocalReference<jstring>(result); in String_fastSubstring()
94 return soa.AddLocalReference<jstring>(result); in String_intern()
102 return soa.AddLocalReference<jstring>(result); in String_doReplace()
109 return soa.AddLocalReference<jcharArray>(mirror::String::ToCharArray(s, soa.Self())); in String_toCharArray()
Djava_lang_Class.cc220 return soa.AddLocalReference<jclass>(c.Get()); in Class_classForName()
226 return soa.AddLocalReference<jclass>(klass); in Class_getPrimitiveClass()
233 return soa.AddLocalReference<jstring>(mirror::Class::ComputeName(hs.NewHandle(c))); in Class_getNameNative()
249 return soa.AddLocalReference<jobjectArray>( in Class_getInterfacesInternal()
280 return soa.AddLocalReference<jobjectArray>(ifaces); in Class_getInterfacesInternal()
348 return soa.AddLocalReference<jobjectArray>( in Class_getDeclaredFieldsUnchecked()
354 return soa.AddLocalReference<jobjectArray>( in Class_getDeclaredFields()
360 return soa.AddLocalReference<jobjectArray>( in Class_getPublicDeclaredFields()
498 return soa.AddLocalReference<jobject>(field.Get()); in Class_getPublicFieldRecursive()
529 return soa.AddLocalReference<jobject>(result.Get()); in Class_getDeclaredField()
[all …]
Djava_lang_reflect_Executable.cc51 return soa.AddLocalReference<jobjectArray>(empty_array); in Executable_getDeclaredAnnotationsNative()
53 return soa.AddLocalReference<jobjectArray>(annotations::GetAnnotationsForMethod(method)); in Executable_getDeclaredAnnotationsNative()
66 return soa.AddLocalReference<jobject>(annotations::GetAnnotationForMethod(method, klass)); in Executable_getAnnotationNative()
76 return soa.AddLocalReference<jobjectArray>(annotations::GetSignatureAnnotationForMethod(method)); in Executable_getSignatureAnnotation()
101 return soa.AddLocalReference<jobjectArray>(annotations.Get()); in Executable_getParameterAnnotationsNative()
110 return soa.AddLocalReference<jobjectArray>(annotations.Get()); in Executable_getParameterAnnotationsNative()
154 return soa.AddLocalReference<jobjectArray>(resized_annotations.Get()); in Executable_getParameterAnnotationsNative()
252 return soa.AddLocalReference<jobjectArray>(parameter_array.Get()); in Executable_getParameters0()
325 return soa.AddLocalReference<jstring>(method->ResolveNameString()); in Executable_getMethodNameInternal()
338 return soa.AddLocalReference<jclass>(return_type); in Executable_getMethodReturnTypeInternal()
[all …]
Djava_lang_reflect_Constructor.cc52 return soa.AddLocalReference<jobjectArray>(empty_array); in Constructor_getExceptionTypes()
54 return soa.AddLocalReference<jobjectArray>(result_array); in Constructor_getExceptionTypes()
117 jobject javaReceiver = soa.AddLocalReference<jobject>(receiver); in Constructor_newInstance0()
Djava_lang_StringFactory.cc56 return soa.AddLocalReference<jstring>(result); in StringFactory_newStringFromBytes()
72 return soa.AddLocalReference<jstring>(result); in StringFactory_newStringFromChars()
89 return soa.AddLocalReference<jstring>(result); in StringFactory_newStringFromString()
264 return soa.AddLocalReference<jstring>(result); in StringFactory_newStringFromUtf8Bytes()
Djava_lang_reflect_Array.cc50 return soa.AddLocalReference<jobject>(new_array); in Array_createMultiArray()
74 return soa.AddLocalReference<jobject>(new_array); in Array_createObjectArray()
Ddalvik_system_VMStack.cc107 return soa.AddLocalReference<jobject>(visitor.caller->GetDeclaringClass()->GetClassLoader()); in VMStack_getCallingClassLoader()
135 return soa.AddLocalReference<jobject>(visitor.class_loader); in VMStack_getClosestUserClassLoader()
147 return soa.AddLocalReference<jclass>(visitor.caller->GetDeclaringClass()); in VMStack_getStackClass2()
Djava_lang_reflect_Proxy.cc36 return soa.AddLocalReference<jclass>(class_linker->CreateProxyClass( in Proxy_generateProxy()
Djava_lang_ref_FinalizerReference.cc42 return soa.AddLocalReference<jobject>(referent); in FinalizerReference_getReferent()
Djava_lang_VMClassLoader.cc90 return soa.AddLocalReference<jclass>(c); in VMClassLoader_findLoadedClass()
121 return soa.AddLocalReference<jclass>(c); in VMClassLoader_findLoadedClass()
Djava_lang_invoke_MethodHandleImpl.cc63 return soa.AddLocalReference<jobject>(h_object.Get()); in MethodHandleImpl_getMemberInternal()
Djava_lang_reflect_Field.cc190 return soa.AddLocalReference<jobject>(BoxPrimitive(field_type, value)); in Field_get()
473 return soa.AddLocalReference<jobject>(annotations::GetAnnotationForField(field, klass)); in Field_getAnnotationNative()
485 return soa.AddLocalReference<jstring>(field->ResolveNameString()); in Field_getNameInternal()
497 return soa.AddLocalReference<jobjectArray>(empty_array); in Field_getDeclaredAnnotations()
499 return soa.AddLocalReference<jobjectArray>(annotations::GetAnnotationsForField(field)); in Field_getDeclaredAnnotations()
508 return soa.AddLocalReference<jobjectArray>(annotations::GetSignatureAnnotationForField(field)); in Field_getSignatureAnnotation()
Djava_lang_Object.cc33 return soa.AddLocalReference<jobject>(mirror::Class::Clone(o, soa.Self())); in Object_internalClone()
Djava_lang_reflect_Parameter.cc97 return soa.AddLocalReference<jobject>( in Parameter_getAnnotationNative()
Dlibcore_util_CharsetUtils.cc101 return soa.AddLocalReference<jbyteArray>(result); in charsToBytes()
183 return soa.AddLocalReference<jbyteArray>(result); in CharsetUtils_toUtf8Bytes()
Djava_lang_ref_Reference.cc36 return soa.AddLocalReference<jobject>(referent); in Reference_getReferent()
/art/openjdkjvmti/
Dti_object.cc100 jni->AddLocalReference<jthread>(info.owner_->GetPeerFromOtherThread()) : nullptr; in GetObjectMonitorUsage()
105 notify_wait.push_back(jni->AddLocalReference<jthread>(thd->GetPeerFromOtherThread())); in GetObjectMonitorUsage()
106 wait.push_back(jni->AddLocalReference<jthread>(thd->GetPeerFromOtherThread())); in GetObjectMonitorUsage()
113 wait.push_back(jni->AddLocalReference<jthread>(thd->GetPeerFromOtherThread())); in GetObjectMonitorUsage()
Dti_threadgroup.cc138 : soa.AddLocalReference<jthreadGroup>(parent_group); in GetThreadGroupInfo()
267 peers_uptr[i] = soa.AddLocalReference<jthread>(thread_peers[i]); in GetThreadGroupChildren()
270 group_uptr[i] = soa.AddLocalReference<jthreadGroup>(thread_groups[i]); in GetThreadGroupChildren()
/art/runtime/jni/
Djni_env_ext-inl.h27 inline T JNIEnvExt::AddLocalReference(ObjPtr<mirror::Object> obj) { in AddLocalReference() function
/art/benchmark/jobject-benchmark/
Djobject_benchmark.cc32 jobject ref = soa.Env()->AddLocalReference<jobject>(obj); in Java_JObjectBenchmark_timeAddRemoveLocal()
42 jobject ref = soa.Env()->AddLocalReference<jobject>(obj); in Java_JObjectBenchmark_timeDecodeLocal()

123