/art/runtime/ |
D | proxy_test.h | 46 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()
|
D | reflection_test.cc | 86 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 …]
|
D | scoped_thread_state_change-inl.h | 76 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/ |
D | interpreter.cc | 63 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/ |
D | java_lang_reflect_Method.cc | 44 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()
|
D | java_lang_String.cc | 64 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()
|
D | java_lang_Class.cc | 220 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 …]
|
D | java_lang_reflect_Executable.cc | 51 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 …]
|
D | java_lang_reflect_Constructor.cc | 52 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()
|
D | java_lang_StringFactory.cc | 56 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()
|
D | java_lang_reflect_Array.cc | 50 return soa.AddLocalReference<jobject>(new_array); in Array_createMultiArray() 74 return soa.AddLocalReference<jobject>(new_array); in Array_createObjectArray()
|
D | dalvik_system_VMStack.cc | 107 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()
|
D | java_lang_reflect_Proxy.cc | 36 return soa.AddLocalReference<jclass>(class_linker->CreateProxyClass( in Proxy_generateProxy()
|
D | java_lang_ref_FinalizerReference.cc | 42 return soa.AddLocalReference<jobject>(referent); in FinalizerReference_getReferent()
|
D | java_lang_VMClassLoader.cc | 90 return soa.AddLocalReference<jclass>(c); in VMClassLoader_findLoadedClass() 121 return soa.AddLocalReference<jclass>(c); in VMClassLoader_findLoadedClass()
|
D | java_lang_invoke_MethodHandleImpl.cc | 63 return soa.AddLocalReference<jobject>(h_object.Get()); in MethodHandleImpl_getMemberInternal()
|
D | java_lang_reflect_Field.cc | 190 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()
|
D | java_lang_Object.cc | 33 return soa.AddLocalReference<jobject>(mirror::Class::Clone(o, soa.Self())); in Object_internalClone()
|
D | java_lang_reflect_Parameter.cc | 97 return soa.AddLocalReference<jobject>( in Parameter_getAnnotationNative()
|
D | libcore_util_CharsetUtils.cc | 101 return soa.AddLocalReference<jbyteArray>(result); in charsToBytes() 183 return soa.AddLocalReference<jbyteArray>(result); in CharsetUtils_toUtf8Bytes()
|
D | java_lang_ref_Reference.cc | 36 return soa.AddLocalReference<jobject>(referent); in Reference_getReferent()
|
/art/openjdkjvmti/ |
D | ti_object.cc | 100 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()
|
D | ti_threadgroup.cc | 138 : 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/ |
D | jni_env_ext-inl.h | 27 inline T JNIEnvExt::AddLocalReference(ObjPtr<mirror::Object> obj) { in AddLocalReference() function
|
/art/benchmark/jobject-benchmark/ |
D | jobject_benchmark.cc | 32 jobject ref = soa.Env()->AddLocalReference<jobject>(obj); in Java_JObjectBenchmark_timeAddRemoveLocal() 42 jobject ref = soa.Env()->AddLocalReference<jobject>(obj); in Java_JObjectBenchmark_timeDecodeLocal()
|