/art/runtime/interpreter/ |
D | interpreter.cc | 39 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/ |
D | proxy_test.cc | 44 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()
|
D | reflection_test.cc | 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() 415 ScopedLocalRef<jobject> receiver_ref(soa.Env(), soa.AddLocalReference<jobject>(receiver)); in InvokeSumDoubleDoubleDoubleMethod() [all …]
|
D | scoped_thread_state_change.h | 111 JNIEnvExt* Env() const { in Env() function 137 return obj == nullptr ? nullptr : Env()->AddLocalReference<T>(obj); in AddLocalReference()
|
D | reflection.cc | 431 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()
|
D | thread.cc | 278 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()
|
D | jni_internal.cc | 513 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()
|
D | class_linker.cc | 1775 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()
|
D | debugger.cc | 112 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/ |
D | entrypoint_utils.cc | 230 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/ |
D | reference_processor.cc | 231 soa.Env()->DeleteGlobalRef(cleared_references_); in Run()
|
/art/runtime/jdwp/ |
D | object_registry.cc | 105 JNIEnv* env = soa.Env(); in InternalAdd()
|
/art/runtime/native/ |
D | dalvik_system_VMDebug.cc | 243 soa.Env()->DumpReferenceTables(LOG(INFO)); in VMDebug_dumpReferenceTables()
|
/art/runtime/entrypoints/quick/ |
D | quick_trampoline_entrypoints.cc | 717 soa_->Env()->DeleteLocalRef(pair.first); in FixupReferences() 809 soa_->Env()->DeleteLocalRef(pair.first); in FixupReferences()
|
/art/compiler/driver/ |
D | compiler_driver.cc | 557 soa.Env(), soa.AddLocalReference<jobject>(method->GetDeclaringClass()->GetClassLoader())); in CompileOne() 558 jclass_loader = soa.Env()->NewGlobalRef(local_class_loader.get()); in CompileOne()
|