HomeSort by relevance Sort by last modified time
    Searched defs:out (Results 501 - 525 of 4560) sorted by null

<<21222324252627282930>>

  /frameworks/base/sax/tests/saxtests/src/android/sax/
ExpatPerformanceTest.java 46 ByteArrayOutputStream out = new ByteArrayOutputStream(); local
50 out.write(buffer, 0, length);
52 mXmlBytes = out.toByteArray();
  /frameworks/base/services/core/java/com/android/server/pm/
PackageUsage.java 60 BufferedOutputStream out = new BufferedOutputStream(f); local
67 out.write(sb.toString().getBytes(StandardCharsets.US_ASCII));
80 out.write(sb.toString().getBytes(StandardCharsets.US_ASCII));
82 out.flush();
  /frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
Owners.java 504 final XmlSerializer out = new FastXmlSerializer(); local
505 out.setOutput(outputStream, StandardCharsets.UTF_8.name());
508 out.startDocument(null, true);
509 out.startTag(null, TAG_ROOT);
512 writeInner(out);
515 out.endTag(null, TAG_ROOT);
516 out.endDocument();
517 out.flush();
582 abstract void writeInner(XmlSerializer out) throws IOException;
599 void writeInner(XmlSerializer out) throws IOException
    [all...]
  /frameworks/base/tools/preload2/src/com/android/preload/actions/
ComputeThresholdAction.java 142 PrintWriter out = new PrintWriter(f); local
144 out.println(s);
146 out.close();
  /frameworks/base/wifi/java/android/net/wifi/
WifiSsid.java 174 CharBuffer out = CharBuffer.allocate(32); local
176 CoderResult result = decoder.decode(ByteBuffer.wrap(ssidBytes), out, true);
177 out.flip();
181 return out.toString();
203 String out = "0x"; local
206 out += String.format(Locale.US, "%02x", ssidbytes[i]);
208 return (octets.size() > 0) ? out : null;
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
AttributedCharacterIteratorAttributeTest.java 72 ObjectOutputStream out = null; local
76 out = new ObjectOutputStream(bytes);
87 out.writeObject(dattribute);
89 out.writeObject(attribute);
109 if (out != null)
110 out.close();
DataFormatFieldTest.java 175 ObjectOutputStream out = null; local
179 out = new ObjectOutputStream(bytes);
190 out.writeObject(dfield);
191 out.writeObject(field);
215 if (out != null)
216 out.close();
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
GZIPOutputStreamTest.java 32 TestGZIPOutputStream(OutputStream out) throws IOException {
33 super(out);
36 TestGZIPOutputStream(OutputStream out, int size) throws IOException {
37 super(out, size);
150 // System.out.print(outGZIP.getChecksum().getValue());
161 assertEquals("out of bounds exception is not present", 1, r);
172 GZIPOutputStream out = new GZIPOutputStream(pout, true /* syncFlush */); local
175 out.write(1);
176 out.write(2);
177 out.write(3)
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/
ProcessBuilderTest.java 38 ProcessBuilder pb = new ProcessBuilder(shell(), "-c", "echo out; echo err 1>&2");
44 assertRedirectErrorStream(true, "out\nerr\n", "");
48 assertRedirectErrorStream(false, "out\n", "err\n");
58 Process process = new ProcessBuilder(shell(), "-c", "echo out; echo err 1>&2").start();
61 OutputStream out = process.getOutputStream(); local
79 out.write(1);
80 out.flush();
87 Process process = new ProcessBuilder(shell(), "-c", "echo out; echo err 1>&2").start();
  /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/luni/src/test/java/libcore/java/util/zip/
ZipInputStreamTest.java 59 ByteArrayOutputStream out = new ByteArrayOutputStream(); local
67 out.write(buffer, 0, count);
73 return out.toByteArray();
  /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 403 DerOutputStream out = new DerOutputStream(); local
413 out.write(DerValue.tag_Sequence, tmp);
414 this.encoded = out.toByteArray();
  /libcore/ojluni/src/main/java/sun/net/www/http/
HttpCapture.java 59 private BufferedWriter out = null; field in class:HttpCapture
115 out = new BufferedWriter(new FileWriter(file, true));
116 out.write("URL: " + url + "\n");
124 out.write("\n------>\n");
126 out.flush();
128 out.write(c);
133 out.write("\n<------\n");
135 out.flush();
137 out.write(c);
141 out.flush()
    [all...]
  /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/Bluetooth/tests/src/com/android/bluetooth/tests/
SapSocketTest.java 144 CodedOutputStreamMicro out = CodedOutputStreamMicro.newInstance(rilSocket.getOutputStream()); local
157 msg.writeTo(out);
158 out.flush();
  /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/Camera2/tests_camera/src/com/android/camera/stress/
CameraLatency.java 122 BufferedWriter out = new BufferedWriter(fstream); local
123 out.write("Camera Latency : \n");
124 out.write("Number of loop: " + TOTAL_NUMBER_OF_IMAGECAPTURE + "\n");
125 out.write("Avg AutoFocus = " + mAvgAutoFocusTime + "\n");
126 out.write("Avg mShutterLag = " + mAvgShutterLag + "\n");
127 out.write("Avg mShutterToPictureDisplayedTime = "
129 out.write("Avg mPictureDisplayedToJpegCallbackTime = "
131 out.write("Avg mJpegCallbackFinishTime = " +
133 out.close();
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/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();

Completed in 59 milliseconds

<<21222324252627282930>>