/art/runtime/interpreter/ |
D | interpreter.cc | 40 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 51 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 58 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 65 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 72 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 79 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 81 soa.AddLocalReference<jobject>( in InterpreterJni() 93 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 101 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 103 soa.AddLocalReference<jobject>( in InterpreterJni() [all …]
|
/art/runtime/native/ |
D | java_lang_Class.cc | 93 return soa.AddLocalReference<jclass>(c.Get()); in Class_classForName() 100 return soa.AddLocalReference<jstring>(mirror::Class::ComputeName(hs.NewHandle(c))); in Class_getNameNative() 106 return soa.AddLocalReference<jobjectArray>(c->GetInterfaces()->Clone(soa.Self())); in Class_getProxyInterfaces() 171 return soa.AddLocalReference<jobjectArray>( in Class_getDeclaredFieldsUnchecked() 177 return soa.AddLocalReference<jobjectArray>( in Class_getDeclaredFields() 183 return soa.AddLocalReference<jobjectArray>( in Class_getPublicDeclaredFields() 238 return soa.AddLocalReference<jobject>( in Class_getDeclaredFieldInternal() 259 return soa.AddLocalReference<jobject>(result); in Class_getDeclaredField() 270 return soa.AddLocalReference<jobject>( in Class_getDeclaredConstructorInternal() 309 return soa.AddLocalReference<jobjectArray>(h_constructors.Get()); in Class_getDeclaredConstructorsInternal() [all …]
|
D | java_lang_StringFactory.cc | 50 return soa.AddLocalReference<jstring>(result); in StringFactory_newStringFromBytes() 62 return soa.AddLocalReference<jstring>(result); in StringFactory_newStringFromChars() 76 return soa.AddLocalReference<jstring>(result); in StringFactory_newStringFromString()
|
D | java_lang_String.cc | 60 return soa.AddLocalReference<jstring>(result); in String_concat() 80 return soa.AddLocalReference<jstring>(result); in String_fastSubstring() 95 return soa.AddLocalReference<jstring>(result); in String_intern() 106 return soa.AddLocalReference<jcharArray>(s->ToCharArray(soa.Self())); in String_toCharArray()
|
D | dalvik_system_VMStack.cc | 81 return soa.AddLocalReference<jobject>(visitor.caller->GetDeclaringClass()->GetClassLoader()); in VMStack_getCallingClassLoader() 109 return soa.AddLocalReference<jobject>(visitor.class_loader); in VMStack_getClosestUserClassLoader() 121 return soa.AddLocalReference<jclass>(visitor.caller->GetDeclaringClass()); in VMStack_getStackClass2()
|
D | java_lang_reflect_Array.cc | 46 return soa.AddLocalReference<jobject>(new_array); in Array_createMultiArray() 67 return soa.AddLocalReference<jobject>(new_array); in Array_createObjectArray()
|
D | java_lang_DexCache.cc | 55 return soa.AddLocalReference<jobject>(dex_cache->GetResolvedType(type_index)); in DexCache_getResolvedType() 61 return soa.AddLocalReference<jobject>(dex_cache->GetResolvedString(string_index)); in DexCache_getResolvedString()
|
D | java_lang_VMClassLoader.cc | 42 return soa.AddLocalReference<jclass>(c); in VMClassLoader_findLoadedClass() 50 return soa.AddLocalReference<jclass>(c); in VMClassLoader_findLoadedClass()
|
D | java_lang_ref_Reference.cc | 33 return soa.AddLocalReference<jobject>(referent); in Reference_getReferent()
|
D | java_lang_reflect_Proxy.cc | 33 return soa.AddLocalReference<jclass>(class_linker->CreateProxyClass( in Proxy_generateProxy()
|
D | java_lang_reflect_Method.cc | 54 return soa.AddLocalReference<jobject>(declared_exceptions->Clone(soa.Self())); in Method_getExceptionTypesNative()
|
D | java_lang_reflect_Constructor.cc | 85 jobject javaReceiver = soa.AddLocalReference<jobject>(receiver); in Constructor_newInstance()
|
D | java_lang_Object.cc | 33 return soa.AddLocalReference<jobject>(o->Clone(soa.Self())); in Object_internalClone()
|
D | sun_misc_Unsafe.cc | 136 return soa.AddLocalReference<jobject>(value); in Unsafe_getObjectVolatile() 143 return soa.AddLocalReference<jobject>(value); in Unsafe_getObject()
|
D | java_lang_Thread.cc | 35 return soa.AddLocalReference<jobject>(soa.Self()->GetPeer()); in Thread_currentThread()
|
D | dalvik_system_VMRuntime.cc | 91 return soa.AddLocalReference<jobject>(result); in VMRuntime_newNonMovableArray() 116 return soa.AddLocalReference<jobject>(result); in VMRuntime_newUnpaddedArray()
|
D | dalvik_system_DexFile.cc | 248 return soa.AddLocalReference<jclass>(result); in DexFile_defineClassNative()
|
/art/runtime/ |
D | proxy_test.cc | 41 jclass javaLangClass = soa.AddLocalReference<jclass>(mirror::Class::GetJavaLangClass()); in GenerateProxyClass() 49 soa.AddLocalReference<jclass>(interfaces[i])); in GenerateProxyClass() 58 methods_count, soa.AddLocalReference<jclass>(mirror::Method::StaticClass()), nullptr); in GenerateProxyClass() 67 proxyClassMethods, array_index++, soa.AddLocalReference<jobject>( in GenerateProxyClass() 72 proxyClassMethods, array_index++, soa.AddLocalReference<jobject>( in GenerateProxyClass() 78 proxyClassMethods, array_index++, soa.AddLocalReference<jobject>( in GenerateProxyClass() 84 proxyClassMethods, array_index++, soa.AddLocalReference<jobject>( in GenerateProxyClass()
|
D | reflection_test.cc | 81 return soa.AddLocalReference<jclass>(c); in GetPrimitiveClass() 136 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); in InvokeNopMethod() 145 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); in InvokeIdentityByteMethod() 170 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); in InvokeIdentityIntMethod() 195 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); in InvokeIdentityDoubleMethod() 220 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); in InvokeSumIntIntMethod() 249 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); in InvokeSumIntIntIntMethod() 288 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); in InvokeSumIntIntIntIntMethod() 332 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); in InvokeSumIntIntIntIntIntMethod() 381 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); in InvokeSumDoubleDoubleMethod() [all …]
|
D | jni_env_ext-inl.h | 27 inline T JNIEnvExt::AddLocalReference(mirror::Object* obj) { in AddLocalReference() function
|
D | jni_internal.cc | 357 return soa.AddLocalReference<jclass>(c); in FindClass() 388 return soa.AddLocalReference<jobject>(method); in ToReflectedMethod() 395 return soa.AddLocalReference<jobject>(mirror::Field::CreateFromArtField(soa.Self(), f, true)); in ToReflectedField() 402 return soa.AddLocalReference<jclass>(o->GetClass()); in GetObjectClass() 409 return soa.AddLocalReference<jclass>(c->GetSuperClass()); in GetSuperclass() 473 soa.AddLocalReference<jthrowable>(old_exception.Get())); in ExceptionDescribe() 493 return soa.AddLocalReference<jthrowable>(exception); in ExceptionOccurred() 514 return soa.AddLocalReference<jobject>(survivor); in PopLocalFrame() 554 return soa.AddLocalReference<jobject>(decoded_obj); in NewLocalRef() 597 return soa.AddLocalReference<jobject>(mirror::String::Alloc<true>(soa.Self(), 0, in AllocObject() [all …]
|
D | jni_env_ext.h | 50 T AddLocalReference(mirror::Object* obj)
|
D | scoped_thread_state_change.h | 133 T AddLocalReference(mirror::Object* obj) const SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in AddLocalReference() function 137 return obj == nullptr ? nullptr : Env()->AddLocalReference<T>(obj); in AddLocalReference()
|
D | thread.cc | 278 ScopedLocalRef<jobject> ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); in CreateCallback() 1461 ScopedLocalRef<jobject> peer(tlsPtr_.jni_env, soa.AddLocalReference<jobject>(tlsPtr_.opeer)); in HandleUncaughtExceptions() 1493 ScopedLocalRef<jobject> group(soa.Env(), soa.AddLocalReference<jobject>(ogroup)); in RemoveFromThreadGroup() 1494 ScopedLocalRef<jobject> peer(soa.Env(), soa.AddLocalReference<jobject>(tlsPtr_.opeer)); in RemoveFromThreadGroup() 1755 return soa.AddLocalReference<jobject>(trace); in CreateInternalStackTrace() 1792 result = soa.AddLocalReference<jobjectArray>(java_traces); in InternalStackTraceToStackTraceElementArray() 1888 ScopedLocalRef<jobject> cause(GetJniEnv(), soa.AddLocalReference<jobject>(GetException())); in ThrowNewWrappedException() 1921 soa.AddLocalReference<jstring>(mirror::String::AllocFromModifiedUtf8(this, msg))); in ThrowNewWrappedException() 1974 ScopedLocalRef<jobject> ref(soa.Env(), soa.AddLocalReference<jobject>(exception.Get())); in ThrowNewWrappedException()
|
/art/runtime/jdwp/ |
D | object_registry.cc | 107 jobject local_reference = soa.AddLocalReference<jobject>(obj_h.Get()); in InternalAdd()
|