/libcore/luni/src/test/java/libcore/java/util/logging/ |
OldErrorManagerTest.java | 27 private final PrintStream err = System.err; 28 private final PrintStream out = System.out; 31 System.setErr(err); 32 System.setOut(out); 40 System.setErr(st); 41 System.setOut(st);
|
/art/test/044-proxy/src/ |
BasicTest.java | 37 System.err.println("not a proxy class?"); 39 System.err.println("ERROR: Proxy.getInvocationHandler is null"); 59 System.out.println("Didn't get expected exception"); 61 System.out.println("Got expected ioobe"); 65 System.out.println("Didn't get expected exception"); 67 System.out.println("Got expected ie"); 74 System.out.println(""); 85 System.out.println("Proxy interfaces: " + 87 System.out.println("Proxy methods: " + 90 System.out.println("Decl annos: " + Arrays.deepToString(meth.getDeclaredAnnotations())) [all...] |
/art/test/092-locale/src/ |
Main.java | 76 System.out.println("USA(" + fmt.getTimeZone().getID() + "): " 79 System.out.println("USA: first=" 92 System.out.println("France(" + fmt.getTimeZone().getID() + "): " 95 System.out.println("France: first=" 104 System.out.println("USA dfs: " + Arrays.deepToString(list)); 111 System.out.println(usa.toString() + ": " + dollars.toString() 117 System.out.println(japan.toString() + ": " + yen.toString() 128 System.err.println("Bad decompose: '" + composed + "' --> '" 134 System.err.println("Bad compose: '" + decomposed + "' --> '" 138 System.out.println("Normalizer passed") [all...] |
/art/test/922-properties/src/art/ |
Test922.java | 30 System.out.println("Recommended properties:"); 42 System.out.println("Missing recommended properties: " + missing); 48 System.out.println("Other properties:"); 53 System.out.println("Non-specified property:"); 57 System.out.println("Non-specified property (2):"); 93 System.out.print(" \"" + key + "\": "); 101 String sysValue = System.getProperty(key); 103 System.out.print("OK"); 105 System.out.println(" !!!" + err); 107 System.out.println() [all...] |
/art/tools/ahat/src/ |
Main.java | 53 help(System.out); 71 System.out.println("Unable to read proguard map: " + ex); 72 System.out.println("The proguard map will not be used."); 79 System.out.println("Unable to read baselline proguard map: " + ex); 80 System.out.println("The proguard map will not be used."); 85 System.err.println("multiple baseline heap dumps."); 86 help(System.err); 92 System.err.println("multiple input files."); 93 help(System.err); 101 System.err.println("no input file.") [all...] |
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/ |
Trans.java | 70 out = new PrintWriter(System.out); 100 if (DEBUG) System.out.println("*S:" + line.substring(0, right+1)); 108 if (DEBUG) System.out.println("T:" + line.substring(right+1)); 114 if (DEBUG) System.out.println("T:" + line.substring(right+1, left)); 119 if (DEBUG) System.out.println("S:" + line.substring(left)); 123 if (DEBUG) System.out.println("S:" + line.substring(left, right+1)); 139 System.out.println("Usage: java com.ibm.icu.dev.tool.translit.Trans [-html] <trans> ( <input> | -i <infile>) [ -o <outfile> ]"); 140 System.out.println("<trans> Name of transliterator"); 141 System.out.println("<input> Text to transliterate"); 142 System.out.println("<infile> Name of input file") [all...] |
/packages/apps/Dialer/java/com/android/dialer/calllog/ |
RefreshAnnotatedCallLogWorker.java | 55 long startTime = System.currentTimeMillis(); 61 System.currentTimeMillis() - startTime); 69 long startTime = System.currentTimeMillis(); 95 System.currentTimeMillis() - startTime); 97 startTime = System.currentTimeMillis(); 102 System.currentTimeMillis() - startTime); 114 long startTime = System.currentTimeMillis(); 122 System.currentTimeMillis() - startTime); 140 // System call log data source must go first! 144 long startTime = System.currentTimeMillis() [all...] |
/art/test/115-native-bridge/src/ |
NativeBridgeMain.java | 18 import java.lang.System; 106 System.out.println("Run " + i + " with " + returns[i] + " vs " + result); 121 System.out.println("Run " + i + " with " + returns[i] + " vs " + result); 152 System.out.println("Run " + i + " with " + (int)returns[i] + " vs " + (int)result); 159 String osArch = System.getProperty("os.arch"); 196 System.out.println("Loading invalid library 'libinvalid.so' from Java, which will fail."); 198 System.loadLibrary("invalid"); 200 System.out.println("Catch UnsatisfiedLinkError exception as expected."); 209 System.out.println("Ready for native bridge tests."); 211 System.loadLibrary(args[0]) [all...] |
/art/test/904-object-allocation/src/art/ |
Test904.java | 50 System.out.println(Arrays.toString(getTrackingEventMessages())); 69 System.out.println(Arrays.toString(getTrackingEventMessages())); 70 System.out.println("Tracking on same thread"); 76 System.out.println(Arrays.toString(getTrackingEventMessages())); 77 System.out.println("Tracking on same thread, not disabling tracking"); 81 System.out.println(Arrays.toString(getTrackingEventMessages())); 82 System.out.println("Tracking on different thread"); 92 System.out.println(Arrays.toString(getTrackingEventMessages())); 111 e.printStackTrace(System.out); 112 System.exit(1) [all...] |
/external/proguard/src/proguard/ |
InputReader.java | 57 WarningPrinter warningPrinter = new WarningPrinter(System.err, configuration.warn); 58 WarningPrinter notePrinter = new WarningPrinter(System.out, configuration.note); 104 System.err.println("Note: there were " + noteCount + 106 System.err.println(" (http://proguard.sourceforge.net/manual/troubleshooting.html#duplicateclass)"); 113 System.err.println("Warning: there were " + warningCount + 115 System.err.println(" You should make sure all file names correspond to their class names."); 116 System.err.println(" The directory hierarchies must correspond to the package hierarchies."); 117 System.err.println(" (http://proguard.sourceforge.net/manual/troubleshooting.html#unexpectedclass)"); 121 System.err.println(" If you don't mind the mentioned classes not being written out,"); 122 System.err.println(" you could try your luck using the '-ignorewarnings' option.") [all...] |
/libcore/tzdata/tools2/src/main/libcore/tzdata/update2/tools/ |
CreateTimeZoneDistro.java | 43 System.exit(1); 47 System.err.println("Properties file " + f + " not found"); 49 System.exit(2); 68 System.out.println("Wrote: " + outputFile); 75 System.out.println( 78 System.exit(4); 86 System.out.println("Missing property: " + propertyName); 88 System.exit(3); 102 System.out.println("Usage:"); 103 System.out.println("\t" + CreateTimeZoneDistro.class.getName() [all...] |
/art/test/004-UnsafeTest/src/ |
Main.java | 23 System.out.println(msg + " : " + actual + " != " + expected); 24 System.exit(1); 30 System.out.println(msg + " : " + actual + " != " + expected); 31 System.exit(1); 37 System.out.println(msg + " : " + actual + " != " + expected); 38 System.exit(1); 50 System.loadLibrary(args[0]); 125 System.out.println("Unexpectedly succeeding compareAndSwapInt(t, intOffset, 0, 1)"); 128 System.out.println( 132 System.out.println("Unexpectedly not succeeding compareAndSwapInt(t, intOffset, 0, 1)") [all...] |
/art/test/055-enum-performance/src/ |
Main.java | 35 long time0 = System.nanoTime(); 37 long time1 = System.nanoTime(); 39 long time2 = System.nanoTime(); 41 long time3 = System.nanoTime(); 43 long time4 = System.nanoTime(); 45 System.out.println("basis: performed " + count4 + " iterations"); 46 System.out.println("test1: performed " + count1 + " iterations"); 47 System.out.println("test2: performed " + count2 + " iterations"); 48 System.out.println("test3: performed " + count3 + " iterations"); 57 System.out.println("Timing is acceptable.") [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/d1new/ |
RefocusFilterd1new.java | 84 startnow = System.nanoTime(); 86 endnow = System.nanoTime(); 162 startnow = System.nanoTime(); 167 endnow = System.nanoTime(); 170 startnow = System.nanoTime(); 174 endnow = System.nanoTime(); 191 startnow = System.nanoTime(); 194 endnow = System.nanoTime(); 200 startnow = System.nanoTime(); 204 endnow = System.nanoTime() [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/f32/ |
RefocusFilterF32.java | 84 startnow = System.nanoTime(); 86 endnow = System.nanoTime(); 156 startnow = System.nanoTime(); 158 endnow = System.nanoTime(); 161 startnow = System.nanoTime(); 163 endnow = System.nanoTime(); 179 startnow = System.nanoTime(); 182 endnow = System.nanoTime(); 188 startnow = System.nanoTime(); 190 endnow = System.nanoTime() [all...] |
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/mbcs/ |
BIG5Tool.java | 78 System.err.println("Unrecognized option: " + args[i]); 79 System.exit(-1); 84 System.err.println("Unrecognized option: " + dirName); 85 System.exit(-1); 97 System.err.println("\"" + dirName + "\" is not a directory"); 98 System.exit(-1); 112 System.out.println(dir.getName()); 121 System.out.println(files[i].getPath()); 122 System.out.println(" " + fileSize + " bytes."); 156 System.out.println(" " + fileChars + " Chars") [all...] |
/art/test/088-monitor-verification/src/ |
Main.java | 29 System.loadLibrary(args[0]); 44 System.err.println("nestedThrow(true) did not throw"); 46 System.out.println("nestedMayThrow ok"); 49 System.out.println("constantLock ok"); 54 System.out.println("notNested ok"); 60 System.out.println("twoPath ok"); 63 System.out.println("triplet ok"); 76 System.out.println("recursiveSync ok"); 245 System.out.println("Could not find test method for " + className); 247 System.out.println("Test method for " + className + " is not static.") [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
DFA.java | 66 System.err.println("Enter DFA.predict for decision "+decisionNumber); 72 if ( debug ) System.err.println("DFA "+decisionNumber+" state "+s+" LA(1)="+(char)input.LA(1)+"("+input.LA(1)+ 77 System.err.println("DFA "+decisionNumber+ 82 System.err.println("DFA "+decisionNumber+ 93 if ( debug ) System.err.println("accept; predict "+accept[s]+" from state "+s); 106 if ( debug ) System.err.println("EOT transition"); 124 if ( debug ) System.err.println("EOT transition"); 130 if ( debug ) System.err.println("accept via EOF; predict "+accept[eof[s]]+" from "+eof[s]); 135 System.err.println("min["+s+"]="+min[s]); 136 System.err.println("max["+s+"]="+max[s]) [all...] |
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/serializable/ |
SerializableChecker.java | 64 System.out.println("Woops! Can't get class info for Serializable and Throwable."); 79 System.out.print(" - can't write file!"); 103 System.out.print(className + " (" + Modifier.toString(m) + ") - "); 110 System.out.print("no serialVersionUID - "); 130 System.out.println("Eror writing test objects:" + e.toString()); 146 System.out.println("Error reading test objects:" + e.toString()); 153 System.out.println("Object " + i + " failed behavior test."); 158 System.out.print("test passed."); 163 System.out.print("no test."); 168 System.out.println() [all...] |
/external/wycheproof/java/com/google/security/wycheproof/testcases/ |
RsaSignatureTest.java | [all...] |
/libcore/luni/src/test/java/libcore/java/util/zip/ |
OldAndroidZipStressTest.java | 43 long t0 = System.currentTimeMillis(); 52 long t1 = System.currentTimeMillis(); 53 System.out.println("loadCertificates() took " + (t1 - t0) + " ms"); 55 System.out.println("We have no certificates"); 57 System.out.println("We have " + certs.length + " certificates"); 62 File[] result = new File("/system/app").listFiles(new FilenameFilter() { 79 long time0 = System.currentTimeMillis(); 82 System.out.println("ZIP stress test processing " + file + "..."); 93 long time1 = System.currentTimeMillis(); 94 System.out.println("ZIP stress test finished, time was " + (time1- time0) + "ms") [all...] |
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
Info.java | 40 System.out.println("Header attributes :"); 41 System.out.print(dict.mOptions.toString(2, plumbing)); 61 System.out.println("Words in the dictionary : " + wordCount); 62 System.out.println("Bigram count : " + bigramCount); 63 System.out.println("Shortcuts : " + shortcutCount + " (out of which " + whitelistCount 70 System.out.println(word + " is not in the dictionary"); 73 System.out.println("Word: " + word); 74 System.out.println(" Freq: " + ptNode.getProbability()); 76 System.out.println(" Is not a word"); 79 System.out.println(" Is possibly offensive") [all...] |
/art/test/616-cha-interface-default/src/ |
Main.java | 44 System.out.println(clazz + "." + method_name + 73 System.out.println("11 expected."); 76 System.out.println("-1 expected."); 79 System.out.println("11 expected."); 109 System.out.println("11 expected."); 118 System.out.println("-13 expected."); 126 System.loadLibrary(args[0]);
|
/cts/tests/tests/os/src/android/os/cts/ |
ConditionVariableTest.java | 47 long time = System.currentTimeMillis(); 49 assertTrue(System.currentTimeMillis() - time < TOLERANCE_MS); 53 time = System.currentTimeMillis(); 55 assertTrue(System.currentTimeMillis() - time >= BLOCK_TIME); 58 time = System.currentTimeMillis(); 73 long timeDelta = System.currentTimeMillis() - time; 77 time = System.currentTimeMillis();
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/display/ |
AutoBrightnessLineItemTest.java | 30 import static android.provider.Settings.System.SCREEN_BRIGHTNESS_MODE; 31 import static android.provider.Settings.System.SCREEN_BRIGHTNESS_MODE_AUTOMATIC; 32 import static android.provider.Settings.System.SCREEN_BRIGHTNESS_MODE_MANUAL; 52 Settings.System.putInt(mContext.getContentResolver(), SCREEN_BRIGHTNESS_MODE, 55 Settings.System.putInt(mContext.getContentResolver(), SCREEN_BRIGHTNESS_MODE, 63 assertThat(Settings.System.getInt(mContext.getContentResolver(), 67 assertThat(Settings.System.getInt(mContext.getContentResolver(),
|