/libcore/luni/src/test/java/libcore/java/nio/charset/ |
OldCharsetEncoderDecoderBufferTest.java | 34 * is done first with an out-buffer with hasArray()==true, and next with an out-buffer with 35 * hasArray()==false. In that situation ICU may overwrite the first out-buffer. 41 CharBuffer out = CharBuffer.wrap(cBuf); local 42 assertTrue(out.hasArray()); 44 out, false); local 51 out = ByteBuffer.wrap(bBuf).asCharBuffer(); 52 assertFalse(out.hasArray()); 53 decoder.decode(ByteBuffer.wrap(new byte[]{(byte)'x'}), out, true); local 71 CharBuffer out = CharBuffer.wrap(new char[10]) local 99 ByteBuffer out = ByteBuffer.wrap(buffer); local 129 ByteBuffer out = ByteBuffer.wrap(new byte[10]); local [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
OldAttributedCharacterIteratorAttributeTest.java | 157 ObjectOutputStream out = null; local 161 out = new ObjectOutputStream(bytes); 167 out.writeObject(attr1); 185 if (out != null) 186 out.close();
|
/libcore/ojluni/src/main/java/java/io/ |
DataOutputStream.java | 55 * @param out the underlying output stream, to be saved for later 57 * @see java.io.FilterOutputStream#out 59 public DataOutputStream(OutputStream out) { 60 super(out); 85 * @see java.io.FilterOutputStream#out 88 out.write(b); 102 * @see java.io.FilterOutputStream#out 107 out.write(b, off, len); 113 * bytes to be written out to the stream. 119 * @see java.io.FilterOutputStream#out [all...] |
/libcore/ojluni/src/main/java/java/util/zip/ |
InflaterOutputStream.java | 73 * @param out output stream to write the uncompressed data to 74 * @throws NullPointerException if {@code out} is null 76 public InflaterOutputStream(OutputStream out) { 77 this(out, new Inflater()); 85 * @param out output stream to write the uncompressed data to 87 * @throws NullPointerException if {@code out} or {@code infl} is null 89 public InflaterOutputStream(OutputStream out, Inflater infl) { 90 this(out, infl, 512); 97 * @param out output stream to write the uncompressed data to 101 * @throws NullPointerException if {@code out} or {@code infl} is nul [all...] |
/libcore/ojluni/src/main/java/javax/crypto/ |
EncryptedPrivateKeyInfo.java | 383 DerOutputStream out = new DerOutputStream(); local 393 out.write(DerValue.tag_Sequence, tmp); 394 this.encoded = out.toByteArray();
|
/libcore/ojluni/src/main/java/sun/security/util/ |
BitArray.java | 93 2. zero out extra bits in the last byte 244 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 247 out.write(NYBBLE[(repn[i] >> 4) & 0x0F], 0, 4); 248 out.write(NYBBLE[repn[i] & 0x0F], 0, 4); 251 out.write('\n'); 253 out.write(' '); 259 out.write(get(i) ? '1' : '0'); 262 return new String(out.toByteArray());
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
BasicConstraintsExtension.java | 73 DerOutputStream out = new DerOutputStream(); local 83 out.write(DerValue.tag_Sequence, tmp); 84 this.extensionValue = out.toByteArray(); 188 * @param out the DerOutputStream to encode the extension to. 190 public void encode(OutputStream out) throws IOException { 203 out.write(tmp.toByteArray());
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
TestKeyManager.java | 39 private static final PrintStream out = LOG ? System.out : new NullPrintStream(); field in class:TestKeyManager 59 out.println("TestKeyManager.<init> keyManager=" + keyManager); 64 out.print("TestKeyManager.chooseClientAlias"); 65 out.print(" | keyTypes: "); 67 out.print(keyType); 68 out.print(' '); 89 out.print("TestKeyManager.chooseServerAlias"); 90 out.print(" | keyType: "); 91 out.print(keyType) [all...] |
/packages/apps/Camera2/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/Dialer/java/com/android/voicemail/impl/mail/store/imap/ |
ImapTempFileLiteral.java | 49 OutputStream out = new FileOutputStream(mFile); local 50 IOUtils.copy(stream, out); 51 out.close();
|
/packages/apps/Email/provider_src/com/android/email/mail/store/imap/ |
ImapTempFileLiteral.java | 53 OutputStream out = new FileOutputStream(mFile); local 54 IOUtils.copy(stream, out); 55 out.close();
|
/packages/apps/Email/provider_src/com/android/email/service/ |
ImapTempFileLiteral.java | 56 OutputStream out = new FileOutputStream(mFile); local 57 IOUtils.copy(stream, out); 58 out.close();
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
Storage.java | 56 FileOutputStream out = null; local 58 out = new FileOutputStream(path); 59 out.write(jpeg); 65 out.close();
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/stress/ |
CameraLatency.java | 112 BufferedWriter out = new BufferedWriter(fstream); local 113 out.write("Camera Latency : \n"); 114 out.write("Number of loop: " + TOTAL_NUMBER_OF_IMAGECAPTURE + "\n"); 115 out.write("Avg AutoFocus = " + mAvgAutoFocusTime + "\n"); 116 out.write("Avg mShutterLag = " + mAvgShutterLag + "\n"); 117 out.write("Avg mShutterToPictureDisplayedTime = " 119 out.write("Avg mPictureDisplayedToJpegCallbackTime = " 121 out.write("Avg mJpegCallbackFinishTime = " + 123 out.close();
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
RegisteredNfcFServicesCache.java | 490 XmlSerializer out = new FastXmlSerializer(); local 491 out.setOutput(fos, "utf-8"); 492 out.startDocument(null, true); 493 out.setFeature(XML_INDENT_OUTPUT_FEATURE, true); 494 out.startTag(null, "services"); 499 out.startTag(null, "service"); 500 out.attribute(null, "component", entry.getKey().flattenToString()); 501 out.attribute(null, "uid", Integer.toString(entry.getValue().uid)); 502 out.attribute(null, "system-code", entry.getValue().systemCode); 504 out.attribute(null, "nfcid2" [all...] |
RegisteredServicesCache.java | 414 XmlSerializer out = new FastXmlSerializer(); local 415 out.setOutput(fos, "utf-8"); 416 out.startDocument(null, true); 417 out.setFeature(XML_INDENT_OUTPUT_FEATURE, true); 418 out.startTag(null, "services"); 422 out.startTag(null, "service"); 423 out.attribute(null, "component", service.getKey().flattenToString()); 424 out.attribute(null, "uid", Integer.toString(service.getValue().uid)); 426 group.writeAsXml(out); 428 out.endTag(null, "service") [all...] |
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/ |
EmlMessageLoaderTest.java | 63 final OutputStream out = new ParcelFileDescriptor.AutoCloseOutputStream( local 65 out.write(0); 66 out.close();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
StringEvaluator.java | 69 StringWriter out = new StringWriter(); local 70 inputsTemplate.process(mParameters, out); 71 out.flush(); 72 return out.toString();
|
/test/vts/harnesses/tradefed/src/com/android/tradefed/util/ |
VtsDashboardUtil.java | 146 FileOutputStream out = new FileOutputStream(filePath); local 147 out.write(data); 148 out.close();
|
/art/test/908-gc-start-finish/src/art/ |
Test908.java | 69 System.out.println("---"); 72 System.out.println((s > 0) + " " + (f > 0));
|
/art/test/911-get-stack-trace/src/art/ |
PrintThread.java | 27 System.out.println("---------"); 30 System.out.print(' '); 31 System.out.print(part); 33 System.out.println(); 86 System.out.println("---------"); 87 System.out.println(s);
|
/build/kati/ |
exec.cc | 109 string out; local 113 &out); 114 printf("%s", out.c_str());
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
FileUtils.java | 114 FileOutputStream out = new FileOutputStream(destFile); local 119 out.write(buffer, 0, bytesRead); 122 out.flush(); 124 out.getFD().sync(); 127 out.close();
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
TriggerContentTest.java | 160 FileOutputStream out = new FileOutputStream(destFile); local 165 out.write(buffer, 0, bytesRead); 168 out.flush(); 170 out.getFD().sync(); 173 out.close(); 257 assertTrue("Timed out waiting for trigger content.", executed); 274 assertTrue("Timed out waiting for trigger content.", executed); 304 assertTrue("Timed out waiting for trigger content.", executed); 320 assertTrue("Timed out waiting for trigger content.", executed); 346 assertTrue("Timed out waiting for trigger content.", executed) [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
GetAllocationTest.java | 43 int [] out = new int[INPUTSIZE]; local 44 mOut.copyTo(out); 48 out[i]);
|