Home
last modified time | relevance | path

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

12

/art/runtime/interpreter/
Dinterpreter.cc143 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni()
154 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni()
161 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni()
168 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni()
175 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni()
182 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni()
184 … soa.AddLocalReference<jobject>(reinterpret_cast<Object*>(args[0]))); in InterpreterJni()
195 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni()
203 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni()
205 … soa.AddLocalReference<jobject>(reinterpret_cast<Object*>(args[0]))); in InterpreterJni()
[all …]
/art/runtime/
Dproxy_test.cc39 jclass javaLangClass = soa.AddLocalReference<jclass>(mirror::Class::GetJavaLangClass()); in GenerateProxyClass()
47 soa.AddLocalReference<jclass>(interfaces[i])); in GenerateProxyClass()
57 soa.AddLocalReference<jclass>(mirror::ArtMethod::GetJavaLangReflectArtMethod()); in GenerateProxyClass()
76 soa.AddLocalReference<jobject>(equalsMethod)); in GenerateProxyClass()
78 soa.AddLocalReference<jobject>(hashCodeMethod)); in GenerateProxyClass()
80 soa.AddLocalReference<jobject>(toStringMethod)); in GenerateProxyClass()
89 soa.AddLocalReference<jobject>(method)); in GenerateProxyClass()
Djni_internal-inl.h27 inline T JNIEnvExt::AddLocalReference(mirror::Object* obj) { in AddLocalReference() function
Dscoped_thread_state_change.h127 T AddLocalReference(mirror::Object* obj) const SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in AddLocalReference() function
134 return Env()->AddLocalReference<T>(obj); in AddLocalReference()
Djni_internal.cc603 return soa.AddLocalReference<jclass>(c); in FindClass()
623 ScopedLocalRef<jobject> art_method(env, soa.AddLocalReference<jobject>(m)); in ToReflectedMethod()
642 ScopedLocalRef<jobject> art_field(env, soa.AddLocalReference<jobject>(f)); in ToReflectedField()
656 return soa.AddLocalReference<jclass>(o->GetClass()); in GetObjectClass()
663 return soa.AddLocalReference<jclass>(c->GetSuperClass()); in GetSuperclass()
741 soa.AddLocalReference<jthrowable>(old_exception.Get())); in ExceptionDescribe()
765 return soa.AddLocalReference<jthrowable>(exception); in ExceptionOccurred()
786 return soa.AddLocalReference<jobject>(survivor); in PopLocalFrame()
843 return soa.AddLocalReference<jobject>(decoded_obj); in NewLocalRef()
882 return soa.AddLocalReference<jobject>(c->AllocObject(soa.Self())); in AllocObject()
[all …]
Djni_internal.h151 T AddLocalReference(mirror::Object* obj)
Dthread.cc1257 ScopedLocalRef<jobject> peer(tlsPtr_.jni_env, soa.AddLocalReference<jobject>(tlsPtr_.opeer)); in HandleUncaughtExceptions()
1289 ScopedLocalRef<jobject> group(soa.Env(), soa.AddLocalReference<jobject>(ogroup)); in RemoveFromThreadGroup()
1290 ScopedLocalRef<jobject> peer(soa.Env(), soa.AddLocalReference<jobject>(tlsPtr_.opeer)); in RemoveFromThreadGroup()
1547 return soa.AddLocalReference<jobjectArray>(trace); in CreateInternalStackTrace()
1578 result = soa.AddLocalReference<jobjectArray>(java_traces); in InternalStackTraceToStackTraceElementArray()
1671 ScopedLocalRef<jobject> cause(GetJniEnv(), soa.AddLocalReference<jobject>(GetException(nullptr))); in ThrowNewWrappedException()
1713 soa.AddLocalReference<jstring>(mirror::String::AllocFromModifiedUtf8(this, msg))); in ThrowNewWrappedException()
/art/runtime/native/
Djava_lang_Class.cc83 return soa.AddLocalReference<jclass>(c.Get()); in Class_classForName()
90 return soa.AddLocalReference<jstring>(mirror::Class::ComputeName(hs.NewHandle(c))); in Class_getNameNative()
96 return soa.AddLocalReference<jobjectArray>(c->GetInterfaces()->Clone(soa.Self())); in Class_getProxyInterfaces()
Ddalvik_system_VMStack.cc84 return soa.AddLocalReference<jobject>(visitor.caller->GetDeclaringClass()->GetClassLoader()); in VMStack_getCallingClassLoader()
113 return soa.AddLocalReference<jobject>(visitor.class_loader); in VMStack_getClosestUserClassLoader()
125 return soa.AddLocalReference<jclass>(visitor.caller->GetDeclaringClass()); in VMStack_getStackClass2()
Djava_lang_reflect_Array.cc43 return soa.AddLocalReference<jobject>(new_array); in Array_createMultiArray()
65 return soa.AddLocalReference<jobject>(new_array); in Array_createObjectArray()
Djava_lang_VMClassLoader.cc39 return soa.AddLocalReference<jclass>(c); in VMClassLoader_findLoadedClass()
47 return soa.AddLocalReference<jclass>(c); in VMClassLoader_findLoadedClass()
Djava_lang_ref_Reference.cc31 return soa.AddLocalReference<jobject>(referent); in Reference_getReferent()
Djava_lang_reflect_Proxy.cc33 return soa.AddLocalReference<jclass>(result); in Proxy_generateProxy()
Djava_lang_reflect_Method.cc52 return soa.AddLocalReference<jobject>(declared_exceptions->Clone(soa.Self())); in Method_getExceptionTypesNative()
Djava_lang_String.cc50 return soa.AddLocalReference<jstring>(result); in String_intern()
Djava_lang_reflect_Constructor.cc70 jobject javaReceiver = soa.AddLocalReference<jobject>(receiver); in Constructor_newInstance()
Djava_lang_Object.cc31 return soa.AddLocalReference<jobject>(o->Clone(soa.Self())); in Object_internalClone()
Dsun_misc_Unsafe.cc134 return soa.AddLocalReference<jobject>(value); in Unsafe_getObjectVolatile()
141 return soa.AddLocalReference<jobject>(value); in Unsafe_getObject()
Djava_lang_Thread.cc33 return soa.AddLocalReference<jobject>(soa.Self()->GetPeer()); in Thread_currentThread()
Ddalvik_system_VMRuntime.cc80 return soa.AddLocalReference<jobject>(result); in VMRuntime_newNonMovableArray()
105 return soa.AddLocalReference<jobject>(result); in VMRuntime_newUnpaddedArray()
Djava_lang_reflect_Field.cc144 return soa.AddLocalReference<jobject>(BoxPrimitive(field_type, value)); in Field_get()
/art/runtime/entrypoints/portable/
Dportable_trampoline_entrypoints.cc246 val.l = soa_.AddLocalReference<jobject>(obj); in Visit()
293 jobject rcvr_jobj = soa.AddLocalReference<jobject>(receiver); in artPortableProxyInvokeHandler()
307 jobject interface_method_jobj = soa.AddLocalReference<jobject>(interface_method); in artPortableProxyInvokeHandler()
/art/runtime/gc/
Dreference_processor.cc223 soa.AddLocalReference<jobject>(cleared_references_.GetList())); in EnqueueClearedReferences()
/art/runtime/jdwp/
Dobject_registry.cc77 jobject local_reference = soa.AddLocalReference<jobject>(obj_h.Get()); in InternalAdd()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc568 val.l = soa_->AddLocalReference<jobject>(stack_ref->AsMirrorPtr()); in Visit()
629 jobject rcvr_jobj = soa.AddLocalReference<jobject>(receiver); in artQuickProxyInvokeHandler()
648 jobject interface_method_jobj = soa.AddLocalReference<jobject>(interface_method); in artQuickProxyInvokeHandler()
685 soa_->AddLocalReference<jobject>(stack_ref->AsMirrorPtr()); in Visit()

12