Home
last modified time | relevance | path

Searched refs:getMethod (Results 1 – 25 of 142) sorted by relevance

123456

/art/test/173-missing-field-type/src-art/
DMain.java26 c.getMethod("storeStaticNull").invoke(null); in main()
27 c.getMethod("storeInstanceNull").invoke(null); in main()
28 c.getMethod("storeStatic", Object.class).invoke(null, new Object[]{ null }); in main()
29 c.getMethod("storeInstance", c, Object.class).invoke( in main()
33 testStoreObject(c.getMethod("storeStaticObject")); in main()
34 testStoreObject(c.getMethod("storeInstanceObject")); in main()
35 testStoreObject(c.getMethod("storeStatic", Object.class), new Object()); in main()
37 c.getMethod("storeInstance", c, Object.class), c.newInstance(), new Object()); in main()
45 c.getMethod(methodName).invoke(null); in testLoadObject()
/art/test/660-store-8-16/src/
DMain.java27 cls.getMethod("setByteStaticField").invoke(null); in main()
30 cls.getMethod("setShortStaticField").invoke(null); in main()
33 cls.getMethod("setCharStaticField").invoke(null); in main()
38 cls.getMethod("setByteArray", byte[].class).invoke(null, args); in main()
43 cls.getMethod("setShortArray", short[].class).invoke(null, args); in main()
48 cls.getMethod("setCharArray", char[].class).invoke(null, args); in main()
54 cls.getMethod("setByteInstanceField", cls).invoke(null, args); in main()
57 cls.getMethod("setShortInstanceField", cls).invoke(null, args); in main()
60 cls.getMethod("setCharInstanceField", cls).invoke(null, args); in main()
/art/test/559-checker-irreducible-loop/src/
DMain.java23 Method m = c.getMethod("simpleLoop", int.class); in main()
29 Method m = c.getMethod("lse", int.class, Main.class); in main()
35 Method m = c.getMethod("dce", int.class); in main()
41 Method m = c.getMethod("liveness", int.class, int.class); in main()
47 Method m = c.getMethod("gvn"); in main()
53 Method m = c.getMethod("licm1", int.class); in main()
59 Method m = c.getMethod("licm2", int.class); in main()
65 Method m = c.getMethod("testDoNotInlineIrreducible", int.class); in main()
71 Method m = c.getMethod("testDoNotInlineIrreducible", int.class); in main()
/art/test/685-shifts/src/
DMain.java46 Method m = c.getMethod("shlZero", long.class); in main()
50 m = c.getMethod("shrZero", long.class); in main()
54 m = c.getMethod("ushrZero", long.class); in main()
58 m = c.getMethod("shlOne", long.class); in main()
62 m = c.getMethod("shrOne", long.class); in main()
66 m = c.getMethod("ushrOne", long.class); in main()
72 m = c.getMethod("shlZero", long.class); in main()
76 m = c.getMethod("shrZero", long.class); in main()
80 m = c.getMethod("ushrZero", long.class); in main()
84 m = c.getMethod("shlOne", long.class); in main()
[all …]
/art/test/563-checker-fakestring/src/
DMain.java49 Method m = c.getMethod("vregAliasing", byte[].class); in main()
55 c.getMethod("compareNewInstance").invoke(null, (Object[]) null); in main()
61 Method m = c.getMethod("deoptimizeNewInstance", int[].class, byte[].class); in main()
74 Method m = c.getMethod("removeNewInstance", byte[].class); in main()
80 Method m = c.getMethod("irreducibleLoopAndStringInit1", byte[].class, boolean.class); in main()
87 Method m = c.getMethod("irreducibleLoopAndStringInit2", byte[].class, boolean.class); in main()
94 Method m = c.getMethod("irreducibleLoopAndStringInit3", byte[].class, boolean.class); in main()
101 Method m = c.getMethod("loopAndStringInit", byte[].class, boolean.class); in main()
108 Method m = c.getMethod("loopAndStringInitAlias", byte[].class, boolean.class); in main()
115 Method m = c.getMethod("loopAndStringInitAndTest", byte[].class, boolean.class); in main()
[all …]
/art/test/457-regs/src/
DMain.java24 Method m = c.getMethod("mergeOk", boolean.class, byte.class); in main()
29 m = c.getMethod("mergeNotOk", boolean.class, float.class); in main()
34 m = c.getMethod("mergeReferences", Main.class); in main()
39 m = c.getMethod("phiEquivalent"); in main()
44 m = c.getMethod("phiAllEquivalents", Main.class); in main()
/art/test/503-dead-instructions/src/
DMain.java22 Method m = c.getMethod("method1"); in main()
27 m = c.getMethod("method2", long.class); in main()
31 m = c.getMethod("method3"); in main()
35 m = c.getMethod("method4"); in main()
/art/test/1965-get-set-local-primitive-no-tables/src/art/
DTest1965.java169 public static Method getMethod(String name) throws Exception {
177 new TestCase(getMethod("IntMethod")), new TestCase(getMethod("LongMethod")),
178 new TestCase(getMethod("FloatMethod")), new TestCase(getMethod("DoubleMethod")),
179 new TestCase(getMethod("ObjectMethod")), new TestCase(getMethod("NullObjectMethod")),
203 new TestCase(getMethod("BooleanMethod"))
205 new TestCase(getMethod("ByteMethod"))
208 new TestCase(getMethod("CharMethod"))
210 new TestCase(getMethod("ShortMethod"))
/art/test/1966-get-set-local-objects-no-table/src/art/
DTest1966.java203 public static Method getMethod(String name) throws Exception {
210 new TestCase(getMethod("ObjectMethod")),
211 new TestCase(getMethod("CastInterfaceMethod")),
212 new TestCase(getMethod("CastExactMethod")),
213 new TestCase(getMethod("InterfaceMethod")),
214 new TestCase(getMethod("ExactClassMethod")),
215 new TestCase(getMethod("PrimitiveMethod")),
216 new TestCase(getMethod("NullMethod")),
217 new TestCase(getMethod("CastExactNullMethod")),
218 new TestCase(getMethod("CastInterfaceNullMethod")),
/art/test/530-checker-lse3/src/
DMain.java23 Method m = c.getMethod("test", int.class); in main()
28 m = c.getMethod("test2", int.class); in main()
44 m = c.getMethod("test3", int.class); in main()
50 m = c.getMethod("test4", int.class); in main()
/art/test/1912-get-set-local-primitive/src/art/
DTest1912.java220 public static Method getMethod(String name) throws Exception {
227 new TestCase(getMethod("IntMethod")), new TestCase(getMethod("LongMethod")),
228 new TestCase(getMethod("FloatMethod")), new TestCase(getMethod("DoubleMethod")),
229 new TestCase(getMethod("ObjectMethod")), new TestCase(getMethod("NullObjectMethod")),
253 new TestCase(getMethod("BooleanMethod"))
255 new TestCase(getMethod("ByteMethod"))
258 new TestCase(getMethod("CharMethod"))
260 new TestCase(getMethod("ShortMethod"))
/art/test/816-illegal-new-array/src/
DMain.java24 Method m = c.getMethod("filledNewArray"); in main()
34 m = c.getMethod("filledNewArrayRange"); in main()
44 m = c.getMethod("newArray"); in main()
/art/test/723-string-init-range/src/
DMain.java24 Method m = c.getMethod("initRange", String.class); in main()
30 m = c.getMethod("initRange", byte[].class, int.class, int.class, int.class); in main()
37 m = c.getMethod("initRangeWithAlias", String.class); in main()
/art/test/442-checker-constant-folding/src/
DMain.java54 Method m = testCmp.getMethod("$opt$CmpLongConstants"); in smaliCmpLongConstants()
58 Method m = testCmp.getMethod("$opt$CmpGtFloatConstants"); in smaliCmpGtFloatConstants()
62 Method m = testCmp.getMethod("$opt$CmpLtFloatConstants"); in smaliCmpLtFloatConstants()
66 Method m = testCmp.getMethod("$opt$CmpGtDoubleConstants"); in smaliCmpGtDoubleConstants()
70 Method m = testCmp.getMethod("$opt$CmpLtDoubleConstants"); in smaliCmpLtDoubleConstants()
75 Method m = testCmp.getMethod("$opt$CmpLongSameConstant"); in smaliCmpLongSameConstant()
79 Method m = testCmp.getMethod("$opt$CmpGtFloatSameConstant"); in smaliCmpGtFloatSameConstant()
83 Method m = testCmp.getMethod("$opt$CmpLtFloatSameConstant"); in smaliCmpLtFloatSameConstant()
87 Method m = testCmp.getMethod("$opt$CmpGtDoubleSameConstant"); in smaliCmpGtDoubleSameConstant()
91 Method m = testCmp.getMethod("$opt$CmpLtDoubleSameConstant"); in smaliCmpLtDoubleSameConstant()
[all …]
/art/test/935-non-retransformable/src-ex/
DTestMain.java24 Method hi = Transform.class.getMethod("sayHi"); in runTest()
25 Method bye = Transform.class.getMethod("sayGoodbye"); in runTest()
/art/test/1913-get-set-local-objects/src/art/
DTest1913.java250 public static Method getMethod(String name) throws Exception {
257 new TestCase(getMethod("ObjectMethod")), new TestCase(getMethod("InterfaceMethod")),
258 new TestCase(getMethod("SpecificClassMethod")), new TestCase(getMethod("PrimitiveMethod")),
259 new TestCase(getMethod("NullObjectMethod")),
260 new TestCase(getMethod("NullInterfaceMethod")),
261 new TestCase(getMethod("NullSpecificClassMethod")),
/art/test/412-new-array/src/
DMain.java152 Method m = c.getMethod("newInt", Integer.TYPE, Integer.TYPE, Integer.TYPE); in testSmaliFilledNewArray()
162 Method m = c.getMethod("newRef", Object.class, Object.class); in testSmaliFilledNewArray()
171 Method m = c.getMethod("newArray", int[].class, int[].class); in testSmaliFilledNewArray()
180 Method m = c.getMethod("newIntRange", Integer.TYPE, Integer.TYPE, Integer.TYPE); in testSmaliFilledNewArray()
190 Method m = c.getMethod("newRefRange", Object.class, Object.class); in testSmaliFilledNewArray()
199 Method m = c.getMethod("newArrayRange", int[].class, int[].class); in testSmaliFilledNewArray()
223 Method m = c.getMethod("emptyIntArray", int[].class); in testSmaliFillArrayData()
255 Method m = c.getMethod("intArray", int[].class); in testSmaliFillArrayData()
294 Method m = c.getMethod("intArrayFillInstructionAfterData", int[].class); in testSmaliFillArrayData()
333 Method m = c.getMethod("shortArray", short[].class); in testSmaliFillArrayData()
[all …]
/art/test/472-unreachable-if-regression/src/
DMain.java24 Method unreachableIf = c.getMethod("UnreachableIf"); in main()
28 Method unreachablePackedSwitch = c.getMethod("UnreachablePackedSwitch"); in main()
/art/test/1914-get-local-instance/src/art/
DTest1914.java167 public static Method getMethod(Class<?> klass, String name) throws Exception {
193 new TestCase(null, getMethod(Test1914.class, "StaticMethod")),
194 new TestCase(null, getMethod(Test1914.class, "NativeStaticMethod")),
196 getMethod(TargetClass.class, "InstanceMethod")),
198 getMethod(TargetClass.class, "NativeInstanceMethod")),
200 getMethod(Foo.class, "InterfaceProxyMethod")),
/art/test/588-checker-irreducib-lifetime-hole/src/
DMain.java23 Method m = c.getMethod("simpleLoop1", int.class); in main()
28 Method m = c.getMethod("simpleLoop2", int.class); in main()
/art/test/565-checker-irreducible-loop/src/
DMain.java23 Method m = c.getMethod("test1", int.class, long.class); in main()
29 Method m = c.getMethod("test2", int.class, long.class); in main()
/art/test/463-checker-boolean-simplifier/src-art/
DMain.java231 Method booleanNot = main2.getMethod("BooleanNot", boolean.class); in main()
232 Method valuesOrdered = main2.getMethod("ValuesOrdered", int.class, int.class, int.class); in main()
233 Method negatedCondition = main2.getMethod("NegatedCondition", boolean.class); in main()
234 Method multiplePhis = main2.getMethod("MultiplePhis"); in main()
/art/test/501-regression-packed-switch/src/
DMain.java23 Method m = c.getMethod("EmptyPackedSwitch", int.class); in main()
28 m = c.getMethod("PackedSwitchAfterData", int.class); in main()
/art/test/134-reg-promotion/src/
DMain.java35 Method m = c.getMethod("run"); in main()
41 m = c.getMethod("run2"); in main()
/art/test/686-get-this/src/
DMain.java27 Method m = c.getMethod("testEmpty"); in main()
33 m = c.getMethod("testPrimitive"); in main()

123456