HomeSort by relevance Sort by last modified time
    Searched defs:out (Results 751 - 775 of 5424) sorted by null

<<31323334353637383940>>

  /frameworks/base/core/java/android/util/
JsonWriter.java 71 * public void writeJsonStream(OutputStream out, List<Message> messages) throws IOException {
72 * JsonWriter writer = new JsonWriter(new OutputStreamWriter(out, "UTF-8"));
123 private final Writer out; field in class:JsonWriter
144 * Creates a new instance that writes a JSON-encoded stream to {@code out}.
148 public JsonWriter(Writer out) {
149 if (out == null) {
150 throw new NullPointerException("out == null");
152 this.out = out;
241 out.write(openBracket)
    [all...]
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
CameraTestResultPrinter.java 32 "/camera-out/";
104 BufferedWriter out = null; local
106 out = new BufferedWriter(new FileWriter(swapFile));
107 out.write(results);
108 out.flush();
112 if (out != null) {
114 out.close();
  /frameworks/base/services/core/java/com/android/server/
EntropyMixer.java 160 PrintWriter out = null; local
162 out = new PrintWriter(new FileOutputStream(randomDevice));
163 out.println("Copyright (C) 2009 The Android Open Source Project");
164 out.println("All Your Randomness Are Belong To Us");
165 out.println(START_TIME);
166 out.println(START_NANOTIME);
167 out.println(SystemProperties.get("ro.serialno"));
168 out.println(SystemProperties.get("ro.bootmode"));
169 out.println(SystemProperties.get("ro.baseband"));
170 out.println(SystemProperties.get("ro.carrier"))
    [all...]
  /frameworks/base/services/core/java/com/android/server/pm/
ShortcutBitmapSaver.java 124 mService.wtf("Timed out waiting on saving bitmaps.");
171 try (final ByteArrayOutputStream out = new ByteArrayOutputStream(64 * 1024)) {
172 if (!shrunk.compress(format, quality, out)) {
175 out.flush();
176 bytes = out.toByteArray();
177 out.close();
262 final FileOutputStreamWithPath out = mService.openIconFileForWrite( local
264 file = out.getFile();
267 out.write(item.bytes);
269 IoUtils.closeQuietly(out);
    [all...]
  /frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/
BandwidthEnforcementTestService.java 69 BufferedWriter out = new BufferedWriter(writer); local
71 out.append(tag + ":fail\n");
73 out.append(tag + ":pass\n");
75 out.close();
186 final ByteArrayOutputStream out = new ByteArrayOutputStream(); local
191 out.write(id);
192 out.write(new byte[] { 0x01, 0x00 });
193 out.write(new byte[] { 0x00, 0x01 });
194 out.write(new byte[] { 0x00, 0x00 });
195 out.write(new byte[] { 0x00, 0x00 })
    [all...]
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
SsidSetStoreDataTest.java 79 final XmlSerializer out = new FastXmlSerializer(); local
81 out.setOutput(outputStream, StandardCharsets.UTF_8.name());
82 mSsidSetStoreData.serializeData(out, shared);
83 out.flush();
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
PasspointXmlUtilsTest.java 188 final XmlSerializer out = new FastXmlSerializer(); local
190 out.setOutput(outputStream, StandardCharsets.UTF_8.name());
191 PasspointXmlUtils.serializePasspointConfiguration(out, testConfig);
192 out.flush();
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
ProcessManagerTest.java 39 OutputStream out = process.getOutputStream(); local
41 out.write(greeting.getBytes());
42 out.write('\n');
43 out.close();
177 FileOutputStream out; field in class:ProcessManagerTest
188 this.out = new FileOutputStream(tmpFile);
197 this.out.close();
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
CharsetDecoder2Test.java 61 protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) {
159 protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) {
173 protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) {
188 CharBuffer out = CharBuffer.allocate(1); local
190 // but "out" doesn't have enough space for replace string.
192 CoderResult result = decoder.decode(in, out, false);
195 // allocate enough space for "out"
196 out = CharBuffer.allocate(10);
197 // replace string should be put into "out" firstly,
199 result = decoder.decode(in, out, true)
    [all...]
  /libcore/luni/src/test/java/libcore/java/nio/charset/
Charset_TestGenerator.java 116 System.out.print(code);
117 System.out.print(", ");
120 System.out.println();
136 // System.out.print(code);
137 // System.out.print(", ");
138 System.out.print((char) code);
141 System.out.println();
154 System.out.print(code);
155 System.out.print(", ");
158 System.out.print(" // ")
219 Dumper out = new Dumper1(); local
    [all...]
  /libcore/ojluni/src/main/java/java/io/
PrintStream.java 105 private PrintStream(boolean autoFlush, OutputStream out) {
106 super(out);
113 private PrintStream(boolean autoFlush, OutputStream out, Charset charset) {
114 super(out);
127 private PrintStream(boolean autoFlush, Charset charset, OutputStream out)
130 this(autoFlush, out, charset);
136 * @param out The output stream to which values and objects will be
141 public PrintStream(OutputStream out) {
142 this(out, false);
148 * @param out The output stream to which values and objects will b
    [all...]
  /libcore/ojluni/src/main/java/java/net/
SocksSocketImpl.java 126 throw new SocketTimeoutException("Connect timed out");
139 BufferedOutputStream out) throws IOException {
140 return authenticate(method, in, out, 0L);
144 BufferedOutputStream out,
175 out.write(1);
176 out.write(userName.length());
178 out.write(userName.getBytes("ISO-8859-1"));
183 out.write(password.length());
185 out.write(password.getBytes("ISO-8859-1"));
190 out.write(0)
    [all...]
  /libcore/ojluni/src/main/java/java/nio/charset/
CharsetDecoder.java 470 * will be read and at most {@link Buffer#remaining out.remaining()}
541 * @param out
562 public final CoderResult decode(ByteBuffer in, CharBuffer out,
575 cr = decodeLoop(in, out);
606 if (out.remaining() < replacement.length())
608 out.put(replacement);
631 * its current position. At most {@link Buffer#remaining out.remaining()}
648 * @param out
662 public final CoderResult flush(CharBuffer out) {
664 CoderResult cr = implFlush(out);
791 CharBuffer out = CharBuffer.allocate(n); local
    [all...]
CharsetEncoder.java 488 * will be read and at most {@link Buffer#remaining out.remaining()}
559 * @param out
580 public final CoderResult encode(CharBuffer in, ByteBuffer out,
593 cr = encodeLoop(in, out);
624 if (out.remaining() < replacement.length)
626 out.put(replacement);
649 * its current position. At most {@link Buffer#remaining out.remaining()}
666 * @param out
680 public final CoderResult flush(ByteBuffer out) {
682 CoderResult cr = implFlush(out);
809 ByteBuffer out = ByteBuffer.allocate(n); local
    [all...]
  /libcore/ojluni/src/main/java/sun/security/pkcs/
PKCS9Attributes.java 234 * @param out the output stream on which to put the DER encoding.
238 public void encode(byte tag, OutputStream out) throws IOException {
239 out.write(tag);
240 out.write(derEncoding, 1, derEncoding.length -1);
244 DerOutputStream out = new DerOutputStream(); local
247 out.putOrderedSetOf(DerValue.tag_SetOf,
249 return out.toByteArray();
  /libcore/ojluni/src/main/java/sun/security/provider/certpath/
OCSP.java 216 OutputStream out = null; local
233 out = con.getOutputStream();
234 out.write(bytes);
235 out.flush();
272 if (out != null) {
274 out.close();
  /libcore/support/src/test/java/tests/support/
Support_TestWebData.java 116 ByteArrayOutputStream out = new ByteArrayOutputStream(); local
121 out.write(in.read());
124 out.flush();
125 test0Data = out.toByteArray();
126 out.close();
137 if (out != null) {
138 out.close();
  /packages/apps/Contacts/src/com/android/contacts/util/
ContactPhotoUtils.java 54 * Generate a new, unique file to be used as an out-of-band communication
111 final ByteArrayOutputStream out = new ByteArrayOutputStream(size); local
113 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out);
114 out.flush();
115 out.close();
116 return out.toByteArray();
  /packages/apps/Gallery/src/com/android/camera/
PhotoAppWidgetProvider.java 53 Log.d(TAG, "sending out views=" + views
63 // Clean deleted photos out of our database
129 ByteArrayOutputStream out = new ByteArrayOutputStream(size); local
130 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out);
131 out.flush();
132 out.close();
137 out.toByteArray());
  /packages/apps/Launcher2/src/com/android/launcher2/
ItemInfo.java 189 ByteArrayOutputStream out = new ByteArrayOutputStream(size); local
191 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out);
192 out.flush();
193 out.close();
194 return out.toByteArray();
  /packages/apps/Music/tests/src/com/android/music/functional/
TestSongs.java 88 OutputStream out = new FileOutputStream(dst); local
90 // Transfer bytes from in to out
94 out.write(buf, 0, len);
97 out.close();
129 System.out.println("resolver = null");
159 System.out.println("resolver = null");
207 System.out.println("resolver = null");
  /packages/apps/Tag/canon/src/com/android/apps/tagcanon/
TagCanon.java 87 final ByteArrayOutputStream out = new ByteArrayOutputStream(size); local
90 photo.compress(Bitmap.CompressFormat.PNG, 100, out);
91 out.flush();
92 byte[] payload = out.toByteArray();
93 out.close();
  /packages/apps/UnifiedEmail/src/org/apache/commons/io/
IOUtils.java 113 PrintWriter out = new PrintWriter(buf); external variable declarations
114 out.println();
1159 OutputStreamWriter out = new OutputStreamWriter(output); local
1194 OutputStreamWriter out = new OutputStreamWriter(output, encoding); local
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/discovery/
NdkDiscoveredPathInfo.java 138 PrintStream out = new PrintStream(infoFile); local
141 out.print("t,"); //$NON-NLS-1$
142 out.print(mLastUpdate);
143 out.println();
146 out.print("i,"); //$NON-NLS-1$
147 out.print(include.toPortableString());
148 out.println();
152 out.print("d,"); //$NON-NLS-1$
153 out.print(symbol.getKey());
154 out.print(","); //$NON-NLS-1
    [all...]
  /tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
GTestXmlResultParserTest.java 53 FileOutputStream out = null; local
58 out = new FileOutputStream(res);
62 out.write(buffer, 0, byteRead);
64 out.close();

Completed in 1659 milliseconds

<<31323334353637383940>>