Home
last modified time | relevance | path

Searched refs:null (Results 1 – 25 of 698) sorted by relevance

12345678910>>...28

/art/test/800-smali/src/
DMain.java62 new Object[]{123}, null, 123)); in Main()
64 "packedSwitch_INT_MAX", new Object[]{123}, null, 123)); in Main()
66 "packedSwitch_overflow", new Object[]{123}, new VerifyError(), null)); in Main()
68 testCases.add(new TestCase("b/17790197", "B17790197", "getInt", null, null, 100)); in Main()
70 new Object[]{100}, null, 100)); in Main()
71 testCases.add(new TestCase("negLong", "negLong", "negLong", null, null, 122142L)); in Main()
72 testCases.add(new TestCase("sameFieldNames", "sameFieldNames", "getInt", null, null, 7)); in Main()
74 new Object[]{42}, null, 42)); in Main()
76 new Object[]{0}, new AbstractMethodError(), null)); in Main()
77 testCases.add(new TestCase("BadCaseInOpRegRegReg", "BadCaseInOpRegRegReg", "getInt", null, in Main()
[all …]
/art/test/903-hello-tagging/
Dexpected.txt8null;1>, <null;1>, <null;2>, <null;2>, <null;3>, <null;3>, <null;4>, <null;4>, <null;5>, <null;5>,…
/art/test/1974-resize-array/
Dexpected.txt14 val is: [weak, ref, null, null, null, null, null]
19 val is: [<SELF REF>, A, B, C, null, null, null, null, null]
20 val is: [<SELF REF>, A, B, C, null, null, null, null, null]
26 …is: [<SELF REF>, A, B, C, null, null, null, null, null] resize -7 item 0 is [<SELF REF>, A, B, C,
60 val is: [1, 11, 111, null, null, null, null, null]
65 val is: [2, 22, 222, null, null, null, null, null]
71 val is: [3, 32, 322, null, null, null, null]
76 val is: [[3, 33, 333, null, null, null, null, null]]
81 val is: [[4, 44, 444, null, null, null, null, null]]
/art/tools/ahat/src/main/com/android/ahat/heapdump/
DAhatClassInstance.java58 return null; in getField()
63 return value == null ? null : value.asAhatInstance(); in getRefField()
74 if (value == null || !value.isInteger()) { in getIntField()
88 if (value == null || !value.isLong()) { in getLongField()
112 return null; in asString()
116 if (value == null || !value.isAhatInstance()) { in asString()
117 return null; in asString()
128 return null; in asString()
135 return null; in getReferent()
141 if (location != null) { in getDexCacheLocation()
[all …]
/art/test/122-npe/src/
DMain.java39 NullPointerException npe = null; in methodTwo()
45 ((Object) null).getClass(); in methodTwo()
53 ((Main) null).callSpecial(); // Test invokespecial. in methodTwo()
61 ((Main) null).callFinal(); // Test invokevirtual on final. in methodTwo()
68 ((Value) null).objectField.toString(); in methodTwo()
75 useInt(((Value) null).intField); in methodTwo()
82 useFloat(((Value) null).floatField); in methodTwo()
89 useLong(((Value) null).longField); in methodTwo()
96 useDouble(((Value) null).doubleField); in methodTwo()
103 ((Value) null).objectField = "Fisk"; in methodTwo()
[all …]
/art/test/1911-get-local-var-table/src/art/
DTest1911.java113 new Locals.VariableDescription(8, 6, "q", "I", null, 2),
114 new Locals.VariableDescription(0, 14, "xxx", "I", null, 1),
115 new Locals.VariableDescription(0, 14, "this", "Lart/Target;", null, 0))),
118 new Locals.VariableDescription(0, 8, "this", "Lart/Target;", null, 1),
119 new Locals.VariableDescription(5, 3, "q", "I", null, 0),
120 new Locals.VariableDescription(0, 8, "xxx", "I", null, 2))),
126 new Locals.VariableDescription(0, 5, "objs", "[Ljava/lang/Object;", null, 0))),
129 new Locals.VariableDescription(0, 4, "objs", "[Ljava/lang/Object;", null, 0))),
135 new Locals.VariableDescription(0, 130, "x", "I", null, 1),
136 new Locals.VariableDescription(76, 54, "o", "Ljava/lang/Object;", null, 3),
[all …]
/art/test/685-shifts/src/
DMain.java47 assertEquals(smallLong, (Long)m.invoke(null, smallLong)); in main()
48 assertEquals(longLong, (Long)m.invoke(null, longLong)); in main()
51 assertEquals(smallLong, (Long)m.invoke(null, smallLong)); in main()
52 assertEquals(longLong, (Long)m.invoke(null, longLong)); in main()
55 assertEquals(smallLong, (Long)m.invoke(null, smallLong)); in main()
56 assertEquals(longLong, (Long)m.invoke(null, longLong)); in main()
59 assertEquals(smallLongShlOne, (Long)m.invoke(null, smallLong)); in main()
60 assertEquals(longLongShlOne, (Long)m.invoke(null, longLong)); in main()
63 assertEquals(smallLongShrOne, (Long)m.invoke(null, smallLong)); in main()
64 assertEquals(longLongShrOne, (Long)m.invoke(null, longLong)); in main()
[all …]
/art/test/100-reflect2/src/
DMain.java34 System.out.println(f.getBoolean(null)); in testFieldReflection()
36 System.out.println(f.getByte(null)); in testFieldReflection()
38 System.out.println(f.getChar(null)); in testFieldReflection()
40 System.out.println(f.getDouble(null)); in testFieldReflection()
42 System.out.println(f.getFloat(null)); in testFieldReflection()
44 System.out.println(f.getInt(null)); in testFieldReflection()
46 System.out.println(f.getLong(null)); in testFieldReflection()
48 System.out.println(f.getShort(null)); in testFieldReflection()
51 f.setBoolean(null, false); in testFieldReflection()
53 f.setByte(null, (byte) 7); in testFieldReflection()
[all …]
/art/test/660-store-8-16/src/
DMain.java27 cls.getMethod("setByteStaticField").invoke(null); in main()
28 expectEquals(1, cls.getField("staticByteField").getByte(null)); in main()
30 cls.getMethod("setShortStaticField").invoke(null); in main()
31 expectEquals(0x101, cls.getField("staticShortField").getShort(null)); in main()
33 cls.getMethod("setCharStaticField").invoke(null); in main()
34 expectEquals(0x101, cls.getField("staticCharField").getChar(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()
[all …]
/art/test/031-class-attributes/
Dexpected.txt27 genericSignature: null
30 declaring: null
31 enclosing: null
32 enclosingCon: null
33 enclosingMeth: null
35 package: null
53 genericSignature: null
56 declaring: null
57 enclosing: null
58 enclosingCon: null
[all …]
/art/test/021-string2/src/junit/framework/
DAssert.java27 assertTrue(null, condition); in assertTrue()
41 assertFalse(null, condition); in assertFalse()
47 if (message == null) { in fail()
56 fail(null); in fail()
63 if (expected == null && actual == null) in assertEquals()
65 if (expected != null && expected.equals(actual)) in assertEquals()
74 assertEquals(null, expected, actual); in assertEquals()
80 if (expected == null && actual == null) in assertEquals()
82 if (expected != null && expected.equals(actual)) in assertEquals()
84 String cleanMessage= message == null ? "" : message; in assertEquals()
[all …]
/art/test/082-inline-execute/src/junit/framework/
DAssert.java27 assertTrue(null, condition); in assertTrue()
41 assertFalse(null, condition); in assertFalse()
47 if (message == null) { in fail()
56 fail(null); in fail()
63 if (expected == null && actual == null) in assertEquals()
65 if (expected != null && expected.equals(actual)) in assertEquals()
74 assertEquals(null, expected, actual); in assertEquals()
80 if (expected == null && actual == null) in assertEquals()
82 if (expected != null && expected.equals(actual)) in assertEquals()
84 String cleanMessage= message == null ? "" : message; in assertEquals()
[all …]
/art/test/911-get-stack-trace/src/art/
DSameThread.java25 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/412-new-array/src/
DMain.java145 return null; in $opt$TestNegativeArraySize()
154 int[] result = (int[])m.invoke(null, args); in testSmaliFilledNewArray()
164 Object[] result = (Object[])m.invoke(null, args); in testSmaliFilledNewArray()
173 Object[] result = (Object[])m.invoke(null, args); in testSmaliFilledNewArray()
182 int[] result = (int[])m.invoke(null, args); in testSmaliFilledNewArray()
192 Object[] result = (Object[])m.invoke(null, args); in testSmaliFilledNewArray()
201 Object[] result = (Object[])m.invoke(null, args); in testSmaliFilledNewArray()
209 Error error = null; in testSmaliVerifyError()
226 m.invoke(null, args); in testSmaliFillArrayData()
231 m.invoke(null, args); in testSmaliFillArrayData()
[all …]
/art/test/563-checker-fakestring/src/
DMain.java48 String result = (String) m.invoke(null, new Object[] { testData }); in main()
53 c.getMethod("compareNewInstance").invoke(null, (Object[]) null); in main()
61 m.invoke(null, new Object[] { new int[] { 1, 2, 3 }, testData }); in main()
73 String result = (String) m.invoke(null, new Object[] { testData }); in main()
79 String result = (String) m.invoke(null, new Object[] { testData, true }); in main()
81 result = (String) m.invoke(null, new Object[] { testData, false }); in main()
86 String result = (String) m.invoke(null, new Object[] { testData, true }); in main()
88 result = (String) m.invoke(null, new Object[] { testData, false }); in main()
93 String result = (String) m.invoke(null, new Object[] { testData, true }); in main()
95 result = (String) m.invoke(null, new Object[] { testData, false }); in main()
[all …]
/art/test/622-simplifyifs-exception-edges/src/
DMain.java24 assertIntEquals(-2, (int)test.invoke(null, new Object[] { null })); in main()
25 assertIntEquals(-1, (int)test.invoke(null, new Object[] { new int[0] })); in main()
26 assertIntEquals(42, (int)test.invoke(null, new Object[] { new int[] { 42 } })); in main()
29 assertIntEquals(-2, (int)test2.invoke(null, new Object[] { null, 0 })); in main()
30 assertIntEquals(-1, (int)test2.invoke(null, new Object[] { new int[0], 0 })); in main()
31 assertIntEquals(-1, (int)test2.invoke(null, new Object[] { new int[0], 1 })); in main()
32 assertIntEquals(3, (int)test2.invoke(null, new Object[] { new int[] { 42 }, 0 })); in main()
/art/test/688-shared-library/src-art/
DMain.java44 ClassLoader loader = new PathClassLoader(MAIN_JAR_FILE, null, bootLoader); in testNoLibrary()
51 new PathClassLoader(EX_JAR_FILE, null, bootLoader), in testOneLibrary()
54 new PathClassLoader(MAIN_JAR_FILE, null, bootLoader, sharedLibraries); in testOneLibrary()
61 new DelegateLastClassLoader(MAIN_JAR_FILE, null, bootLoader, sharedLibraries); in testOneLibrary()
70 new PathClassLoader(MAIN_JAR_FILE, null, bootLoader), in testTwoLibraries1()
71 new PathClassLoader(EX_JAR_FILE, null, bootLoader), in testTwoLibraries1()
73 ClassLoader delegateFirst = new PathClassLoader("", null, bootLoader, sharedLibraries); in testTwoLibraries1()
80 new DelegateLastClassLoader(MAIN_JAR_FILE, null, bootLoader, sharedLibraries); in testTwoLibraries1()
89 new PathClassLoader(EX_JAR_FILE, null, bootLoader), in testTwoLibraries2()
90 new PathClassLoader(MAIN_JAR_FILE, null, bootLoader), in testTwoLibraries2()
[all …]
/art/test/085-old-style-inner-class/
Dexpected.txt2 getDeclaringClass(): (null)
3 getEnclosingClass(): (null)
4 getEnclosingMethod(): (null)
6 getDeclaringClass(): (null)
7 getEnclosingClass(): (null)
8 getEnclosingMethod(): (null)
/art/test/044-proxy/src/
DMain.java24 ReturnsAndArgPassing.main(null); in main()
25 BasicTest.main(null); in main()
26 Clash.main(null); in main()
27 Clash2.main(null); in main()
28 Clash3.main(null); in main()
29 Clash4.main(null); in main()
30 WrappedThrow.main(null); in main()
31 NarrowingTest.main(null); in main()
32 FloatSelect.main(null); in main()
/art/test/1984-structural-redefine-field-trace/src/art/
DTrace.java36 enableTracing(methodClass, null, null, fieldAccess, fieldModify, null, thr); in enableFieldTracing()
43 enableTracing(methodClass, entryMethod, exitMethod, null, null, null, thr); in enableMethodTracing()
49 enableTracing(methodClass, null, null, null, null, singleStep, thr); in enableSingleStepTracing()
/art/test/991-field-trace-2/src/art/
DTrace.java36 enableTracing(methodClass, null, null, fieldAccess, fieldModify, null, thr); in enableFieldTracing()
43 enableTracing(methodClass, entryMethod, exitMethod, null, null, null, thr); in enableMethodTracing()
49 enableTracing(methodClass, null, null, null, null, singleStep, thr); in enableSingleStepTracing()
/art/test/jvmti-common/
DTrace.java36 enableTracing(methodClass, null, null, fieldAccess, fieldModify, null, thr); in enableFieldTracing()
43 enableTracing(methodClass, entryMethod, exitMethod, null, null, null, thr); in enableMethodTracing()
49 enableTracing(methodClass, null, null, null, null, singleStep, thr); in enableSingleStepTracing()
/art/test/1926-missed-frame-pop/src/art/
DTrace.java36 enableTracing(methodClass, null, null, fieldAccess, fieldModify, null, thr); in enableFieldTracing()
43 enableTracing(methodClass, entryMethod, exitMethod, null, null, null, thr); in enableMethodTracing()
49 enableTracing(methodClass, null, null, null, null, singleStep, thr); in enableSingleStepTracing()
/art/test/1924-frame-pop-toggle/src/art/
DTrace.java36 enableTracing(methodClass, null, null, fieldAccess, fieldModify, null, thr); in enableFieldTracing()
43 enableTracing(methodClass, entryMethod, exitMethod, null, null, null, thr); in enableMethodTracing()
49 enableTracing(methodClass, null, null, null, null, singleStep, thr); in enableSingleStepTracing()
/art/test/989-method-trace-throw/src/art/
DTrace.java36 enableTracing(methodClass, null, null, fieldAccess, fieldModify, null, thr); in enableFieldTracing()
43 enableTracing(methodClass, entryMethod, exitMethod, null, null, null, thr); in enableMethodTracing()
49 enableTracing(methodClass, null, null, null, null, singleStep, thr); in enableSingleStepTracing()

12345678910>>...28