/art/test/800-smali/smali/ |
D | b_26143249.smali | 7 .method public constructor <init>()V 11 .end method 13 .method public run()V 17 .end method 19 .method public abstract abs()V 20 .end method
|
D | FloatIntConstPassing.smali | 5 .method public static getInt(I)I 10 .end method 12 .method public static getFloat(F)F 17 .end method 19 .method public static run()I 29 .end method
|
D | b_21869691A.smali | 4 # When using invoke-interface on a method id that is not from an interface class, we should throw 13 # // miranda method for a, or a implemented. 20 # in C, but in the interface table, so we will find an interface method and pass ICCE checks. 23 # method. In this test, this is done in A (A < B, so processed first). The "real" call is in B. 29 .method public constructor <init>()V 33 .end method 35 .method public run()V 41 .end method 43 .method public callinf(LB21869691C;)V 47 .end method
|
/art/test/common/ |
D | runtime_state.cc | 174 ArtMethod* method = soa.Decode<mirror::Class>(cls)->FindDeclaredDirectMethodByName( in Java_Main_isAotCompiled() local 176 const void* oat_code = method->GetOatMethodQuickCode(kRuntimePointerSize); in Java_Main_isAotCompiled() 180 const void* actual_code = method->GetEntryPointFromQuickCompiledCodePtrSize(kRuntimePointerSize); in Java_Main_isAotCompiled() 182 Runtime::Current()->GetClassLinker()->ShouldUseInterpreterEntrypoint(method, actual_code) || in Java_Main_isAotCompiled() 190 ArtMethod* method = soa.Decode<mirror::Class>(cls)->FindDeclaredDirectMethodByName( in GetMethod() local 192 if (method == nullptr) { in GetMethod() 193 method = soa.Decode<mirror::Class>(cls)->FindDeclaredVirtualMethodByName( in GetMethod() 196 DCHECK(method != nullptr) << "Unable to find method called " << chars.c_str(); in GetMethod() 197 return method; in GetMethod() 211 ArtMethod* method = GetMethod(soa, cls, chars); in Java_Main_hasJitCompiledEntrypoint() local [all …]
|
/art/test/004-JniTest/ |
D | expected.txt | 32 Calling method ConcreteClass->JniCallNonOverridenDefaultMethod on object of type ConcreteClass 34 Calling method ConcreteClass->JniCallOverridenDefaultMethod on object of type ConcreteClass 36 Calling method ConcreteClass->JniCallOverridenDefaultMethodWithSuper on object of type ConcreteClass 39 Calling method ConcreteClass->JniCallOverridenAbstractMethod on object of type ConcreteClass 41 Calling method ConcreteClass->JniCallConflictDefaultMethod on object of type ConcreteClass 42 EXCEPTION OCCURED: java.lang.IncompatibleClassChangeError: Conflicting default method implementatio… 43 Calling method ConcreteClass->JniCallSoftConflictMethod on object of type ConcreteClass 45 Calling method DefaultInterface->JniCallNonOverridenDefaultMethod on object of type ConcreteClass 47 Calling method DefaultInterface->JniCallOverridenDefaultMethod on object of type ConcreteClass 49 Calling method DefaultInterface->JniCallOverridenAbstractMethod on object of type ConcreteClass [all …]
|
/art/test/685-shifts/smali/ |
D | Test.smali | 18 .method public static shlZero(J)J 23 .end method 25 .method public static shrZero(J)J 30 .end method 32 .method public static ushrZero(J)J 37 .end method 39 .method public static shlOne(J)J 44 .end method 46 .method public static shrOne(J)J 51 .end method [all …]
|
/art/test/661-oat-writer-layout/src/ |
D | Main.java | 21 Method method; field in Main.OatMethodAndOffset 24 public OatMethodAndOffset(Method method, long codeOffset) { in OatMethodAndOffset() argument 25 this.method = method; in OatMethodAndOffset() 31 return method.getDeclaringClass().getName() + "::" + method.getName(); in methodReferenceString() 79 private static native long getOatMethodQuickCode(Method method); in getOatMethodQuickCode() argument
|
/art/runtime/interpreter/ |
D | interpreter.cc | 49 ArtMethod* method, in InterpreterJni() argument 58 if (method->IsStatic()) { in InterpreterJni() 61 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); in InterpreterJni() 63 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 72 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); in InterpreterJni() 74 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 79 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); in InterpreterJni() 81 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 86 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); in InterpreterJni() 88 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() [all …]
|
/art/test/457-regs/smali/ |
D | PhiLiveness.smali | 19 .method public static mergeOk(ZB)V 29 .end method 31 .method public static mergeNotOk(ZF)V 41 .end method 43 .method public static mergeReferences(LMain;)V 53 .end method 55 .method public static phiEquivalent()F 65 .end method 67 .method public static phiAllEquivalents(LMain;)V 77 .end method [all …]
|
/art/test/990-field-trace/ |
D | expected.txt | 1 MODIFY of int art.Test990$TestClass1.xyz on object of type: class art.Test990$TestClass1 in method … 2 …est990$TestClass1.abc on object of type: class art.Test990$TestClass1 in method public art.Test990… 3 MODIFY of static long art.Test990$TestClass2.TOTAL on object of type: null in method art.Test990$Te… 4 MODIFY of int art.Test990$TestClass1.xyz on object of type: class art.Test990$TestClass2 in method … 5 …est990$TestClass1.abc on object of type: class art.Test990$TestClass2 in method public art.Test990… 6 MODIFY of long art.Test990$TestClass2.baz on object of type: class art.Test990$TestClass2 in method… 7 MODIFY of int art.Test990$TestClass1.xyz on object of type: class art.Test990$TestClass1 in method … 8 …est990$TestClass1.abc on object of type: class art.Test990$TestClass1 in method public art.Test990… 9 MODIFY of int art.Test990$TestClass1.xyz on object of type: class art.Test990$TestClass1 in method … 10 …est990$TestClass1.abc on object of type: class art.Test990$TestClass1 in method public art.Test990… [all …]
|
/art/test/986-native-method-bind/src/art/ |
D | Test986.java | 37 private static void setNativeTransform(Method method, String dest) { in setNativeTransform() argument 38 SymbolMap.put(method, dest); in setNativeTransform() 41 private static void removeNativeTransform(Method method) { in removeNativeTransform() argument 42 SymbolMap.remove(method); in removeNativeTransform() 48 public static String doNativeMethodBind(Method method, String nativeSym) { in doNativeMethodBind() argument 51 String transSym = SymbolMap.getOrDefault(method, nativeSym); in doNativeMethodBind() 52 System.out.println(method + " = " + nativeSym + " -> " + transSym); in doNativeMethodBind()
|
/art/test/426-monitor/ |
D | expected.txt | 1 In static method 2 In instance method 4 In second instance method 5 In second static method
|
/art/runtime/native/ |
D | java_lang_reflect_Parameter.cc | 46 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); in Parameter_getAnnotationNative() local 47 if (method->IsProxyMethod()) { in Parameter_getAnnotationNative() 51 uint32_t parameter_count = method->GetParameterTypeList()->Size(); in Parameter_getAnnotationNative() 56 method->PrettyMethod().c_str(), in Parameter_getAnnotationNative() 61 uint32_t annotated_parameter_count = annotations::GetNumberOfAnnotatedMethodParameters(method); in Parameter_getAnnotationNative() 69 if (method->IsConstructor()) { in Parameter_getAnnotationNative() 74 Handle<mirror::Class> declaring_class = hs.NewHandle(method->GetDeclaringClass()); in Parameter_getAnnotationNative() 98 annotations::GetAnnotationForMethodParameter(method, parameterIndex, klass)); in Parameter_getAnnotationNative()
|
D | java_lang_reflect_Executable.cc | 44 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); in Executable_getDeclaredAnnotationsNative() local 45 if (method->GetDeclaringClass()->IsProxyClass()) { in Executable_getDeclaredAnnotationsNative() 53 return soa.AddLocalReference<jobjectArray>(annotations::GetAnnotationsForMethod(method)); in Executable_getDeclaredAnnotationsNative() 61 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); in Executable_getAnnotationNative() local 62 if (method->IsProxyMethod()) { in Executable_getAnnotationNative() 66 return soa.AddLocalReference<jobject>(annotations::GetAnnotationForMethod(method, klass)); in Executable_getAnnotationNative() 72 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); in Executable_getSignatureAnnotation() local 73 if (method->GetDeclaringClass()->IsProxyClass()) { in Executable_getSignatureAnnotation() 76 return soa.AddLocalReference<jobjectArray>(annotations::GetSignatureAnnotationForMethod(method)); in Executable_getSignatureAnnotation() 82 ArtMethod* method = ArtMethod::FromReflectedMethod(soa, javaMethod); in Executable_getParameterAnnotationsNative() local [all …]
|
/art/test/401-optimizing-compiler/ |
D | expected.txt | 1 In static method 2 In static method with 2 args 1 2 3 In static method with 5 args 1 2 3 4 5 4 In static method with 7 args 1 2 3 4 5 6 7 8 In static method with object arg class java.lang.Object
|
/art/tools/ahat/src/test/com/android/ahat/ |
D | ProguardMapTest.java | 66 assertEquals("mymethod", frame.method); in proguardMap() 81 assertEquals("mymethod", frame.method); in proguardMap() 106 assertEquals("<clinit>", frame.method); in proguardMap() 112 assertEquals("boringMethod", frame.method); in proguardMap() 118 assertEquals("methodWithPrimArgs", frame.method); in proguardMap() 124 assertEquals("methodWithPrimArrArgs", frame.method); in proguardMap() 131 assertEquals("methodWithClearObjArg", frame.method); in proguardMap() 138 assertEquals("methodWithClearObjArrArg", frame.method); in proguardMap() 144 assertEquals("methodWithObfObjArg", frame.method); in proguardMap() 150 assertEquals("methodWithObfRes", frame.method); in proguardMap() [all …]
|
/art/test/690-hiddenapi-same-name-methods/smali-ex/ |
D | DirectMethods.smali | 20 # Expect to choose the non-hidden, non-synthetic method. 23 .method private foo()Ljava/lang/Number; 27 .end method 29 .method private synthetic foo()Ljava/lang/Double; 33 .end method 36 .method private foo()Ljava/lang/Integer; 40 .end method 42 .method private synthetic foo()Ljava/lang/Boolean; 46 .end method
|
D | NonSyntheticMethods.smali | 20 # Expect to choose the non-hidden, virtual method. 23 .method public foo()Ljava/lang/Number; 27 .end method 29 .method private foo()Ljava/lang/Double; 33 .end method 36 .method public foo()Ljava/lang/Integer; 40 .end method 42 .method private foo()Ljava/lang/Boolean; 46 .end method
|
D | SyntheticMethods.smali | 20 # Expect to choose the non-hidden, virtual method. 23 .method public synthetic foo()Ljava/lang/Number; 27 .end method 29 .method private synthetic foo()Ljava/lang/Double; 33 .end method 36 .method public synthetic foo()Ljava/lang/Integer; 40 .end method 42 .method private synthetic foo()Ljava/lang/Boolean; 46 .end method
|
D | VirtualMethods.smali | 20 # Expect to choose the non-hidden, non-synthetic method. 23 .method public foo()Ljava/lang/Number; 27 .end method 29 .method public synthetic foo()Ljava/lang/Double; 33 .end method 36 .method public foo()Ljava/lang/Integer; 40 .end method 42 .method public synthetic foo()Ljava/lang/Boolean; 46 .end method
|
/art/test/044-proxy/src/ |
D | WrappedThrow.java | 188 public Object invoke(Object proxy, Method method, Object[] args) in invoke() argument 195 if (method.getDeclaringClass() == java.lang.Object.class) { in invoke() 197 if (method.getName().equals("toString")) in invoke() 199 else if (method.getName().equals("hashCode")) in invoke() 201 else if (method.getName().equals("equals")) in invoke() 207 System.out.println("Invoke " + method); in invoke() 216 if (method.getName().equals("throwFunky")) in invoke() 218 if (method.getName().equals("throwFunky2")) in invoke() 220 if (method.getName().equals("throwException")) in invoke() 222 if (method.getName().equals("throwBase")) in invoke() [all …]
|
/art/runtime/ |
D | instrumentation.h | 80 ArtMethod* method, 85 ArtMethod* method, 96 ArtMethod* method, 106 ArtMethod* method, 113 ArtMethod* method, 120 ArtMethod* method, 126 ArtMethod* method, 135 ArtMethod* method, 152 ArtMethod* method, 259 void Deoptimize(ArtMethod* method) [all …]
|
/art/test/1965-get-set-local-primitive-no-tables/jasmin/ |
D | TestCases1965.j | 18 .method public <init>()V 24 .end method 26 ; NB We limit locals 4 so that every method has space to fit a long/double in it. 27 .method public static NullObjectMethod(Ljava/util/function/IntConsumer;Ljava/util/function/Consumer… 39 .end method 41 .method public static ObjectMethod(Ljava/util/function/IntConsumer;Ljava/util/function/Consumer;)V 53 .end method 55 .method public static BooleanMethod(Ljava/util/function/IntConsumer;Ljava/util/function/Consumer;)V 68 .end method 70 .method public static ByteMethod(Ljava/util/function/IntConsumer;Ljava/util/function/Consumer;)V [all …]
|
/art/test/088-monitor-verification/smali/ |
D | OK.smali | 5 .method public static run(Ljava/lang/Object;Ljava/lang/Object;)V 16 .end method 20 .method public static runNoMonitors(Ljava/lang/Object;Ljava/lang/Object;)V 27 .end method 29 .method public static runStraightLine(Ljava/lang/Object;Ljava/lang/Object;)V 42 .end method 44 .method public static runBalancedJoin(Ljava/lang/Object;Ljava/lang/Object;)V 68 .end method
|
/art/test/724-invoke-super-npe/smali/ |
D | TestCase.smali | 18 .method public constructor <init>()V 22 .end method 24 .method public testSuperRange(LTestCase;)I 29 .end method 31 .method public testSuper(LTestCase;)I 36 .end method 38 .method public toInt()I 42 .end method
|