/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/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() 53 fail(null); in fail() 60 if (expected == null && actual == null) in assertEquals() 62 if (expected != null && expected.equals(actual)) in assertEquals() 71 assertEquals(null, expected, actual); in assertEquals() 77 if (expected == null && actual == null) in assertEquals() 79 if (expected != null && expected.equals(actual)) in assertEquals() 87 assertEquals(null, expected, actual); in assertEquals() 108 assertEquals(null, expected, actual, delta); 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() 53 fail(null); in fail() 60 if (expected == null && actual == null) in assertEquals() 62 if (expected != null && expected.equals(actual)) in assertEquals() 71 assertEquals(null, expected, actual); in assertEquals() 77 if (expected == null && actual == null) in assertEquals() 79 if (expected != null && expected.equals(actual)) in assertEquals() 87 assertEquals(null, expected, actual); in assertEquals() 108 assertEquals(null, expected, actual, delta); in assertEquals() [all …]
|
/art/test/044-proxy/src/ |
D | Main.java | 22 ReturnsAndArgPassing.main(null); in main() 23 BasicTest.main(null); in main() 24 Clash.main(null); in main() 25 Clash2.main(null); in main() 26 Clash3.main(null); in main() 27 Clash4.main(null); in main() 28 WrappedThrow.main(null); in main() 29 NarrowingTest.main(null); in main() 30 FloatSelect.main(null); in main()
|
/art/runtime/ |
D | parsed_options_test.cc | 31 void* null = reinterpret_cast<void*>(NULL); in TEST_F() local 40 options.push_back(std::make_pair(boot_class_path.c_str(), null)); in TEST_F() 41 options.push_back(std::make_pair("-classpath", null)); in TEST_F() 42 options.push_back(std::make_pair(lib_core.c_str(), null)); in TEST_F() 43 options.push_back(std::make_pair("-cp", null)); in TEST_F() 44 options.push_back(std::make_pair(lib_core.c_str(), null)); in TEST_F() 45 options.push_back(std::make_pair("-Ximage:boot_image", null)); in TEST_F() 46 options.push_back(std::make_pair("-Xcheck:jni", null)); in TEST_F() 47 options.push_back(std::make_pair("-Xms2048", null)); in TEST_F() 48 options.push_back(std::make_pair("-Xmx4k", null)); in TEST_F() [all …]
|
/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/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/049-show-object/ |
D | expected.txt | 3 0: null 4 1: null 5 2: null 6 3: null 7 4: null
|
/art/test/201-built-in-exception-detail-messages/src/ |
D | Main.java | 34 if (expected == null && actual == null) { in assertEquals() 37 if (expected != null && expected.equals(actual)) { in assertEquals() 88 os[2] = null; in arrayAccess() 135 String[] src = new String[] { null, null, null, null, "hello", "goodbye" }; in arrayStore() 291 return null; in returnNullObject() 295 return null; in returnNullA() 328 int[] is = null; in nullPointers() 337 int[] is = null; in nullPointers() 346 int[] is = null; in nullPointers() 367 field.set(new A(), null); in reflection() [all …]
|
/art/test/034-call-null/src/ |
D | Main.java | 25 Main instance = null; in main() 26 instance.doStuff(0, null, null, null); in main()
|
/art/test/036-finalizer/ |
D | expected.txt | 3 wimp: null 5 wimp: null 8 wimp: null 13 wimp: null
|
/art/test/064-field-access/src/ |
D | Main.java | 26 SubClass.main(null); in main() 29 GetNonexistent.main(null); in main() 53 Object result = null; in getValue() 88 if (expectedException != null) { in getValue() 95 if (expectedException == null) { in getValue() 556 Class<?> subClassAccessExceptionClass = null; in doReflectionTests() 563 Class<?> mainClassAccessExceptionClass = null; in doReflectionTests() 575 if (subClassAccessExceptionClass == null) { in doReflectionTests() 577 Class<?> npeClass = null; in doReflectionTests() 582 this.getValue(f, null, typeChar, npeClass); in doReflectionTests() [all …]
|
/art/test/087-gc-after-link/src/ |
D | Main.java | 72 Object dexFile = null; in findDexClass() 73 Class dexClass = null; in findDexClass() 95 if (dexFile != null) { in findDexClass() 97 Method meth = dexClass.getMethod("close", (Class[]) null); in findDexClass() 111 return null; in findDexClass() 124 return null; in loadClass()
|
/art/test/074-gc-thrash/src/ |
D | Main.java | 36 Method dumpHprofDataMethod = null; in main() 37 String dumpFile = null; in main() 41 if (dumpHprofDataMethod != null) { in main() 51 if (WRITE_HPROF_DATA && dumpHprofDataMethod != null) { in main() 53 dumpHprofDataMethod.invoke(null, dumpFile); in main() 76 return null; in getDumpHprofDataMethod() 85 return null; in getDumpHprofDataMethod() 102 return null; in getDumpFileName() 233 strong[i] = null; in run() 238 if (weak[i].get() != null) { in run()
|
/art/test/etc/ |
D | push-and-run-test-jar | 105 elif expr "x$1" : "x--" >/dev/null 2>&1; then 142 adb shell rm -r $DEX_LOCATION >/dev/null 2>&1 143 adb shell mkdir -p $DEX_LOCATION >/dev/null 2>&1 144 adb push $TEST_NAME.jar $DEX_LOCATION >/dev/null 2>&1 145 adb push $TEST_NAME-ex.jar $DEX_LOCATION >/dev/null 2>&1
|
D | push-and-run-prebuilt-test-jar | 112 elif expr "x$1" : "x--" >/dev/null 2>&1; then 155 adb shell rm -r $DEX_LOCATION >/dev/null 2>&1 156 adb shell mkdir -p $DEX_LOCATION >/dev/null 2>&1 157 adb push $TEST_NAME.jar $DEX_LOCATION >/dev/null 2>&1 158 adb push $TEST_NAME-ex.jar $DEX_LOCATION >/dev/null 2>&1 217 adb push $cmdfile $DEX_LOCATION/cmdline.sh > /dev/null 2>&1
|
/art/test/079-phantom/src/ |
D | Main.java | 47 mBitmap1 = null; in run() 52 mBitmap2 = null; in run() 57 mBitmap3 = null; in run() 62 mBitmap4 = null; in run()
|
/art/test/003-omnibus-opcodes/src/ |
D | Monitor.java | 28 obj = null; // does NOT cause a failure on exit in subTest() 29 Main.assertTrue(obj == null); in subTest() 37 Object obj = null; in run()
|
D | MethodCall.java | 60 inst = null; in run() 70 25, 26, null, null, "twenty nine"); in run()
|
D | GenSelect.java | 19 String str1 = null; in test() 20 String str2 = null; in test()
|
/art/test/GetMethodSignature/ |
D | GetMethodSignature.java | 18 Float m1(int a, double b, long c, Object d) { return null; } in m1() 19 GetMethodSignature m2(boolean x, short y, char z) { return null; } in m2()
|
/art/test/046-reflect/src/ |
D | Main.java | 67 Field field = null; in showStrings() 87 meth = target.getMethod("publicMethod", (Class[]) null); in checkAccess() 91 meth = target.getMethod("packageMethod", (Class[]) null); in checkAccess() 100 meth = target.getMethod("innerMethod", (Class[]) null); in checkAccess() 125 Method meth = null; in run() 126 Field field = null; in run() 139 meth = target.getMethod("myNoargMethod", (Class[]) null); in run() 160 meth = target.getMethod("myNoargMethod", (Class[]) null); in run() 161 meth.invoke(instance, (Object[]) null); in run() 164 meth = target.getMethod("throwingMethod", (Class[]) null); in run() [all …]
|
/art/test/068-classloader/src/ |
D | FancyLoader.java | 70 if (mDexClass != null) { in findClass() 83 if (mDexFile == null) { in findClassDalvik() 129 return null; in findClassDalvik() 196 if (res != null) { in loadClass()
|