/art/test/182-method-linking/ |
D | expected-stdout.txt | 1 Calling pkg1.A.foo on pkg1.A 2 pkg1.A.foo 3 Calling pkg1.A.foo on pkg2.B 4 pkg1.A.foo 5 Calling pkg2.B.foo on pkg2.B 6 pkg2.B.foo 7 Calling pkg1.A.foo on pkg1.C 8 pkg1.C.foo 9 Calling pkg2.B.foo on pkg1.C 10 pkg2.B.foo [all …]
|
/art/test/840-resolution/src/ |
D | Main.java | 58 assertEquals(SuperClass.class, ((SubClass) s).foo()); in main() 59 assertEquals(SuperClass.class, ((SuperClass) s).foo()); in main() 62 s.foo(); in main() 68 assertEquals(null, ((SuperClass) s2).foo()); in main() 70 s2.foo(); in main() 77 ((pkg.PkgSuperClass) s3).foo(); in main() 84 ((SubClassFromPkg) s3).foo(); in main() 91 s3.foo(); in main() 98 ((SuperClassNoFoo) s4).foo(); in main() 105 ((SubClassNoFoo) s4).foo(); in main() [all …]
|
/art/test/640-checker-integer-valueof/src/ |
D | Main.java | 23 public static Integer foo(int a) { in foo() method in Main 224 assertEqual("42", foo(intField)); in main() 225 assertEqual(foo(intField), foo(intField2)); in main() 229 assertEqual("55555", foo(intField3)); in main() 230 assertEqual("-129", foo(intFieldMinus129)); in main() 231 assertEqual("-128", foo(intFieldMinus128)); in main() 232 assertEqual(foo(intFieldMinus128), foo(intFieldMinus128)); in main() 233 assertEqual("-127", foo(intFieldMinus127)); in main() 234 assertEqual(foo(intFieldMinus127), foo(intFieldMinus127)); in main() 235 assertEqual("126", foo(intField126)); in main() [all …]
|
/art/test/484-checker-register-hints/src/ |
D | Main.java | 53 foo.field2 = e + i + h; in test1() 54 foo.field3 = f + i + h; in test1() 55 foo.field4 = g + i + h; in test1() 56 foo.field0 = h; in test1() 57 foo.field1 = i + h; in test1() 87 foo.field2 = e + i + h; in test2() 88 foo.field3 = f + i + h; in test2() 89 foo.field4 = g + i + h; in test2() 90 foo.field0 = h; in test2() 91 foo.field1 = i + h; in test2() [all …]
|
/art/test/Dex2oatVdexTestDex/ |
D | Dex2oatVdexTestDex.java | 22 public Integer foo() { in foo() method in AccessPublicCtor 28 public double foo(Integer i) { in foo() method in AccessPublicMethod 35 public void foo(Integer i) { in foo() method in AccessPublicMethodFromParent 41 public Integer foo() { in foo() method in AccessPublicStaticMethod 47 public int foo() { in foo() method in AccessPublicStaticField 57 public Integer foo() { in foo() method in AccessNonPublicCtor 63 public float foo(Integer i) { in foo() method in AccessNonPublicMethod 70 public void foo(Integer i) { in foo() method in AccessNonPublicMethodFromParent 76 public Integer foo() { in foo() method in AccessNonPublicStaticMethod 82 public Class foo() { in foo() method in AccessNonPublicStaticField
|
/art/test/657-branches/src/ |
D | Main.java | 19 public static void foo(float f) { in foo() method in Main 29 foo(Main.class, Object.class); in foo() 31 foo(Main.class, Object.class); in foo() 33 foo(Main.class, Object.class); in foo() 40 public static void foo(Object a, Object b) {} in foo() method in Main 43 foo(0f); in main() 44 foo(4f); in main() 45 foo(0.1f); in main()
|
/art/test/690-hiddenapi-same-name-methods/ |
D | hiddenapi-flags.csv | 1 LSpecificClass;->foo()Ljava/lang/Double;,blocked 2 LDirectMethods;->foo()Ljava/lang/Integer;,blocked 3 LDirectMethods;->foo()Ljava/lang/Boolean;,blocked 4 LVirtualMethods;->foo()Ljava/lang/Integer;,blocked 5 LVirtualMethods;->foo()Ljava/lang/Boolean;,blocked 6 LSyntheticMethods;->foo()Ljava/lang/Integer;,blocked 7 LSyntheticMethods;->foo()Ljava/lang/Boolean;,blocked 8 LNonSyntheticMethods;->foo()Ljava/lang/Integer;,blocked 9 LNonSyntheticMethods;->foo()Ljava/lang/Boolean;,blocked
|
/art/test/911-get-stack-trace/src/art/ |
D | SameThread.java | 25 Recurse.foo(4, 0, 25, null); in doTest() 26 Recurse.foo(4, 1, 25, null); in doTest() 27 Recurse.foo(4, 0, 5, null); in doTest() 28 Recurse.foo(4, 2, 5, null); in doTest() 29 Recurse.foo(4, 2, 1, null); in doTest() 32 Recurse.foo(4, -1, 25, null); in doTest() 33 Recurse.foo(4, -5, 5, null); in doTest() 34 Recurse.foo(4, -7, 5, null); in doTest()
|
/art/test/911-get-stack-trace/ |
D | expected-stdout.txt | 11 foo (IIILart/ControlData;)I 0 21 14 foo (IIILart/ControlData;)I 0 21 17 foo (IIILart/ControlData;)I 0 21 20 foo (IIILart/ControlData;)I 0 21 23 foo (IIILart/ControlData;)I 0 21 31 foo (IIILart/ControlData;)I 0 21 34 foo (IIILart/ControlData;)I 0 21 37 foo (IIILart/ControlData;)I 0 21 40 foo (IIILart/ControlData;)I 0 21 43 foo (IIILart/ControlData;)I 0 21 [all …]
|
D | expected-cts-version.txt | 11 foo (IIILart/ControlData;)I 0 21 14 foo (IIILart/ControlData;)I 0 21 17 foo (IIILart/ControlData;)I 0 21 20 foo (IIILart/ControlData;)I 0 21 23 foo (IIILart/ControlData;)I 0 21 31 foo (IIILart/ControlData;)I 0 21 34 foo (IIILart/ControlData;)I 0 21 37 foo (IIILart/ControlData;)I 0 21 40 foo (IIILart/ControlData;)I 0 21 43 foo (IIILart/ControlData;)I 0 21 [all …]
|
/art/test/551-checker-clinit/src/ |
D | Main.java | 20 public static long foo = 42; field in Main 49 long a = Main.foo; in invokeSuperClass() 56 long a = foo; in invokeItself() 62 long a = SubSub.foo; in invokeSubClass() 65 public static long foo = 42; field in Sub 70 long a = Main.foo; in bar() 72 public static long foo = 42; field in SubSub
|
/art/test/594-invoke-super/src/ |
D | Main.java | 27 public void foo() { System.out.println("I am A's foo"); } in foo() method in A 37 public void foo() { System.out.println("I am B's foo"); } in foo() method in B 45 public void foo() { super.foo(); } in foo() method in X 49 public void foo() { super.foo(); } in foo() method in Y 60 new X().foo(); in main() 61 new Y().foo(); in main()
|
/art/test/139-register-natives/src/ |
D | Main.java | 75 private native void foo(); in foo() method in TestSuper 79 foo(); in callMyFoo() 84 public native void foo(); in foo() method in TestSub 88 foo(); in callMyFoo() 93 public native void foo(); in foo() method in TestSuper2 97 foo(); in callMyFoo() 105 public native void foo(); in foo() method in TestSuper3 109 foo(); in callMyFoo() 114 public void foo() { in foo() method in TestSub3
|
/art/test/957-methodhandle-transforms/ |
D | expected-stdout.txt | 1 Message: foo, Message2: 42 2 Message: foo, Message2: 42 3 Message: foo, Message2: 42 4 Message: foo, Message2: 42 5 Message: foo, Message2: 42 6 Message: foo, Message2: 42 7 Message: foo, Message2: 42 8 Target: Arg1: foo, Arg2: 42 9 Target: Arg1: foo, Arg2: 42 10 Handler: java.lang.IllegalArgumentException: exceptionMessage, Arg1: foo, Arg2: 42, ExMsg: exceptio… [all …]
|
/art/test/016-intern/src/ |
D | Main.java | 23 final String foo = "foo"; in main() local 27 a = foo.concat(bar).intern(); in main() 28 b = foo.concat(bar).intern(); in main() 29 if (a == b && foo != bar) { in main() 36 a = ("f" + foo.substring(1,3)).intern(); in main() 37 if (a == foo) { in main()
|
/art/test/105-invoke/src/ |
D | Main.java | 72 Main foo = new Main(); in invoke() local 75 return foo.virI_I(a) + in invoke() 76 foo.virI_II(a, 1) + in invoke() 77 foo.virI_III(a, 1, 2) + in invoke() 78 foo.virI_IIII(a, 1, 2, 3) + in invoke() 79 foo.virI_IIIII(a, 1, 2, 3, 4) + in invoke() 80 foo.virI_IIIIII(a, 1, 2, 3, 4, 5) + in invoke() 87 foo.interfaceMethod(a); in invoke()
|
/art/test/550-new-instance-clinit/src/ |
D | Main.java | 19 int foo = Main.a; in main() local 21 foo = Main.a; in main() 22 if (foo != 43) { in main() 23 throw new Error("Expected 43, got " + foo); in main()
|
/art/test/434-shifter-operand/src/ |
D | Main.java | 19 System.out.println(foo(42)); in main() 20 System.out.println(foo(0xffffffff)); in main() 21 System.out.println(foo(0xf0000000)); in main() 24 public static boolean foo(int a) { in foo() method in Main
|
/art/test/641-checker-arraycopy/src/ |
D | Main.java | 28 public static void typedCopy(Object o, byte[] foo) { in typedCopy() argument 30 System.arraycopy((Object)foo, 1, (Object)foo, 0, 1); // Don't use the @hide byte[] overload. in typedCopy() 33 public static void untypedCopy(Object o, Object foo) { in untypedCopy() argument 35 System.arraycopy(foo, 1, foo, 0, 1); in untypedCopy()
|
/art/test/421-exceptions/src/ |
D | Main.java | 20 $opt$foo(1); in $opt$bar() 22 $opt$foo(2); in $opt$bar() 24 $opt$foo(3); in $opt$bar() 26 $opt$foo(4); in $opt$bar() 55 public static void $opt$foo(int value) { in $opt$foo()
|
/art/test/809-checker-invoke-super-bss/smali/ |
D | Class.smali | 18 ## CHECK-START: void Class.$noinline$foo() register (after) 19 …G: InvokeStaticOrDirect dex_file_index:<<Index1:\d+>> method_name:SuperSuperClass.$noinline$foo 20 …G: InvokeStaticOrDirect dex_file_index:<<Index2:\d+>> method_name:SuperSuperClass.$noinline$foo 21 …G: InvokeStaticOrDirect dex_file_index:<<Index3:\d+>> method_name:SuperSuperClass.$noinline$foo 24 .method public $noinline$foo()V 26 invoke-super {p0}, LClass;->$noinline$foo()V 27 invoke-super {p0}, LSuperClass;->$noinline$foo()V 28 invoke-super {p0}, LSuperSuperClass;->$noinline$foo()V
|
/art/test/809-checker-invoke-super-bss/smali-multidex/ |
D | OtherClass.smali | 18 ## CHECK-START: void OtherClass.$noinline$foo() register (after) 19 …G: InvokeStaticOrDirect dex_file_index:<<Index1:\d+>> method_name:SuperSuperClass.$noinline$foo 20 …G: InvokeStaticOrDirect dex_file_index:<<Index2:\d+>> method_name:SuperSuperClass.$noinline$foo 21 …G: InvokeStaticOrDirect dex_file_index:<<Index3:\d+>> method_name:SuperSuperClass.$noinline$foo 24 .method public $noinline$foo()V 26 invoke-super {p0}, LOtherClass;->$noinline$foo()V 27 invoke-super {p0}, LSuperClass;->$noinline$foo()V 28 invoke-super {p0}, LSuperSuperClass;->$noinline$foo()V
|
/art/test/810-checker-invoke-super-default/smali/ |
D | OtherClass.smali | 18 ## CHECK-START: void OtherClass.$noinline$foo() register (after) 21 ## CHECK-DAG: InvokeStaticOrDirect method_name:Itf.$noinline$foo method_index:0 22 ## CHECK-DAG: InvokeStaticOrDirect method_name:Itf.$noinline$foo method_index:0 23 ## CHECK-DAG: InvokeStaticOrDirect method_name:Itf.$noinline$foo method_index:0 24 .method public $noinline$foo()V 26 invoke-super {p0}, LOtherClass;->$noinline$foo()V 27 invoke-super {p0}, LOtherAbstractClass;->$noinline$foo()V 28 invoke-super {p0}, LItf;->$noinline$foo()V
|
D | Class.smali | 18 ## CHECK-START: void Class.$noinline$foo() register (after) 21 ## CHECK-DAG: InvokeStaticOrDirect method_name:Itf.$noinline$foo method_index:0 22 ## CHECK-DAG: InvokeStaticOrDirect method_name:Itf.$noinline$foo method_index:0 23 ## CHECK-DAG: InvokeStaticOrDirect method_name:Itf.$noinline$foo method_index:0 24 .method public $noinline$foo()V 26 invoke-super {p0}, LClass;->$noinline$foo()V 27 invoke-super {p0}, LAbstractClass;->$noinline$foo()V 28 invoke-super {p0}, LItf;->$noinline$foo()V
|
/art/test/447-checker-inliner3/src/ |
D | Main.java | 27 return foo(true); in inlineIfThenElse() 30 private static int foo(boolean value) { in foo() method in Main 47 result += foo(i % 2 == 0); in inlineInLoop() 60 for (int i = 0; i < foo(i % 2 == 0); ++i) { in inlineInLoopHeader()
|