Home
last modified time | relevance | path

Searched refs:Env (Results 1 – 15 of 15) sorted by relevance

/art/runtime/interpreter/
Dinterpreter.cc39 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni()
44 jresult = fn(soa.Env(), klass.get()); in InterpreterJni()
50 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni()
53 fn(soa.Env(), klass.get()); in InterpreterJni()
57 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni()
60 result->SetZ(fn(soa.Env(), klass.get())); in InterpreterJni()
64 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni()
67 result->SetB(fn(soa.Env(), klass.get(), args[0])); in InterpreterJni()
71 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni()
74 result->SetI(fn(soa.Env(), klass.get(), args[0])); in InterpreterJni()
[all …]
/art/runtime/
Dproxy_test.cc44 jobjectArray proxyClassInterfaces = soa.Env()->NewObjectArray(interfaces.size(), javaLangClass, in GenerateProxyClass()
48 soa.Env()->SetObjectArrayElement(proxyClassInterfaces, i, in GenerateProxyClass()
57 jobjectArray proxyClassMethods = soa.Env()->NewObjectArray( in GenerateProxyClass()
66 soa.Env()->SetObjectArrayElement( in GenerateProxyClass()
71 soa.Env()->SetObjectArrayElement( in GenerateProxyClass()
77 soa.Env()->SetObjectArrayElement( in GenerateProxyClass()
83 soa.Env()->SetObjectArrayElement( in GenerateProxyClass()
91 jobjectArray proxyClassThrows = soa.Env()->NewObjectArray(0, javaLangClass, nullptr); in GenerateProxyClass()
95 soa, soa.Env()->NewStringUTF(className), proxyClassInterfaces, jclass_loader, in GenerateProxyClass()
Dreflection_test.cc136 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()
415 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); in InvokeSumDoubleDoubleDoubleMethod()
[all …]
Dscoped_thread_state_change.h111 JNIEnvExt* Env() const { in Env() function
137 return obj == nullptr ? nullptr : Env()->AddLocalReference<T>(obj); in AddLocalReference()
Dreflection.cc431 if (UNLIKELY(soa.Env()->check_jni)) { in InvokeWithArgArray()
645 jthrowable th = soa.Env()->ExceptionOccurred(); in InvokeMethod()
647 jclass exception_class = soa.Env()->FindClass("java/lang/reflect/InvocationTargetException"); in InvokeMethod()
652 jmethodID mid = soa.Env()->GetMethodID(exception_class, "<init>", "(Ljava/lang/Throwable;)V"); in InvokeMethod()
654 jobject exception_instance = soa.Env()->NewObject(exception_class, mid, th); in InvokeMethod()
659 soa.Env()->Throw(reinterpret_cast<jthrowable>(exception_instance)); in InvokeMethod()
Dthread.cc278 ScopedLocalRef<jobject> ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); in CreateCallback()
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()
1974 ScopedLocalRef<jobject> ref(soa.Env(), soa.AddLocalReference<jobject>(exception.Get())); in ThrowNewWrappedException()
Djni_internal.cc513 soa.Env()->PopFrame(); in PopLocalFrame()
2233 soa.Env()->monitors.Add(o); in MonitorEnter()
2245 soa.Env()->monitors.Remove(o); in MonitorExit()
2331 const size_t capacity = soa.Env()->locals.Capacity(); in EnsureLocalCapacityInternal()
2415 VLOG(heap) << "Release primitive array " << soa.Env() << " array_data " << array_data in ReleasePrimitiveArray()
Dclass_linker.cc1775 ScopedLocalRef<jobject> class_loader_object(soa.Env(), in FindClass()
1778 ScopedLocalRef<jobject> result(soa.Env(), nullptr); in FindClass()
1781 ScopedLocalRef<jobject> class_name_object(soa.Env(), in FindClass()
1782 soa.Env()->NewStringUTF(class_name_string.c_str())); in FindClass()
1788 result.reset(soa.Env()->CallObjectMethod(class_loader_object.get(), in FindClass()
5882 soa.Env(), soa.Env()->AddLocalReference<jobject>(h_path_class_loader.Get())); in CreatePathClassLoader()
5883 return soa.Env()->NewGlobalRef(local_ref.get()); in CreatePathClassLoader()
Ddebugger.cc112 JNIEnv* const env = soa.Env(); in Add()
113 ScopedLocalRef<jobject> local_ref(soa.Env(), soa.AddLocalReference<jobject>(t)); in Add()
4051 ScopedLocalRef<jobject> ref(soa.Env(), soa.AddLocalReference<jobject>(pReq->receiver.Read())); in ExecuteMethodWithoutPendingException()
/art/runtime/entrypoints/
Dentrypoint_utils.cc230 DCHECK(soa.Env()->IsInstanceOf(rcvr_jobj, WellKnownClasses::java_lang_reflect_Proxy)); in InvokeProxyInvocationHandler()
239 args_jobj = soa.Env()->NewObjectArray(args.size(), WellKnownClasses::java_lang_Object, nullptr); in InvokeProxyInvocationHandler()
247 soa.Env()->SetObjectArrayElement(args_jobj, i, val); in InvokeProxyInvocationHandler()
267 soa.Env()->CallStaticObjectMethodA(WellKnownClasses::java_lang_reflect_Proxy, in InvokeProxyInvocationHandler()
/art/runtime/gc/
Dreference_processor.cc231 soa.Env()->DeleteGlobalRef(cleared_references_); in Run()
/art/runtime/jdwp/
Dobject_registry.cc105 JNIEnv* env = soa.Env(); in InternalAdd()
/art/runtime/native/
Ddalvik_system_VMDebug.cc243 soa.Env()->DumpReferenceTables(LOG(INFO)); in VMDebug_dumpReferenceTables()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc717 soa_->Env()->DeleteLocalRef(pair.first); in FixupReferences()
809 soa_->Env()->DeleteLocalRef(pair.first); in FixupReferences()
/art/compiler/driver/
Dcompiler_driver.cc557 soa.Env(), soa.AddLocalReference<jobject>(method->GetDeclaringClass()->GetClassLoader())); in CompileOne()
558 jclass_loader = soa.Env()->NewGlobalRef(local_class_loader.get()); in CompileOne()