Home
last modified time | relevance | path

Searched refs:Transform (Results 1 – 25 of 76) sorted by relevance

1234

/art/test/917-fields-transformation/src/art/
DTest917.java22 static class Transform { class in Test917
26 public Transform(String take1, String take2) { in Transform() method in Test917.Transform
81 doTest(new Transform("Hello", "Goodbye"), in run()
82 new Transform("start", "end")); in run()
85 private static void printTransform(Transform t) { in printTransform()
90 public static void doTest(Transform t1, Transform t2) { in doTest()
93 Redefinition.doCommonClassRedefinition(Transform.class, CLASS_BYTES, DEX_BYTES); in doTest()
/art/test/921-hello-failure/src/
DMain.java23 Verification.doTest(new Transform()); in main()
24 NewName.doTest(new Transform()); in main()
25 DifferentAccess.doTest(new Transform()); in main()
29 MultiRedef.doTest(new Transform(), new Transform2()); in main()
30 MultiRetrans.doTest(new Transform(), new Transform2()); in main()
31 NewMethod.doTest(new Transform()); in main()
33 MethodChange.doTest(new Transform()); in main()
34 NewField.doTest(new Transform()); in main()
37 Unmodifiable.doTest(new Transform[] { new Transform(), }); in main()
/art/test/932-transform-saves/src/art/
DTest932.java24 static class Transform { class in Test932
106 doTest(new Transform()); in run()
109 public static void doTest(Transform t) { in doTest()
115 Redefinition.doCommonClassRedefinition(Transform.class, CLASS_BYTES_A, DEX_BYTES_A); in doTest()
121 Redefinition.doCommonClassRetransformation(Transform.class); in doTest()
126 Redefinition.doCommonClassRetransformation(Transform.class); in doTest()
/art/test/986-native-method-bind/src/art/
DTest986.java26 static class Transform { class in Test986
58 Method say_hi_method = Transform.class.getDeclaredMethod("sayHi"); in doTest()
61 Transform.sayHi2(); in doTest()
65 Transform.sayHi(); in doTest()
70 Transform.sayHi(); in doTest()
75 Transform.sayHi(); in doTest()
94 rebindTransformClass(Transform.class); in rebindTransformClass()
/art/test/986-native-method-bind/
Dexpected.txt1 private static native void art.Test986$Transform.sayHi2() = Java_art_Test986_00024Transform_sayHi2 …
3 private static native void art.Test986$Transform.sayHi() = Java_art_Test986_00024Transform_sayHi__ …
6 private static native void art.Test986$Transform.sayHi() = Java_art_Test986_00024Transform_sayHi__ …
7 private static native void art.Test986$Transform.sayHi2() = Java_art_Test986_00024Transform_sayHi2 …
9 private static native void art.Test986$Transform.sayHi() = Java_art_Test986_00024Transform_sayHi__ …
10 private static native void art.Test986$Transform.sayHi2() = Java_art_Test986_00024Transform_sayHi2 …
/art/test/935-non-retransformable/src-ex/
DTestMain.java21 Transform t = new Transform(); in runTest()
24 Method hi = Transform.class.getMethod("sayHi"); in runTest()
25 Method bye = Transform.class.getMethod("sayGoodbye"); in runTest()
/art/test/982-ok-no-retransform/src/art/
DTest982.java22 static class Transform { class in Test982
30 doTest(new Transform()); in run()
33 public static void doTest(Transform t) { in doTest()
36 Redefinition.doCommonClassRetransformation(Transform.class); in doTest()
/art/test/948-change-annotations/
Dexpected.txt3 method public void Transform.sayHi() -> [@TestMethodAnnotation1(value=hi hi)]
7 method public void Transform.sayHi() -> []
10 method public void Transform.sayHi() -> [@TestMethodAnnotation1(value=hi hi)]
14 method public void Transform.sayHi() -> [@TestMethodAnnotation1(value=hi hi), @TestMethodAnnotation…
17 method public void Transform.sayHi() -> [@TestMethodAnnotation1(value=hi hi)]
21 method public void Transform.sayHi() -> [@TestMethodAnnotation1(value=Bye Bye)]
/art/test/902-hello-transformation/src/art/
DTest902.java22 static class Transform { class in Test902
74 doTest(new Transform()); in run()
77 public static void doTest(Transform t) { in doTest()
79 Redefinition.doCommonClassRedefinition(Transform.class, CLASS_BYTES, DEX_BYTES); in doTest()
/art/test/930-hello-retransform/src/art/
DTest930.java22 static class Transform { class in Test930
68 doTest(new Transform()); in run()
71 public static void doTest(Transform t) { in doTest()
75 Redefinition.doCommonClassRetransformation(Transform.class); in doTest()
/art/test/943-private-recursive-jit/src/
DMain.java114 doTest(new Transform()); in main()
119 public static void doTest(Transform t) { in doTest()
126 say_hi_method = Transform.class.getDeclaredMethod( in doTest()
128 private_say_hi_method = Transform.class.getDeclaredMethod( in doTest()
147 doCommonClassRedefinition(Transform.class, CLASS_BYTES, DEX_BYTES); in doTest()
152 ensureJitCompiled(Transform.class, "sayHi"); in doTest()
153 ensureJitCompiled(Transform.class, "privateSayHi"); in doTest()
/art/test/944-transform-classloaders/src/art/
DTest944.java27 static class Transform { class in Test944
48 Transform.class,
235 Transform t = new Transform(); in doTest()
238 long initial_t1_dex = getDexFilePointer(Transform.class); in doTest()
241 throw new Exception("The classes " + Transform.class + " and " + Transform2.class + " " + in doTest()
244 checkDexFileInClassLoader(Transform.class); in doTest()
256 long final_t1_dex = getDexFilePointer(Transform.class); in doTest()
259 throw new Exception("The classes " + Transform.class + " and " + Transform2.class + " " + in doTest()
262 throw new Exception("The class " + Transform.class + " did not get a new dex file!"); in doTest()
267 checkDexFileInClassLoader(Transform.class); in doTest()
/art/test/947-reflect-method/src/art/
DTest947.java24 static class Transform { class in Test947
69 doTest(new Transform()); in run()
72 public static void doTest(Transform t) { in doTest()
76 Redefinition.doCommonClassRedefinition(Transform.class, CLASS_BYTES, DEX_BYTES); in doTest()
/art/test/1937-transform-soft-fail/src/art/
DTest1937.java24 static class Transform { class in Test1937
79 doTest(new Transform()); in run()
82 public static void doTest(Transform t) { in doTest()
84 Redefinition.doCommonClassRedefinition(Transform.class, CLASS_BYTES, DEX_BYTES); in doTest()
/art/test/985-re-obsolete/src/art/
DTest985.java23 static class Transform { class in Test985
181 doTest(new Transform()); in run()
184 public static void doTest(Transform t) { in doTest()
188 Redefinition.doCommonClassRedefinition(Transform.class, CLASS_BYTES_1, DEX_BYTES_1); in doTest()
193 Redefinition.doCommonClassRedefinition(Transform.class, CLASS_BYTES_2, DEX_BYTES_2); in doTest()
/art/test/945-obsolete-native/src/art/
DTest945.java23 static class Transform { class in Test945
85 doTest(new Transform()); in run()
88 public static void doTest(Transform t) { in doTest()
92 Redefinition.doCommonClassRedefinition(Transform.class, CLASS_BYTES, DEX_BYTES); in doTest()
/art/test/914-hello-obsolescence/src/art/
DTest914.java24 static class Transform { class in Test914
75 doTest(new Transform()); in run()
78 public static void doTest(Transform t) { in doTest()
82 Redefinition.doCommonClassRedefinition(Transform.class, CLASS_BYTES, DEX_BYTES); in doTest()
/art/test/987-agent-bind/src/art/
DTest987.java21 static class Transform { class in Test987
31 Transform.sayHi(); in doTest()
32 Transform.sayHi2(); in doTest()
/art/test/940-recursive-obsolete/src/art/
DTest940.java23 static class Transform { class in Test940
95 doTest(new Transform()); in run()
98 public static void doTest(Transform t) { in doTest()
102 Redefinition.doCommonClassRedefinition(Transform.class, CLASS_BYTES, DEX_BYTES); in doTest()
/art/test/946-obsolete-throw/src/art/
DTest946.java23 static class Transform { class in Test946
73 doTest(new Transform()); in run()
80 Redefinition.doCommonClassRedefinition(Transform.class, CLASS_BYTES, DEX_BYTES); in run()
85 public static void doTest(Transform t) { in doTest()
/art/test/1957-error-ext/src/art/
DTest1957.java22 static class Transform { class in Test1957
65 Transform t = new Transform(); in run()
68 Redefinition.doCommonClassRedefinition(Transform.class, CLASS_BYTES, DEX_BYTES); in run()
/art/test/915-obsolete-2/src/art/
DTest915.java23 static class Transform { class in Test915
112 doTest(new Transform()); in run()
115 public static void doTest(Transform t) { in doTest()
119 Redefinition.doCommonClassRedefinition(Transform.class, CLASS_BYTES, DEX_BYTES); in doTest()
/art/test/942-private-recursive/src/art/
DTest942.java23 static class Transform { class in Test942
104 doTest(new Transform()); in run()
107 public static void doTest(Transform t) { in doTest()
111 Redefinition.doCommonClassRedefinition(Transform.class, CLASS_BYTES, DEX_BYTES); in doTest()
/art/test/919-obsolete-fields/src/art/
DTest919.java24 static class Transform { class in Test919
26 public Transform(Consumer<String> reporter) { in Transform() method in Test919.Transform
154 doTest(new Transform(w), w); in run()
157 public static void doTest(Transform t, TestWatcher w) { in doTest()
160 Redefinition.doCommonClassRedefinition(Transform.class, CLASS_BYTES, DEX_BYTES); in doTest()
/art/test/1947-breakpoint-redefine-deopt/src/
DMain.java25 static class Transform { class in Main
78 Method targetMethod = Transform.class.getDeclaredMethod("sayHi"); in main()
79 Transform t = new Transform(); in main()
91 Redefinition.doCommonClassRedefinition(Transform.class, new byte[0], DEX_BYTES); in main()

1234