/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 | 95 Writer out = create(); local 96 out.close(); 103 Writer out = create(); local 105 out.write(a, 1000, 0); 106 out.write(a, 0, 0); 107 out.write(new char[] {}); 109 out.close(); 116 Writer out = create(); local 118 out.write(c); 121 out.close() 128 Writer out = create(); local 140 Writer out = create(); local 171 Writer out = create(); local 180 Writer out = create(); local 195 Writer out = create(); local [all...] |
SinkTester.java | 96 OutputStream out = create(); local 97 out.close(); 104 OutputStream out = create(); local 106 out.write(a, 1000, 0); 107 out.write(a, 0, 0); 108 out.write(new byte[] {}); 110 out.close(); 117 OutputStream out = create(); local 119 out.write(b); 122 out.close() 133 OutputStream out = create(); local 155 OutputStream out = create(); local 183 OutputStream out = create(); local 192 OutputStream out = create(); local 207 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...] |
/libcore/luni/src/main/java/java/io/ |
OutputStreamWriter.java | 40 private final OutputStream out; field in class:OutputStreamWriter 47 * Constructs a new OutputStreamWriter using {@code out} as the target 51 * @param out 54 public OutputStreamWriter(OutputStream out) { 55 this(out, Charset.defaultCharset()); 59 * Constructs a new OutputStreamWriter using {@code out} as the target 64 * @param out 73 public OutputStreamWriter(OutputStream out, final String charsetName) 75 super(out); 79 this.out = out [all...] |
PrintStream.java | 50 * Constructs a new {@code PrintStream} with {@code out} as its target 54 * @param out 57 * if {@code out} is {@code null}. 59 public PrintStream(OutputStream out) { 60 super(out); 61 if (out == null) { 62 throw new NullPointerException("out == null"); 67 * Constructs a new {@code PrintStream} with {@code out} as its target 72 * @param out 78 * if {@code out} is {@code null} [all...] |
/libcore/luni/src/main/java/java/util/zip/ |
DeflaterOutputStream.java | 118 out.write(buf, 0, byteCount); 138 out.close(); 155 out.write(buf, 0, byteCount); 194 out.write(buf, 0, byteCount); 197 out.flush();
|
InflaterOutputStream.java | 41 * implementation-defined default internal buffer size. {@code out} is a destination 44 * @param out the destination {@code OutputStream} 46 public InflaterOutputStream(OutputStream out) { 47 this(out, new Inflater()); 52 * implementation-defined default internal buffer size. {@code out} is a destination 55 * @param out the destination {@code OutputStream} 58 public InflaterOutputStream(OutputStream out, Inflater inf) { 59 this(out, inf, DEFAULT_BUFFER_SIZE); 64 * given internal buffer size. {@code out} is a destination 67 * @param out the destination {@code OutputStream [all...] |
/libcore/luni/src/main/java/libcore/net/ |
UriCodec.java | 158 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 167 out.write((byte) ((d1 << 4) + d2)); 172 out.write(replacement, 0, replacement.length); 176 result.append(new String(out.toByteArray(), charset)); 177 out.reset();
|
/libcore/luni/src/test/java/libcore/javax/net/ |
ServerSocketFactoryTest.java | 80 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 81 transfer(in, out); 82 assertEquals(Arrays.toString(data), Arrays.toString(out.toByteArray())); 107 System.out.println("backlog peaked at " + peak); 124 private void transfer(InputStream in, ByteArrayOutputStream out) throws IOException { 128 out.write(buffer, 0, count);
|
/libcore/support/src/test/java/tests/support/ |
Support_TestWebData.java | 108 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 113 out.write(in.read()); 116 out.flush(); 117 test0Data = out.toByteArray(); 118 out.close(); 129 if (out != null) { 130 out.close();
|
/packages/apps/Exchange/src/com/android/exchange/utility/ |
UriCodec.java | 173 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 187 out.write((byte) ((d1 << 4) + d2)); 190 result.append(new String(out.toByteArray(), charset)); 191 out.reset();
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
ItemInfo.java | 160 ByteArrayOutputStream out = new ByteArrayOutputStream(size); local 162 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out); 163 out.flush(); 164 out.close(); 165 return out.toByteArray();
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
ItemInfo.java | 153 ByteArrayOutputStream out = new ByteArrayOutputStream(size); local 155 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out); 156 out.flush(); 157 out.close(); 158 return out.toByteArray();
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
ReportExporter.java | 70 ZipOutputStream out = null; local 72 out = new ZipOutputStream(new BufferedOutputStream(new FileOutputStream(reportFile))); 74 out.putNextEntry(entry); 75 out.write(contents); 81 if (out != null) { 82 out.close();
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
TextReport.java | 31 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/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/ |
LiteTest.java | 28 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 131 ObjectOutputStream out = new ObjectOutputStream(baos); local 133 out.writeObject(expected); 135 out.close();
|
/external/emma/core/java12/com/vladium/util/ |
Descriptors.java | 100 final StringBuffer out = new StringBuffer (); local 107 out.append (className); 109 out.append (methodVMName); 116 out.append (methodVMName); 122 out.append (" ("); 128 if (start > 1) out.append (", "); 129 start = typeDescriptorToJavaName (chars, start, shortTypeNames, out); 135 out.append ("): "); 137 typeDescriptorToJavaName (chars, end + 1, shortTypeNames, out); 141 out.append (')') [all...] |
/external/javassist/sample/evolve/ |
DemoServer.java | 47 public void doReply(InputStream in, OutputStream out, String cmd)
51 runJava(out);
72 super.doReply(in, out, cmd);
76 OutputStreamWriter out = new OutputStreamWriter(outs);
local 77 out.write("HTTP/1.0 200 OK\r\n\r\n");
79 page.show(out);
80 out.close();
|
/external/jmonkeyengine/engine/src/core/com/jme3/animation/ |
Animation.java | 29 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 189 OutputCapsule out = ex.getCapsule(this); local 190 out.write(name, "name", null); 191 out.write(length, "length", 0f); 192 out.write(tracks, "tracks", null);
|
Pose.java | 29 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 112 OutputCapsule out = e.getCapsule(this); local 113 out.write(name, "name", ""); 114 out.write(targetMeshIndex, "meshIndex", -1); 115 out.write(offsets, "offsets", null); 116 out.write(indices, "indices", null);
|
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/ |
Line.java | 29 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 109 OutputCapsule out = ex.getCapsule(this); local 111 out.write(start, "startVertex", null); 112 out.write(end, "endVertex", null);
|
/external/objenesis/tck/test/org/objenesis/tck/ |
TextReporterTest.java | 71 PrintStream out = new PrintStream(expectedSummaryBuffer); local 72 out.println("Running TCK on platform: Some platform"); 73 out.println(); 74 out.println("Not serializable parent constructor called: Y"); 75 out.println(); 76 out.println(" instantiator1 instantiator2 instantiator3 "); 77 out.println("candidate A n n Y "); 78 out.println("candidate B Y n Y "); 79 out.println("candidate C n n Y "); 80 out.println() [all...] |