HomeSort by relevance Sort by last modified time
    Searched defs:out (Results 176 - 200 of 3043) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/guide/
GetExample.java 15 System.out.println(result);
32 ByteArrayOutputStream out = new ByteArrayOutputStream(); local
35 out.write(buffer, 0, count);
37 return out.toByteArray();
PostExample.java 18 System.out.println(result);
23 OutputStream out = null; local
28 out = connection.getOutputStream();
29 out.write(body);
30 out.close();
41 if (out != null) out.close();
  /external/owasp/sanitizer/src/tests/org/owasp/html/
VerboseTestRunner.java 26 // ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
43 final PrintStream out; field in class:VerboseTestRunner
46 out = System.out;
47 setPrinter(new VerboseResultPrinter(out));
52 VerboseResultPrinter(PrintStream out) {
53 super(out);
58 out.println("Started " + test);
59 out.flush();
66 out.println("ended " + test)
    [all...]
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
Latin1Converter.java 77 ByteBuffer out = new ByteBuffer(buffer.length() * 4 / 3); local
90 out.append((byte) b);
108 out.append(utf8);
121 out.append(readAheadBuffer, 0, readAhead);
132 out.append(utf8);
151 out.append(utf8);
155 return out;
  /frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DeviceOwnerTest.java 39 DeviceOwner out = new DeviceOwner(null, mOutputStreamForTest); local
40 out.setDeviceOwner("some.device.owner.package", "owner");
41 out.writeOwnerFile();
54 DeviceOwner out = new DeviceOwner(null, mOutputStreamForTest); local
55 out.setProfileOwner("some.profile.owner.package", "some-company", 1);
56 out.writeOwnerFile();
70 DeviceOwner out = new DeviceOwner(null, mOutputStreamForTest); local
71 out.setDeviceOwner("some.device.owner.package", "owner");
72 out.setProfileOwner("some.profile.owner.package", "some-company", 1);
73 out.setProfileOwner("some.other.profile.owner", "some-other-company", 2)
    [all...]
  /libcore/dalvik/src/main/java/dalvik/system/profiler/
AsciiHprofWriter.java 35 private final PrintWriter out; field in class:AsciiHprofWriter
46 this.out = new PrintWriter(outputStream);
51 out.println(e);
62 out.printf("TRACE %d: (thread=%d)\n",
66 out.printf("\t%s\n", e);
71 out.printf("CPU SAMPLES BEGIN (total = %d) %ta %tb %td %tT %tY\n",
73 out.printf("rank self accum count trace method\n");
84 out.printf("% 4d% 6.2f%%% 6.2f%% % 7d % 5d %s.%s\n",
89 out.printf("CPU SAMPLES END\n");
90 out.flush()
    [all...]
  /libcore/luni/src/main/java/java/io/
BufferedOutputStream.java 50 * Constructs a new {@code BufferedOutputStream}, providing {@code out} with a buffer
53 * @param out the {@code OutputStream} the buffer writes to.
55 public BufferedOutputStream(OutputStream out) {
56 this(out, 8192);
60 * Constructs a new {@code BufferedOutputStream}, providing {@code out} with {@code size} bytes
63 * @param out the {@code OutputStream} the buffer writes to.
67 public BufferedOutputStream(OutputStream out, int size) {
68 super(out);
76 * Flushes this stream to ensure all pending data is written out to the
86 out.flush()
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/security/asn1/
ASN1Explicit.java 78 public void encodeContent(BerOutputStream out) {
79 out.encodeExplicit(this);
82 public void setEncodingContent(BerOutputStream out) {
83 out.getExplicitLength(this);
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/
AlgNameMapperTest.java 52 PrintStream out = new PrintStream(errBuffer); local
68 out.append("Error encountered checking " + HARDCODED_ALIASES[i][1] + "\n");
69 e.printStackTrace(out);
73 out.flush();
86 PrintStream out = new PrintStream(errBuffer); local
99 out.append("Error encountered checking " + HARDCODED_ALIASES[i][1] + "\n");
100 e.printStackTrace(out);
104 out.flush();
  /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/
MemoryBinaryBody.java 29 //BEGIN android-changed: Stubbing out logging
59 ByteArrayOutputStream out = new ByteArrayOutputStream(); local
60 IOUtils.copy(is, out);
61 out.close();
62 tempFile = out.toByteArray();
89 public void writeTo(OutputStream out) throws IOException {
90 IOUtils.copy(getInputStream(),out); local
MemoryTextBody.java 32 //BEGIN android-changed: Stubbing out logging
64 ByteArrayOutputStream out = new ByteArrayOutputStream(); local
65 IOUtils.copy(is, out);
66 out.close();
67 tempFile = out.toByteArray();
115 public void writeTo(OutputStream out) throws IOException {
116 IOUtils.copy(new ByteArrayInputStream(tempFile), out);
TempFileBinaryBody.java 27 //BEGIN android-changed: Stubbing out logging
59 OutputStream out = tempFile.getOutputStream(); local
60 IOUtils.copy(is, out);
61 out.close();
88 public void writeTo(OutputStream out) throws IOException {
89 IOUtils.copy(getInputStream(),out); local
TempFileTextBody.java 30 //BEGIN android-changed: Stubbing out logging
64 OutputStream out = tempFile.getOutputStream(); local
65 IOUtils.copy(is, out);
66 out.close();
114 public void writeTo(OutputStream out) throws IOException {
115 IOUtils.copy(tempFile.getInputStream(), out); local
  /frameworks/base/core/tests/coretests/src/com/android/internal/os/
LoggingPrintStreamTest.java 34 TestPrintStream out = new TestPrintStream(); field in class:LoggingPrintStreamTest
43 t.printStackTrace(out);
47 assertEquals(Arrays.asList(lines), out.lines);
52 out.print(4);
53 out.print(o);
54 out.print(2);
55 out.flush();
56 assertEquals(Arrays.asList("4" + o + "2"), out.lines);
61 out.print(4);
62 out.println(o)
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
PipedOutputStreamTest.java 36 public PReader(PipedOutputStream out) {
38 reader = new PipedInputStream(out);
40 System.out.println("Couldn't start reader");
68 System.out.println("Exception reading info");
78 PipedOutputStream out; field in class:PipedOutputStreamTest
91 out = new PipedOutputStream(new PipedInputStream());
92 out.write('b');
99 out = new PipedOutputStream();
100 rt = new Thread(reader = new PReader(out));
102 out.close()
177 PipedOutputStream out = new PipedOutputStream(pis); local
    [all...]
  /cts/common/host-side/xml-plan-generator/tests/src/com/android/compatibility/common/xmlgenerator/
XmlPlanGeneratorTest.java 29 private static final String JAR = "out/host/linux-x86/framework/compatibility-xml-plan-generator_v2.jar";
105 final PrintWriter out = new PrintWriter(p.getOutputStream()); local
106 out.print(input);
107 out.flush();
108 out.close();
  /cts/suite/cts/hostTests/jank/app/src/com/android/cts/jank/
CtsJankTestBase.java 51 Scanner out = null; local
58 out = new Scanner(p.getInputStream());
62 if (out.hasNextLine()) {
63 outStr.append(out.nextLine());
89 if (out != null) {
90 out.close();
  /cts/tests/tests/security/src/android/security/cts/
ServicePermissionsTest.java 99 final FileOutputStream out = new FileOutputStream(mTempFile); local
101 serviceBinder.dump(out.getFD(), new String[0]);
115 out.close();
  /cts/tests/tests/speech/src/android/speech/tts/cts/
TextToSpeechServiceTest.java 81 FileOutputStream out = new FileOutputStream(sampleFile); local
82 out.write(new byte[] { 0x01, 0x02 });
83 out.close();
  /cts/tests/tests/text/src/android/text/cts/
AnnotationTest.java 72 Annotation out = new Annotation(dest); local
73 assertEquals(out.getKey(), mAnnotation.getKey());
74 assertEquals(out.getValue(), mAnnotation.getValue());
76 assertEquals(0, out.describeContents());
  /external/apache-harmony/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...]
  /external/apache-http/src/org/apache/http/impl/io/
ChunkedOutputStream.java 53 private final SessionOutputBuffer out; field in class:ChunkedOutputStream
67 * @param out the session output buffer to wrap
71 public ChunkedOutputStream(final SessionOutputBuffer out, int bufferSize)
75 this.out = out;
82 * @param out the output buffer to wrap
85 public ChunkedOutputStream(final SessionOutputBuffer out)
87 this(out, 2048);
92 * Writes the cache out onto the underlying stream
97 this.out.writeLine(Integer.toHexString(this.cachePosition))
    [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();
  /external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/spdy/
SpdyServer.java 71 System.out.println("UNSUPPORTED");
77 System.out.println("PROTOCOL SELECTED: " + protocol);
113 BufferedSink out = Okio.buffer(stream.getSink()); local
114 out.writeUtf8("Not found: " + path);
115 out.close();
123 BufferedSink out = Okio.buffer(stream.getSink()); local
125 out.writeUtf8("<a href='" + file + "'>" + file + "</a><br>");
127 out.close();
136 BufferedSink out = Okio.buffer(stream.getSink()); local
140 out.write(buffer, 0, count)
    [all...]

Completed in 156 milliseconds

1 2 3 4 5 6 78 91011>>