/frameworks/base/services/tests/servicestests/src/com/android/server/storage/ |
DiskStatsLoggingServiceTest.java | 219 PrintStream out = new PrintStream(f); local 220 out.print(data); 221 out.close();
|
/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/stubhal/ |
GenericSoundModelTest.java | 166 DataOutputStream out = new DataOutputStream(socket.getOutputStream()); local 167 out.writeBytes("trig " + model.uuid.toString() + "\r\n"); 168 out.flush(); 242 DataOutputStream out = new DataOutputStream(socket.getOutputStream()); local 243 out.writeBytes("trig " + modelInfo.model.uuid + "\r\n"); 244 out.flush();
|
/frameworks/base/tools/preload2/src/com/android/preload/classdataretrieval/hprof/ |
Hprof.java | 134 System.out.println(e); 151 System.out.println("GetHprof.onEndFailure"); 167 System.out.println("GetHprof.onSuccess"); 186 System.out.println("GetHprof.onSuccess"); 190 BufferedOutputStream out = local 192 out.write(arg0); 193 out.close(); 218 System.out.println("Dump file is " + hprofLocalFile);
|
/frameworks/base/wifi/java/android/net/wifi/ |
WifiSsid.java | 183 CharBuffer out = CharBuffer.allocate(32); local 185 CoderResult result = decoder.decode(ByteBuffer.wrap(ssidBytes), out, true); 186 out.flip(); 190 return out.toString(); 229 String out = "0x"; local 232 out += String.format(Locale.US, "%02x", ssidbytes[i]); 234 return (octets.size() > 0) ? out : null;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
GZIPInputStreamTest.java | 151 // System.out.println(orgBuf[i] + " " + outBuf[i]); 160 // line below fails on RI also, comment out. 174 GZIPOutputStream out = new GZIPOutputStream(bout); local 175 out.write(test); 176 out.close(); 286 FileOutputStream out = new FileOutputStream(f); local 287 GZIPOutputStream gout = new GZIPOutputStream(out); 294 out.write(1); 295 out.close();
|
/libcore/json/src/main/java/org/json/ |
JSONStringer.java | 64 final StringBuilder out = new StringBuilder(); field in class:JSONStringer 175 if (stack.isEmpty() && out.length() > 0) { 180 out.append(openBracket); 198 out.append(closeBracket); 246 out.append(value); 249 out.append(JSONObject.numberToString((Number) value)); 268 out.append(value); 284 out.append(JSONObject.numberToString(value)); 298 out.append(value); 303 out.append("\"") [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
InterruptedStreamTest.java | 66 PipedOutputStream out = new PipedOutputStream(); local 67 PipedInputStream in = new PipedInputStream(out); 72 PipedOutputStream out = new PipedOutputStream(); local 73 new PipedInputStream(out); 74 testInterruptOutputStream(out); 153 private void testInterruptOutputStream(final OutputStream out) throws Exception { 158 out.write(new byte[BUFFER_SIZE]);
|
/libcore/luni/src/test/java/libcore/java/net/ |
OldUnixSocketTest.java | 56 OutputStream out = worker.getOutputStream(); local 57 out.write(new byte[42]);
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
OldCharset_AbstractTest.java | 79 System.out.format("\ntest_dumpEncodableChars() for name %s => %s (class = %s)\n", 81 Charset_TestGenerator.Dumper out = new Charset_TestGenerator.Dumper1(16); local 86 out.consume(code); 93 out.consume(code); 97 System.out.println(); 98 System.out.println("Encodable Chars dumped for Test Class " + getClass().getName()); 106 System.out.format("\ntest_dumpEncoded() for name %s => %s (class = %s)\n", 108 Charset_TestGenerator.Dumper out = new Charset_TestGenerator.Dumper1(); local 115 out.consume(outputBB.get() & 0xff); 117 System.out.println() [all...] |
/libcore/luni/src/test/java/libcore/java/util/zip/ |
GZIPInputStreamTest.java | 244 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 248 out.write(buffer, 0, count); 251 return out.toByteArray();
|
ZipInputStreamTest.java | 54 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 62 out.write(buffer, 0, count); 68 return out.toByteArray();
|
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
ContentInfo.java | 177 public void encode(DerOutputStream out) throws IOException { 196 out.write(DerValue.tag_Sequence, seq); 212 String out = ""; local 214 out += "Content Info Sequence\n\tContent type: " + contentType + "\n"; 215 out += "\tContent: " + content; 216 return out;
|
PKCS8Key.java | 261 public final void encode(DerOutputStream out) throws IOException 263 encode(out, this.algid, this.key); 293 DerOutputStream out; local 295 out = new DerOutputStream (); 296 encode (out); 297 encodedKey = out.toByteArray(); 386 static void encode(DerOutputStream out, AlgorithmId algid, byte[] key) 392 out.write(DerValue.tag_Sequence, tmp);
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
X509Key.java | 298 public final void encode(DerOutputStream out) throws IOException 300 encode(out, this.algid, getKey()); 319 DerOutputStream out = new DerOutputStream(); local 320 encode(out); 321 encoded = out.toByteArray(); 470 static void encode(DerOutputStream out, AlgorithmId algid, BitArray key) 475 out.write(DerValue.tag_Sequence, tmp);
|
/packages/apps/Camera2/tests/src/com/android/camera/stress/ |
CameraLatency.java | 127 BufferedWriter out = new BufferedWriter(fstream); local 128 out.write("Camera Latency : \n"); 129 out.write("Number of loop: " + TOTAL_NUMBER_OF_IMAGECAPTURE + "\n"); 130 out.write("Avg AutoFocus = " + mAvgAutoFocusTime + "\n"); 131 out.write("Avg mShutterLag = " + mAvgShutterLag + "\n"); 132 out.write("Avg mShutterToPictureDisplayedTime = " 134 out.write("Avg mPictureDisplayedToJpegCallbackTime = " 136 out.write("Avg mJpegCallbackFinishTime = " + 138 out.write("Avg FirstPreviewTime = " + 140 out.close() [all...] |
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/ |
MimeUtility.java | 226 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 227 IOUtils.copy(in, out); 250 String result = out.toString(charset); 251 out.close(); 331 OutputStream out = tempBody.getOutputStream(); local 333 IOUtils.copy(in, out); 337 //out.write(warning.getBytes()); 339 out.close(); 345 * Recursively scan a Part (usually a Message) and sort out which of its children will be
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
DocumentsProviderHelper.java | 120 Bundle out = mClient.call("createDocumentWithFlags", null, in); local 121 Uri uri = out.getParcelable(DocumentsContract.EXTRA_URI); 141 try (AutoCloseOutputStream out = new AutoCloseOutputStream(file)) { 142 out.write(contents, 0, contents.length);
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/stress/ |
CameraStartUp.java | 98 BufferedWriter out = new BufferedWriter(fstream); local 100 out.write("First " + Type + " Startup: " + totalStartupTime + "\n"); 103 out.write(Type + "startup time: " + "\n"); 104 out.write("Number of loop: " + (TOTAL_NUMBER_OF_STARTUP -1) + "\n"); 105 out.write(individualStartupTime + "\n\n"); 106 out.write(Type + " average startup time: " + averageStartupTime + " ms\n\n"); 108 out.close();
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/form/ |
FormPage.java | 145 public void writeToParcel(Parcel out, int flags) { 146 out.writeString(mPageTitle); 147 out.writeString(mFormType.name()); 148 out.writeStringList(mFormChoices); 149 out.writeParcelable(mFormIntent, 0); 150 out.writeParcelable(mFormData, 0); 151 out.writeString(mError); 152 out.writeString(mErrorIconUri); 153 out.writeByte((byte) (mCompleted ? 1 : 0));
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
MimeUtility.java | 235 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 236 IOUtils.copy(in, out); 259 String result = out.toString(charset); 260 out.close(); 347 OutputStream out = tempBody.getOutputStream(); local 349 IOUtils.copy(in, out); 353 //out.write(warning.getBytes()); 355 out.close(); 361 * Recursively scan a Part (usually a Message) and sort out which of its children will be
|
/packages/services/Car/tests/CarDiagnosticVerifier/src/com/google/android/car/diagnosticverifier/ |
DiagnosticVerifier.java | 227 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 228 JsonWriter writer = new JsonWriter(new OutputStreamWriter(out)); 234 byte[] rawJson = out.toByteArray(); 238 out.close();
|
/system/timezone/zone_compactor/main/java/ |
ZoneCompactor.java | 54 // Concatenate the contents of 'inFile' onto 'out'. 55 private static void copyFile(File inFile, OutputStream out) throws Exception { 65 out.write(buf, 0, nbytes); 72 out.flush(); 150 // Follow the chain of links to work out where the real data for this zone lives.
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
ZipUtil.java | 158 ZipOutputStream out = null; local 161 out = new ZipOutputStream(new BufferedOutputStream(fileStream)); 162 addToZip(out, dir, new LinkedList<String>()); 170 StreamUtil.close(out); 207 ZipOutputStream out = null; local 210 out = new ZipOutputStream(new BufferedOutputStream(fileStream)); 212 addToZip(out, file, new LinkedList<String>()); 218 StreamUtil.close(out); 225 * @param out the {@link ZipOutputStream} 230 public static void addToZip(ZipOutputStream out, File file, List<String> relativePathSegs 283 GZIPOutputStream out = null; local [all...] |
/tools/tradefederation/core/src/com/android/tradefed/util/sl4a/ |
Sl4aClient.java | 171 // Right now there is no easy way to find out which system support -e option 223 PrintWriter out = new PrintWriter(mSocket.getOutputStream(), true); local 224 out.print(message.toString()); 225 out.print('\n'); 227 out.flush(); 244 PrintWriter out = new PrintWriter(mSocket.getOutputStream(), false); local 245 out.print(message.toString()); 246 out.print('\n'); 247 out.flush();
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
SubprocessTestResultsParserTest.java | 285 PrintWriter out = new PrintWriter(socket.getOutputStream(), true); local 288 out.print(startRun); 289 out.flush(); 295 out.print(testEnded); 296 out.flush();
|