/external/apache-http/src/org/apache/http/impl/io/ |
ChunkedOutputStream.java | 58 private final SessionOutputBuffer out; field in class:ChunkedOutputStream 72 * @param out the session output buffer to wrap 76 public ChunkedOutputStream(final SessionOutputBuffer out, int bufferSize) 80 this.out = out; 87 * @param out the output buffer to wrap 90 public ChunkedOutputStream(final SessionOutputBuffer out) 92 this(out, 2048); 97 * Writes the cache out onto the underlying stream 102 this.out.writeLine(Integer.toHexString(this.cachePosition)) [all...] |
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/ |
RandomAccessFileInputStreamFactoryTest.java | 56 FileOutputStream out = new FileOutputStream(tempFile); local 57 out.write(testData); 58 out.flush(); 59 out.close();
|
/external/guava/guava-tests/test/com/google/common/io/ |
ByteSinkTest.java | 47 OutputStream out = sink.openBufferedStream(); local 51 out.write(new byte[] {1, 2, 3, 4}); 52 out.close();
|
IoTestCase.java | 166 OutputStream out = new FileOutputStream(file); local 170 out.write(buf, 0, read); 173 out.close();
|
/external/jacoco/org.jacoco.cli.test/src/org/jacoco/cli/internal/commands/ |
InstrumentTest.java | 66 + destdir.getAbsolutePath(), out); 89 out); 113 OutputStream out = new FileOutputStream( local 115 out.write((byte) 0xca); 116 out.write((byte) 0xfe); 117 out.write((byte) 0xba); 118 out.write((byte) 0xbe); 119 out.write((byte) 0x00); 120 out.write((byte) 0x00); 121 out.write((byte) 0x00) [all...] |
/external/jarjar/src/main/com/tonicsystems/jarjar/util/ |
IoUtil.java | 31 public static void pipe(InputStream is, OutputStream out, byte[] buf) throws IOException { 36 out.write(buf, 0, amt); 43 OutputStream out = new FileOutputStream(to); local 45 pipe(in, out, buf); 47 out.close();
|
/frameworks/base/core/java/android/app/admin/ |
SystemUpdateInfo.java | 128 public void writeToXml(XmlSerializer out, String tag) throws IOException { 129 out.startTag(null, tag); 130 out.attribute(null, ATTR_RECEIVED_TIME, String.valueOf(mReceivedTime)); 131 out.attribute(null, ATTR_SECURITY_PATCH_STATE, String.valueOf(mSecurityPatchState)); 132 out.attribute(null, ATTR_ORIGINAL_BUILD , Build.FINGERPRINT); 133 out.endTag(null, tag);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
DeletedEphemeralSsidsStoreDataTest.java | 69 final XmlSerializer out = new FastXmlSerializer(); local 71 out.setOutput(outputStream, StandardCharsets.UTF_8.name()); 72 mDeletedEphemeralSsidsStoreData.serializeData(out, shared); 73 out.flush();
|
/frameworks/support/slices/view/src/androidTest/java/androidx/slice/render/ |
RenderTest.java | 93 OutputStream out = new FileOutputStream(targetLocation); local 98 out.write(buf, 0, len); 101 out.close();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
GZIPOutputStreamTest.java | 38 TestGZIPOutputStream(OutputStream out) throws IOException { 39 super(out); 42 TestGZIPOutputStream(OutputStream out, int size) throws IOException { 43 super(out, size); 156 // System.out.print(outGZIP.getChecksum().getValue()); 167 assertEquals("out of bounds exception is not present", 1, r); 182 GZIPOutputStream out = new GZIPOutputStream(pout, true /* syncFlush */); local 184 out.write(1); 185 out.write(2); 186 out.write(3) [all...] |
/libcore/luni/src/test/java/libcore/javax/net/ |
ServerSocketFactoryTest.java | 84 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 85 transfer(in, out); 86 assertEquals(Arrays.toString(data), Arrays.toString(out.toByteArray())); 115 System.out.println("backlog peaked at " + peak); 128 private void transfer(InputStream in, ByteArrayOutputStream out) throws IOException { 132 out.write(buffer, 0, count);
|
/libcore/ojluni/src/main/java/java/io/ |
BufferedWriter.java | 48 * PrintWriter out 49 * = new PrintWriter(new BufferedWriter(new FileWriter("foo.out"))); 68 private Writer out; field in class:BufferedWriter 85 * @param out A Writer 87 public BufferedWriter(Writer out) { 88 this(out, defaultCharBufferSize); 95 * @param out A Writer 100 public BufferedWriter(Writer out, int sz) { 101 super(out); 104 this.out = out [all...] |
/libcore/ojluni/src/main/java/java/util/zip/ |
DeflaterOutputStream.java | 66 * @param out the output stream 79 public DeflaterOutputStream(OutputStream out, 83 super(out); 84 if (out == null || def == null) { 100 * the 4-argument constructor DeflaterOutputStream(out, def, size, false). 102 * @param out the output stream 107 public DeflaterOutputStream(OutputStream out, Deflater def, int size) { 108 this(out, def, size, false); 115 * @param out the output stream 125 public DeflaterOutputStream(OutputStream out, [all...] |
/libcore/support/src/test/java/org/apache/harmony/testframework/ |
CharSinkTester.java | 96 Writer out = create(); local 97 out.close(); 104 Writer out = create(); local 106 out.write(a, 1000, 0); 107 out.write(a, 0, 0); 108 out.write(new char[] { }); 110 out.close(); 117 Writer out = create(); local 119 out.write(c); 122 out.close() 129 Writer out = create(); local 141 Writer out = create(); local 172 Writer out = create(); local 181 Writer out = create(); local 196 Writer out = create(); local [all...] |
SinkTester.java | 97 OutputStream out = create(); local 98 out.close(); 105 OutputStream out = create(); local 107 out.write(a, 1000, 0); 108 out.write(a, 0, 0); 109 out.write(new byte[] { }); 111 out.close(); 118 OutputStream out = create(); local 120 out.write(b); 123 out.close() 134 OutputStream out = create(); local 156 OutputStream out = create(); local 184 OutputStream out = create(); local 193 OutputStream out = create(); local 208 OutputStream out = create(); local [all...] |
/packages/services/Car/service/src/com/android/car/storagemonitoring/ |
WearHistory.java | 69 public void writeToJson(@NonNull JsonWriter out) throws IOException { 70 out.beginObject(); 71 out.name("wearHistory").beginArray(); 73 wearRecord.writeToJson(out); 75 out.endArray(); 76 out.endObject();
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/ |
ScreenshotListener.java | 116 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 117 screenshotToStream(out); 119 description.getClassName(), description.getMethodName()), out.toByteArray()); 134 OutputStream out = new BufferedOutputStream(new FileOutputStream(img)) 136 screenshotToStream(out); 137 out.flush(); 150 public void screenshotToStream(OutputStream out) { 152 .takeScreenshot().compress(Bitmap.CompressFormat.PNG, mQuality, out);
|
/test/suite_harness/common/util/src/com/android/compatibility/common/util/ |
ZipUtil.java | 43 ZipOutputStream out = null; local 46 out = new ZipOutputStream(new BufferedOutputStream(fileStream)); 47 addToZip(out, dir, new LinkedList<String>()); 55 out.close(); 62 * @param out the {@link ZipOutputStream} 67 public static void addToZip(ZipOutputStream out, File file, List<String> relativePathSegs) 75 out.putNextEntry(zipEntry); 77 writeToStream(file, out); 79 out.closeEntry(); 88 addToZip(out, subFile, relativePathSegs) [all...] |
/tools/loganalysis/tests/src/com/android/loganalysis/parser/ |
EventsLogParserTest.java | 245 BufferedWriter out = new BufferedWriter(new FileWriter(mTempFile)); local 247 out.write(line); 248 out.newLine(); 250 out.close();
|
/tools/tradefederation/core/src/com/android/tradefed/command/ |
Verify.java | 80 System.out.flush(); 115 System.out.format("Successfully parsed %d commands from cmdfile %s\n", 125 System.out.format(format, i++, cmd); 128 System.out.println();
|
/frameworks/base/services/core/java/com/android/server/ |
SystemUpdateManagerService.java | 219 XmlSerializer out = new FastXmlSerializer(); local 220 out.setOutput(fos, StandardCharsets.UTF_8.name()); 221 out.startDocument(null, true); 223 out.startTag(null, TAG_INFO); 224 outBundle.saveToXml(out); 225 out.endTag(null, TAG_INFO); 227 out.endDocument();
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
DoubleTest.java | 31 Allocation out = Allocation.createSized(rs, Element.F32(rs), big); local 33 dc.forEach_times2pi(out); 35 out.copyTo(data); 60 out.destroy();
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
TextReport.java | 32 PrintStream out = new PrintStream(outputStream); local 40 printPackage(apiPackage, out); 44 out.println(); 45 out.println(); 49 printPackage(apiPackage, out); 55 printClass(apiClass, out); 61 printConstructor(constructor, out); 67 printMethod(method, out); 75 private static void printPackage(ApiPackage apiPackage, PrintStream out) { 76 out.println(apiPackage.getName() + " [all...] |
/development/samples/Vault/src/com/example/android/vault/ |
Utils.java | 50 final OutputStream out = new FileOutputStream(file); local 52 out.write(data); 54 out.close();
|
/external/annotation-tools/asmx/src/org/objectweb/asm/ |
TypePath.java | 27 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
139 ByteVector out = new ByteVector(n);
local 140 out.putByte(0);
144 out.put11(ARRAY_ELEMENT, 0);
146 out.put11(INNER_TYPE, 0);
148 out.put11(WILDCARD_BOUND, 0);
158 out.put11(TYPE_ARGUMENT, typeArg);
161 out.data[0] = (byte) (out.length / 2);
162 return new TypePath(out.data, 0); [all...] |