/external/javassist/src/main/javassist/tools/rmi/ |
AppletServer.java | 133 public void doReply(InputStream in, OutputStream out, String cmd) 137 processRMI(in, out); 139 lookupName(cmd, in, out); 141 super.doReply(in, out, cmd); 166 ObjectOutputStream out = new ObjectOutputStream(outs); local 168 out.writeBoolean(false); 169 out.writeUTF(err.toString()); 173 out.writeBoolean(true); 174 out.writeObject(rvalue); 183 out.flush() 228 ObjectOutputStream out = new ObjectOutputStream(outs); local [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/ |
JavaSourceWriter.java | 32 * java = new JavaSourceWriter(out); 40 * java.writeStatement(call("System.out.println", string("hello"))); 48 private final PrintWriter out; field in class:JavaSourceWriter 51 public JavaSourceWriter(Writer out) { 52 this.out = new PrintWriter(out); 59 out.append("package ").append(packageName).append(';'); 68 out.append("import ").append(javaClass.getName()).append(';'); 79 out.append("// ").append(comment); 85 out.append("public class ") [all...] |
/external/mockito/cglib-and-asm/src/org/mockito/cglib/transform/ |
AbstractTransformTask.java | 138 ZipOutputStream out = new ZipOutputStream(fout); local 175 out.putNextEntry(outEntry); 176 out.write(bytes); 177 out.closeEntry(); 181 out.close(); 229 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 230 out.write(w.toByteArray()); 231 return out.toByteArray();
|
/external/okhttp/okio/src/test/java/okio/ |
RealBufferedSinkTest.java | 30 OutputStream out = new RealBufferedSink(sink).outputStream(); local 31 out.write('a'); 32 out.write(repeat('b', 9998).getBytes(UTF_8)); 33 out.write('c'); 34 out.flush(); 40 OutputStream out = new RealBufferedSink(sink).outputStream(); local 42 out.write(new byte[100], 50, 51);
|
/external/svox/PicoLangInstallerDeuDeu/src/com/svox/pico/voice/deu/deu/ |
InstallerActivity.java | 71 FileOutputStream out; local 92 out = new FileOutputStream(outputFile); 100 out.write(buf, 0, numread); 103 out.close();
|
/external/svox/PicoLangInstallerEngGbr/src/com/svox/pico/voice/eng/gbr/ |
InstallerActivity.java | 71 FileOutputStream out; local 92 out = new FileOutputStream(outputFile); 100 out.write(buf, 0, numread); 103 out.close();
|
/external/svox/PicoLangInstallerEngUsa/src/com/svox/pico/voice/eng/usa/ |
InstallerActivity.java | 71 FileOutputStream out; local 92 out = new FileOutputStream(outputFile); 100 out.write(buf, 0, numread); 103 out.close();
|
/external/svox/PicoLangInstallerFraFra/src/com/svox/pico/voice/fra/fra/ |
InstallerActivity.java | 71 FileOutputStream out; local 92 out = new FileOutputStream(outputFile); 100 out.write(buf, 0, numread); 103 out.close();
|
/external/svox/PicoLangInstallerItaIta/src/com/svox/pico/voice/ita/ita/ |
InstallerActivity.java | 71 FileOutputStream out; local 92 out = new FileOutputStream(outputFile); 100 out.write(buf, 0, numread); 103 out.close();
|
/external/svox/PicoLangInstallerSpaEsp/src/com/svox/pico/voice/spa/esp/ |
InstallerActivity.java | 71 FileOutputStream out; local 92 out = new FileOutputStream(outputFile); 100 out.write(buf, 0, numread); 103 out.close();
|
/external/svox/picolanginstaller/src/com/svox/langpack/installer/ |
InstallerActivity.java | 72 FileOutputStream out; local 93 out = new FileOutputStream(outputFile); 101 out.write(buf, 0, numread); 104 out.close();
|
/frameworks/base/core/java/android/app/backup/ |
FullBackup.java | 100 FileOutputStream out = null; local 111 out = new FileOutputStream(outFile); 128 if (out != null) { 130 out.write(buffer, 0, got); 135 out.close(); 136 out = null; 142 if (out != null) out.close();
|
/frameworks/base/core/java/android/os/ |
PersistableBundle.java | 179 public void writeUnknownObject(Object v, String name, XmlSerializer out) 182 out.startTag(null, TAG_PERSISTABLEMAP); 183 out.attribute(null, "name", name); 184 ((PersistableBundle) v).saveToXml(out); 185 out.endTag(null, TAG_PERSISTABLEMAP); 192 public void saveToXml(XmlSerializer out) throws IOException, XmlPullParserException { 194 XmlUtils.writeMapXml(mMap, out, this);
|
/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/obex/javax/obex/ |
ClientSession.java | 29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 418 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 419 out.write((byte)opCode); 423 out.write(0x00); 424 out.write(0x03); 426 out.write((byte)((head.length + 3) >> 8)); 427 out.write((byte)(head.length + 3)); 428 out.write(head); 432 mOutput.write(out.toByteArray()); 500 out.write((byte)HeaderSet.AUTH_RESPONSE) [all...] |
/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/test-runner/src/junit/runner/ |
TestCaseClassLoader.java | 143 ByteArrayOutputStream out= new ByteArrayOutputStream(1000); local 147 out.write(b, 0, n); 149 out.close(); 150 return out.toByteArray();
|
/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...] |
/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/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/Browser/src/com/android/browser/ |
BrowserBackupAgent.java | 42 * out of the agent; the calling code handles it and the backup operation 87 * the backup service, parses that out, and rebuilds the bookmarks table in the 192 FileOutputStream out = new FileOutputStream(file); local 198 out.write(buf, 0, numRead); 202 if (out != null) { 203 out.close(); 212 DataOutputStream out = new DataOutputStream( local 215 out.writeLong(fileSize); 216 out.writeLong(crc); 217 out.writeInt(BACKUP_AGENT_VERSION) [all...] |
/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();
|