Home
last modified time | relevance | path

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

12

/art/runtime/interpreter/
Dinterpreter.cc40 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/
Djava_lang_Class.cc93 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 …]
Djava_lang_StringFactory.cc50 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()
Djava_lang_String.cc60 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()
Ddalvik_system_VMStack.cc81 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()
Djava_lang_reflect_Array.cc46 return soa.AddLocalReference<jobject>(new_array); in Array_createMultiArray()
67 return soa.AddLocalReference<jobject>(new_array); in Array_createObjectArray()
Djava_lang_DexCache.cc55 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()
Djava_lang_VMClassLoader.cc42 return soa.AddLocalReference<jclass>(c); in VMClassLoader_findLoadedClass()
50 return soa.AddLocalReference<jclass>(c); in VMClassLoader_findLoadedClass()
Djava_lang_ref_Reference.cc33 return soa.AddLocalReference<jobject>(referent); in Reference_getReferent()
Djava_lang_reflect_Proxy.cc33 return soa.AddLocalReference<jclass>(class_linker->CreateProxyClass( in Proxy_generateProxy()
Djava_lang_reflect_Method.cc54 return soa.AddLocalReference<jobject>(declared_exceptions->Clone(soa.Self())); in Method_getExceptionTypesNative()
Djava_lang_reflect_Constructor.cc85 jobject javaReceiver = soa.AddLocalReference<jobject>(receiver); in Constructor_newInstance()
Djava_lang_Object.cc33 return soa.AddLocalReference<jobject>(o->Clone(soa.Self())); in Object_internalClone()
Dsun_misc_Unsafe.cc136 return soa.AddLocalReference<jobject>(value); in Unsafe_getObjectVolatile()
143 return soa.AddLocalReference<jobject>(value); in Unsafe_getObject()
Djava_lang_Thread.cc35 return soa.AddLocalReference<jobject>(soa.Self()->GetPeer()); in Thread_currentThread()
Ddalvik_system_VMRuntime.cc91 return soa.AddLocalReference<jobject>(result); in VMRuntime_newNonMovableArray()
116 return soa.AddLocalReference<jobject>(result); in VMRuntime_newUnpaddedArray()
Ddalvik_system_DexFile.cc248 return soa.AddLocalReference<jclass>(result); in DexFile_defineClassNative()
/art/runtime/
Dproxy_test.cc41 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()
Dreflection_test.cc81 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 …]
Djni_env_ext-inl.h27 inline T JNIEnvExt::AddLocalReference(mirror::Object* obj) { in AddLocalReference() function
Djni_internal.cc357 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 …]
Djni_env_ext.h50 T AddLocalReference(mirror::Object* obj)
Dscoped_thread_state_change.h133 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()
Dthread.cc278 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/
Dobject_registry.cc107 jobject local_reference = soa.AddLocalReference<jobject>(obj_h.Get()); in InternalAdd()

12