Home
last modified time | relevance | path

Searched refs:println (Results 1 – 25 of 210) sorted by relevance

123456789

/dalvik/tests/075-verification-error/src/
DMain.java39 System.err.println("ERROR: MaybeAbstract succeeded unexpectedly"); in testClassNewInstance()
41 System.out.println("Got expected InstantationError"); in testClassNewInstance()
42 if (VERBOSE) System.out.println("--- " + ie); in testClassNewInstance()
44 System.err.println("Got unexpected MaybeAbstract failure"); in testClassNewInstance()
57 System.out.println("Got expected NoSuchFieldError"); in testMissingStuff()
58 if (VERBOSE) System.out.println("--- " + nsfe); in testMissingStuff()
64 System.out.println("Got expected NoSuchFieldError"); in testMissingStuff()
65 if (VERBOSE) System.out.println("--- " + nsfe); in testMissingStuff()
71 System.out.println("Got expected NoSuchMethodError"); in testMissingStuff()
72 if (VERBOSE) System.out.println("--- " + nsme); in testMissingStuff()
[all …]
/dalvik/tests/010-instance/src/
DInstanceTest.java10 System.out.println("instance begin"); in main()
25 System.out.println("x instanceof X (true): " + (test instanceof X)); in main()
26 System.out.println("x instanceof Y (false): " + (test instanceof Y)); in main()
28 System.out.println("y instanceof X (true): " + (test instanceof X)); in main()
29 System.out.println("y instanceof Y (true): " + (test instanceof Y)); in main()
32 System.out.println("xar instanceof Object (true): " in main()
34 System.out.println("xar instanceof X (false): " in main()
36 System.out.println("xar instanceof X[] (true): " in main()
38 System.out.println("xar instanceof Y[] (false): " in main()
40 System.out.println("xar instanceof Object[] (true): " in main()
[all …]
/dalvik/tests/012-math/src/
DMain.java31 System.out.println("res:" +res); in main()
33 System.out.println("res:" +res); in main()
35 System.out.println("res:" +res); in main()
37 System.out.println("res:" +res); in main()
39 System.out.println("res:" +res); in main()
41 System.out.println("res:" +res); in main()
43 System.out.println("res:" +res); in main()
45 System.out.println("res:" +res); in main()
47 System.out.println("res:" +res); in main()
49 System.out.println("res:" +res); in main()
[all …]
/dalvik/tests/041-narrowing/src/
DMain.java8 System.out.println(); in test_printNarrowing()
9 System.out.println("Double.POSITIVE_INFINITY = " in test_printNarrowing()
11 System.out.println("Double.NEGATIVE_INFINITY = " in test_printNarrowing()
13 System.out.println("Float.POSITIVE_INFINITY = " in test_printNarrowing()
15 System.out.println("Float.NEGATIVE_INFINITY = " in test_printNarrowing()
17 System.out.println("Double.NaN = " in test_printNarrowing()
19 System.out.println("Float.NaN = " in test_printNarrowing()
22 System.out.println(); in test_printNarrowing()
23 System.out.println("(byte) Double.NaN = " in test_printNarrowing()
26 System.out.println("(short) Double.NaN = " in test_printNarrowing()
[all …]
/dalvik/tests/068-classloader/src/
DMain.java45 System.out.println("base: " + DoubledImplement.class); in main()
46 System.out.println("base2: " + DoubledImplement2.class); in main()
73 System.err.println("loadClass failed"); in testAccess1()
82 System.err.println("ERROR: Inaccessible1 was accessible"); in testAccess1()
84 System.err.println("newInstance failed: " + ie); in testAccess1()
87 System.out.println("Got expected access exception #1"); in testAccess1()
102 System.err.println("ERROR: Inaccessible2 was accessible"); in testAccess2()
106 System.out.println("Got expected CNFE/IAE #2"); in testAccess2()
108 System.err.println("Got unexpected CNFE/IAE #2"); in testAccess2()
122 System.err.println("ERROR: Inaccessible3 was accessible"); in testAccess3()
[all …]
/dalvik/tests/040-miranda/src/
DMain.java9 System.out.println("MirandaClass:"); in main()
10 System.out.println(" inInterface: " + mir.inInterface()); in main()
11 System.out.println(" inInterface2: " + mir.inInterface2()); in main()
12 System.out.println(" inAbstract: " + mir.inAbstract()); in main()
16 System.out.println("MirandaAbstract / MirandaClass:"); in main()
17 System.out.println(" inInterface: " + mira.inInterface()); in main()
18 System.out.println(" inInterface2: " + mira.inInterface2()); in main()
19 System.out.println(" inAbstract: " + mira.inAbstract()); in main()
22 System.out.println("MirandaAbstract / MirandaClass2:"); in main()
23 System.out.println(" inInterface: " + mira2.inInterface()); in main()
[all …]
/dalvik/tests/077-method-override/src/
DDerived.java19 System.out.println("notDeclaredInBase: Derived"); in notDeclaredInBase()
23 System.out.println("overridden: Derived"); in overridden()
27 System.out.println("wasOverridden: Derived"); in wasOverridden()
31 System.out.println("overrideWithPublic: Derived"); in overrideWithPublic()
35 System.out.println("overridePublicWithProtected: Derived"); in overridePublicWithProtected()
39 System.out.println("overrideProtectedWithPublic: Derived"); in overrideProtectedWithPublic()
43 System.out.println("overridePublicWithPrivate: Derived"); in overridePublicWithPrivate()
47 System.out.println("overridePrivateWithPublic: Derived"); in overridePrivateWithPublic()
52 System.out.println("overrideVirtualWithStatic: Derived"); in overrideVirtualWithStatic()
57 System.out.println("overrideStaticWithVirtual: Derived"); in overrideStaticWithVirtual()
DBase.java19 System.out.println("declaredInBase: Base"); in declaredInBase()
23 System.out.println("overridden: Base"); in overridden()
28 System.out.println("wasOverridden: Base"); in wasOverridden()
35 System.out.println("overrideWithPublic: Base"); in overrideWithPublic()
43 System.out.println("overridePublicWithProtected: Base"); in overridePublicWithProtected()
50 System.out.println("overrideProtectedWithPublic: Base"); in overrideProtectedWithPublic()
58 System.out.println("overridePublicWithPrivate: Base"); in overridePublicWithPrivate()
65 System.out.println("overridePrivateWithPublic: Base"); in overridePrivateWithPublic()
73 System.out.println("overrideVirtualWithStatic: Base"); in overrideVirtualWithStatic()
81 System.out.println("overrideStaticWithVirtual: Base"); in overrideStaticWithVirtual()
/dalvik/tests/031-class-attributes/src/
DClassAttrs.java53 System.out.println("constructor signature: " in main()
58 System.out.println("method signature: " in main()
63 System.out.println("field signature: " in main()
66 System.err.println("FAILED: " + nsme); in main()
68 System.err.println("FAILED: " + nsfe); in main()
70 System.err.println("FAILED: " + re); in main()
127 System.out.println("***** " + clazz + ":"); in printClassAttrs()
129 System.out.println(" name: " in printClassAttrs()
131 System.out.println(" canonical: " in printClassAttrs()
133 System.out.println(" simple: " in printClassAttrs()
[all …]
/dalvik/tests/046-reflect/src/
DMain.java22 System.out.println("Method name is " + meth.getName()); in printMethodInfo()
23 System.out.println(" Declaring class is " in printMethodInfo()
27 System.out.println(" Arg " + i + ": " + params[i].getName()); in printMethodInfo()
30 System.out.println(" Exc " + i + ": " + exceptions[i].getName()); in printMethodInfo()
31 System.out.println(" Return type is " + meth.getReturnType().getName()); in printMethodInfo()
32 System.out.println(" Access flags are 0x" in printMethodInfo()
38 System.out.println("Field name is " + field.getName()); in printFieldInfo()
39 System.out.println(" Declaring class is " in printFieldInfo()
41 System.out.println(" Field type is " + field.getType().getName()); in printFieldInfo()
42 System.out.println(" Access flags are 0x" in printFieldInfo()
[all …]
/dalvik/tests/042-new-instance/src/
DMain.java38 System.out.println("LocalClass succeeded"); in testClassNewInstance()
40 System.err.println("LocalClass failed"); in testClassNewInstance()
48 System.err.println("ERROR: PackageAccess succeeded unexpectedly"); in testClassNewInstance()
50 System.out.println("Got expected PackageAccess complaint"); in testClassNewInstance()
52 System.err.println("Got unexpected PackageAccess failure"); in testClassNewInstance()
60 System.err.println("ERROR: MaybeAbstract succeeded unexpectedly"); in testClassNewInstance()
62 System.out.println("Got expected InstantationError"); in testClassNewInstance()
64 System.err.println("Got unexpected MaybeAbstract failure"); in testClassNewInstance()
76 System.err.println("Cons LocalClass succeeded unexpectedly"); in testConstructorNewInstance()
78 System.out.println("Cons LocalClass failed as expected"); in testConstructorNewInstance()
[all …]
/dalvik/tests/044-proxy/src/
DWrappedThrow.java38 System.out.println("WT init failed"); in main()
46 System.err.println("No exception thrown"); in main()
48 System.out.println("Got expected UTE"); in main()
50 System.err.println("Got unexpected exception: " + t); in main()
55 System.err.println("No exception thrown"); in main()
57 System.out.println("Got expected IOE"); in main()
59 System.err.println("Got unexpected exception: " + t); in main()
64 System.err.println("No exception thrown"); in main()
66 System.out.println("Got expected IOE"); in main()
68 System.err.println("Got unexpected exception: " + t); in main()
[all …]
DBasicTest.java36 System.err.println("not a proxy class?"); in main()
38 System.err.println("ERROR: Proxy.getInvocationHandler is null"); in main()
56 System.out.println("Didn't get expected exception"); in main()
58 System.out.println("Got expected ioobe"); in main()
62 System.out.println("Didn't get expected exception"); in main()
64 System.out.println("Got expected ie"); in main()
71 System.out.println(""); in main()
73 System.out.println("Proxy methods: " + Arrays.deepToString(methods)); in main()
75 System.out.println("Decl annos: " + Arrays.deepToString(meth.getDeclaredAnnotations())); in main()
77 System.out.println("Param annos (" + paramAnnos.length + ") : " in main()
[all …]
/dalvik/tests/077-method-override/src2/
DBase.java19 System.out.println("declaredInBase: Base"); in declaredInBase()
23 System.out.println("overridden: Base"); in overridden()
35 System.out.println("overrideWithPublic: Base"); in overrideWithPublic()
43 System.out.println("overridePublicWithProtected: Base"); in overridePublicWithProtected()
50 System.out.println("overrideProtectedWithPublic: Base"); in overrideProtectedWithPublic()
58 System.out.println("overridePublicWithPrivate: Base"); in overridePublicWithPrivate()
65 System.out.println("overridePrivateWithPublic: Base"); in overridePrivateWithPublic()
73 System.out.println("overrideVirtualWithStatic: Base"); in overrideVirtualWithStatic()
80 System.out.println("overrideStaticWithVirtual: Base"); in overrideStaticWithVirtual()
/dalvik/tests/047-returns/src/
DMain.java9 System.out.println("pick 1"); in main()
11 System.out.println(((CommonInterface)pickOne(1)).doStuff()); in main()
13 System.out.println("pick 2"); in main()
15 System.out.println(((CommonInterface)pickOne(2)).doStuff()); in main()
17 System.out.println("pick 3"); in main()
39 System.out.println("one running"); in run()
42 System.out.println("one"); in doStuff()
49 System.out.println("two running"); in run()
52 System.out.println("two"); in doStuff()
59 System.out.println("three running"); in run()
/dalvik/tests/027-arithmetic/src/
DMain.java20 System.out.println("values are " + Integer.toHexString(i1) in shiftTest1()
23 System.out.println("First l is " + Long.toHexString(l)); in shiftTest1()
34 System.out.println("Second l is " + Long.toHexString(l)); in shiftTest1()
51 System.out.println("shiftTest2 l is " + Long.toHexString(result)); in shiftTest2()
64 System.out.println("f=" + f + " --> i=" + i); in convTest()
68 System.out.println("f=" + f + " --> i=" + i); in convTest()
73 System.out.println("d=" + d + " --> i=" + i); in convTest()
77 System.out.println("d=" + d + " --> i=" + i); in convTest()
82 System.out.println("d=" + d + " --> l=" + l); in convTest()
86 System.out.println("d=" + d + " --> l=" + l); in convTest()
[all …]
/dalvik/tests/036-finalizer/src/
DMain.java16 System.out.println("Snooze: " + ie.getMessage()); in snooze()
78 System.out.println("wimp: " + wimpString(wimp)); in main()
81 System.out.println("gc"); in main()
84 System.out.println("wimp: " + wimpString(wimp)); in main()
85 System.out.println("finalize"); in main()
87 System.out.println("wimp: " + wimpString(wimp)); in main()
89 System.out.println("sleep"); in main()
92 System.out.println("reborn: " + FinalizerTest.mReborn); in main()
93 System.out.println("wimp: " + wimpString(wimp)); in main()
94 System.out.println("reset reborn"); in main()
[all …]
/dalvik/tests/050-sync-test/src/
DMain.java12 System.out.println("Sleep Test"); in main()
15 System.out.println("\nCount Test"); in main()
18 System.out.println("\nInterrupt Test"); in main()
23 System.out.println("GOING"); in sleepTest()
27 System.out.println("INTERRUPT!"); in sleepTest()
30 System.out.println("GONE"); in sleepTest()
44 System.out.println("INTERRUPT!"); in countTest()
56 System.out.println("INTERRUPT!"); in countTest()
59 System.out.println("main: all done"); in countTest()
95 System.out.println(mCount); in run()
[all …]
/dalvik/tests/084-class-init/src/
DMain.java27 System.err.println("sleep interrupted"); in sleep()
33 System.out.println(PartialInit.FIELD0); in checkExceptions()
34 System.err.println("Construction of PartialInit succeeded unexpectedly"); in checkExceptions()
36 System.out.println("Got expected EIIE for FIELD0"); in checkExceptions()
40 System.out.println(PartialInit.FIELD0); in checkExceptions()
41 System.err.println("Load of FIELD0 succeeded unexpectedly"); in checkExceptions()
43 System.out.println("Got expected NCDFE for FIELD0"); in checkExceptions()
46 System.out.println(PartialInit.FIELD1); in checkExceptions()
47 System.err.println("Load of FIELD1 succeeded unexpectedly"); in checkExceptions()
49 System.out.println("Got expected NCDFE for FIELD1"); in checkExceptions()
[all …]
/dalvik/tests/033-class-init-deadlock/src/
DMain.java15 System.out.println("Deadlock test starting."); in main()
25 System.out.println("Deadlock test interrupting threads."); in main()
28 System.out.println("Deadlock test main thread bailing."); in main()
29 System.out.println("A initialized: " + aInitialized); in main()
30 System.out.println("B initialized: " + bInitialized); in main()
37 System.out.println("A initializing...");
40 System.out.println("A initialized");
47 System.out.println("B initializing...");
50 System.out.println("B initialized");
/dalvik/tests/004-annotations/src/android/test/anno/
DTestAnnotations.java23 System.out.println(prefix + " " + a); in printAnnotationArray()
24 System.out.println(prefix + " " + a.annotationType()); in printAnnotationArray()
33 System.out.println("annotations on TYPE " + clazz + in printAnnotations()
36 System.out.println(); in printAnnotations()
40 System.out.println(" annotations on CTOR " + c + ":"); in printAnnotations()
43 System.out.println(" constructor parameter annotations:"); in printAnnotations()
51 System.out.println(" annotations on METH " + m + ":"); in printAnnotations()
54 System.out.println(" method parameter annotations:"); in printAnnotations()
62 System.out.println(" annotations on FIELD " + f + ":"); in printAnnotations()
68 System.out.println(" aff: " + aff + " / " + aff.getClass()); in printAnnotations()
[all …]
/dalvik/tests/024-illegal-access/src/
DMain.java21 System.err.println("ERROR: call 1 not expected to succeed"); in main()
24 System.out.println("Got expected failure 1"); in main()
27 System.out.println("Got expected failure 1"); in main()
32 System.err.println("ERROR: call 2 not expected to succeed"); in main()
35 System.out.println("Got expected failure 2"); in main()
38 System.out.println("Got expected failure 2"); in main()
/dalvik/tests/048-server-socket/src/
DMain.java25 System.out.println("couldn't open socket " + ioe.getMessage()); in main()
29 System.out.println("opened!"); in main()
35 System.out.println("couldn't close socket " + ioe.getMessage()); in main()
39 System.out.println("closed!"); in main()
45 System.out.println("couldn't reopen socket " + ioe.getMessage()); in main()
49 System.out.println("reopened!"); in main()
50 System.out.println("done"); in main()
/dalvik/tests/088-monitor-verification/src/
DMain.java33 System.err.println("nestedThrow(true) did not throw"); in main()
35 System.out.println("nestedMayThrow ok"); in main()
38 System.out.println("constantLock ok"); in main()
44 System.err.println("excessiveNesting did not throw"); in main()
47 System.out.println("excessiveNesting ok"); in main()
50 System.out.println("notNested ok"); in main()
56 System.out.println("twoPath ok"); in main()
59 System.out.println("triplet ok"); in main()
69 System.out.println("recursiveSync ok"); in recursiveSync()
/dalvik/tools/dexdeps/src/com/android/dexdeps/
DOutput.java36 out.println("File: " + fileName); in generateHeader0()
40 out.println(IN0 + "<external file=\"" + fileName + "\">"); in generateHeader0()
42 out.println(IN0 + "<external>"); in generateHeader0()
55 out.println(); in generateHeader()
63 out.println("</external>"); in generateFooter()
101 out.println("Classes:"); in printClassRefs()
107 out.println(descriptorToDot(ref.getName())); in printClassRefs()
115 out.println("\nFields:"); in printFieldRefs()
122 out.println(descriptorToDot(ref.getDeclClassName()) + in printFieldRefs()
132 out.println("\nMethods:"); in printMethodRefs()
[all …]

123456789