/art/test/800-smali/src/ |
D | Main.java | 53 new Object[]{123}, null, 123)); in Main() 55 "packedSwitch_INT_MAX", new Object[]{123}, null, 123)); in Main() 57 "packedSwitch_overflow", new Object[]{123}, new VerifyError(), null)); in Main() 59 testCases.add(new TestCase("b/17790197", "B17790197", "getInt", null, null, 100)); in Main() 61 new Object[]{100}, null, 100)); in Main() 62 testCases.add(new TestCase("negLong", "negLong", "negLong", null, null, 122142L)); in Main() 63 testCases.add(new TestCase("sameFieldNames", "sameFieldNames", "getInt", null, null, 7)); in Main() 65 new Object[]{42}, null, 42)); in Main() 67 new Object[]{0}, new AbstractMethodError(), null)); in Main() 68 testCases.add(new TestCase("BadCaseInOpRegRegReg", "BadCaseInOpRegRegReg", "getInt", null, in Main() [all …]
|
/art/test/122-npe/src/ |
D | Main.java | 39 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/tools/ahat/src/ |
D | InstanceUtils.java | 36 ClassObj cls = (inst == null) ? null : inst.getClassObj(); in isInstanceOfClass() 37 return (cls != null && className.equals(cls.getClassName())); in isInstanceOfClass() 46 return null; in asByteArray() 51 return null; in asByteArray() 89 return null; in asString() 94 return null; in asString() 113 return null; in asString() 123 return null; in asBitmap() 126 Integer width = getIntField(inst, "mWidth", null); in asBitmap() 127 if (width == null) { in asBitmap() [all …]
|
/art/test/100-reflect2/src/ |
D | Main.java | 34 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/031-class-attributes/ |
D | expected.txt | 27 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/ |
D | Assert.java | 27 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/ |
D | Assert.java | 27 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/044-proxy/src/ |
D | Main.java | 24 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/412-new-array/src/ |
D | Main.java | 145 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() 238 Throwable exception = null; in testSmaliFillArrayData() [all …]
|
/art/test/134-reg-promotion/src/ |
D | Main.java | 35 Method m = c.getMethod("run", (Class[]) null); in main() 38 m.invoke(null, (Object[]) null); in main() 39 holder = null; in main() 41 m = c.getMethod("run2", (Class[]) null); in main() 44 m.invoke(null, (Object[]) null); in main() 45 holder = null; in main()
|
/art/test/085-old-style-inner-class/ |
D | expected.txt | 2 getDeclaringClass(): (null) 3 getEnclosingClass(): (null) 4 getEnclosingMethod(): (null) 6 getDeclaringClass(): (null) 7 getEnclosingClass(): (null) 8 getEnclosingMethod(): (null)
|
/art/test/141-class-unload/ |
D | expected.txt | 9 null 10 null 13 null 14 loader null false 15 loader null false 18 null 22 class null false test
|
/art/test/130-hprof/src/ |
D | Main.java | 41 if (pathClassLoader == null) { in allocInDifferentLoader() 49 return allocator.getDeclaredMethod("allocObject", null).invoke(null); in allocInDifferentLoader() 53 File dumpFile = null; in createDumpAndConv() 54 File convFile = null; in createDumpAndConv() 80 if (dumpFile != null) { in createDumpAndConv() 83 if (convFile != null) { in createDumpAndConv() 109 if (klass == null) { in main() 114 if (enableMethod == null) { in main() 117 enableMethod.invoke(null, true); in main() 123 enableMethod.invoke(null, false); in main() [all …]
|
/art/test/477-checker-bound-type/src/ |
D | Main.java | 23 if (a != null) { in boundTypeForIf() 26 return null; in boundTypeForIf() 36 return null; in boundTypeForInstanceOf() 43 if (a == null) { in noBoundTypeForIf() 46 return null; in noBoundTypeForIf() 56 return null; in noBoundTypeForInstanceOf()
|
/art/test/569-checker-pattern-replacement/src/ |
D | Main.java | 106 return s.return7(null); in return7() 192 return s.getInstanceStringField(null, "whatever", 1234L); in getString() 420 String stringValue = null; in constructBaseWithNullString() 450 return (b.objectField != null) ? b.doubleField : -b.doubleField; in constructBase() 483 return (b.objectField != null) ? tmp : -tmp; in constructBase() 508 Base b = new Base(0, doubleValue, null); in constructBaseWith0DoubleNull() 510 return (b.objectField != null) ? tmp : -tmp; in constructBaseWith0DoubleNull() 534 tmp = (b.objectField != null) ? tmp : -tmp; in constructBase() 535 return (b.stringField != null) ? 2.0 * tmp : 0.5 * tmp; in constructBase() 596 return (b.objectField != null) ? tmp + 1.0 : tmp - 1.0; in constructBase() [all …]
|
/art/test/439-npe/src/ |
D | Main.java | 30 m.objectField = null; in $opt$setObjectField() 105 $opt$setObjectField(null); in main() 111 $opt$setIntField(null); in main() 117 $opt$setFloatField(null); in main() 123 $opt$setLongField(null); in main() 129 $opt$setDoubleField(null); in main() 135 $opt$setByteField(null); in main() 141 $opt$setBooleanField(null); in main() 147 $opt$setCharField(null); in main() 153 $opt$setShortField(null); in main() [all …]
|
/art/test/472-unreachable-if-regression/src/ |
D | Main.java | 28 Method unreachableIf = c.getMethod("UnreachableIf", (Class[]) null); in main() 29 unreachableIf.invoke(null, (Object[]) null); in main() 32 Method unreachablePackedSwitch = c.getMethod("UnreachablePackedSwitch", (Class[]) null); in main() 33 unreachablePackedSwitch.invoke(null, (Object[]) null); in main()
|
/art/test/049-show-object/ |
D | expected.txt | 3 0: null 4 1: null 5 2: null 6 3: null 7 4: null
|
/art/test/542-unresolved-access-check/src/p1/ |
D | InP1.java | 23 return null; in $inline$AllocateOtherInP1() 32 return null; in $inline$AllocateArrayOtherInP1() 39 return null; in $inline$UseStaticFieldOtherInP1() 53 return null; in $inline$UseInstanceFieldOtherInP1() 75 return null; in $inline$LoadOtherInP1() 82 return null; in $inline$StaticCallOtherInP1() 89 return null; in $inline$InstanceCallOtherInP1()
|
/art/test/563-checker-fakestring/src/ |
D | Main.java | 40 String result = (String) m.invoke(null, new Object[] { testData }); in main() 45 c.getMethod("compareNewInstance").invoke(null, (Object[]) null); in main() 51 m.invoke(null, new Object[] { new int[] { 1, 2, 3 }, testData }); in main() 63 String result = (String) m.invoke(null, new Object[] { testData }); in main() 69 String result = (String) m.invoke(null, new Object[] { testData, true }); in main() 71 result = (String) m.invoke(null, new Object[] { testData, false }); in main() 76 String result = (String) m.invoke(null, new Object[] { testData, true }); in main() 78 result = (String) m.invoke(null, new Object[] { testData, false }); in main()
|
/art/test/052-verifier-fun/src/ |
D | Main.java | 44 default: return null; in arrayCheck1() 61 default: return null; in arrayCheck1b() 78 default: return null; in arrayCheck2() 92 default: return null; in arrayCheck3() 100 if(this == null) { in typeTest() 101 return (Class<?>[])null; in typeTest() 103 return (Type[])null; in typeTest() 111 BlahFeature feature = null; // interface ref in tryBlah()
|
/art/test/557-checker-ref-equivalent/src/ |
D | Main.java | 22 Object o = null; in testRedundantPhiCycle() 25 o = null; in testRedundantPhiCycle() 34 Main a = null; in testLoopPhisWithNullAndCrossUses() 35 Main b = null; in testLoopPhisWithNullAndCrossUses() 36 while (a == null) { in testLoopPhisWithNullAndCrossUses()
|
/art/test/569-checker-pattern-replacement/src-multidex/ |
D | Derived.java | 28 stringField = null; // Clear field set by Base.<init>(String). in Derived() 32 super(doubleValue, null); in Derived() 37 objectField = null; // Clear field set by Base.<init>(int, double, Object). in Derived() 47 objectField = null; in Derived() 48 stringField = null; in Derived() 58 objectField = null; // Clear field set by Base.<init>(int, double, Object). in Derived()
|
/art/test/080-oom-throw/src/ |
D | Main.java | 47 return null; in allocate() 67 } while (lastMemEater != null); in triggerInstanceOOM() 69 InstanceMemEater.hook = null; in triggerInstanceOOM() 108 Method m = c.getMethod("blowup", (Class[]) null); in triggerReflectionOOM() 110 m.invoke(null); in triggerReflectionOOM() 111 holder = null; in triggerReflectionOOM() 114 holder = null; in triggerReflectionOOM() 116 holder = null; in triggerReflectionOOM() 122 holder = null; in triggerReflectionOOM()
|
/art/test/592-checker-regression-bool-input/src/ |
D | Main.java | 48 assertTrue((Boolean) m.invoke(null, null)); in main() 52 assertTrue((Boolean) m.invoke(null, null)); in main() 56 assertFalse((Boolean) m.invoke(null, null)); in main()
|