/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/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...] |
/external/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/sl4a/ScriptingLayer/src/com/googlecode/android_scripting/ |
ScriptStorageAdapter.java | 55 BufferedWriter out = new BufferedWriter(stream); local 56 out.write(data); 57 out.close(); 96 // Filter out any files that don't have interpreters installed. 121 // Filter out any files that don't have interpreters installed.
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/ |
AnnotationDirectoryItem.java | 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 58 protected void annotateItem(@Nonnull AnnotatedBytes out, int itemIndex, @Nullable String itemIdentity) { 59 int classAnnotationsOffset = dexFile.readSmallUint(out.getCursor()); 60 out.annotate(4, "class_annotations_off = %s", 63 int fieldsSize = dexFile.readSmallUint(out.getCursor()); 64 out.annotate(4, "fields_size = %d", fieldsSize); 66 int annotatedMethodsSize = dexFile.readSmallUint(out.getCursor()); 67 out.annotate(4, "annotated_methods_size = %d", annotatedMethodsSize); 69 int annotatedParameterSize = dexFile.readSmallUint(out.getCursor()); 70 out.annotate(4, "annotated_parameters_size = %d", annotatedParameterSize) [all...] |
/frameworks/base/core/java/android/text/util/ |
Rfc822Tokenizer.java | 45 public static void tokenize(CharSequence text, Collection<Rfc822Token> out) { 66 out.add(new Rfc822Token(name.toString(), 70 out.add(new Rfc822Token(null, 151 out.add(new Rfc822Token(name.toString(), 155 out.add(new Rfc822Token(null, 172 ArrayList<Rfc822Token> out = new ArrayList<Rfc822Token>(); local 173 tokenize(text, out); 174 return out.toArray(new Rfc822Token[out.size()]);
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/ |
OMAScalar.java | 73 public void marshal(OutputStream out, int level) throws IOException { 74 OMAConstants.indent(level, out); 75 OMAConstants.serializeString(getName(), out); local 76 out.write((byte) '='); 77 OMAConstants.serializeString(getValue(), out); local 78 out.write((byte) '\n');
|
/frameworks/base/services/core/java/com/android/server/net/ |
DelayedDiskWrite.java | 37 public void onWriteCalled(DataOutputStream out) throws IOException; 67 DataOutputStream out = null; local 70 out = new DataOutputStream(new BufferedOutputStream( 73 w.onWriteCalled(out); 77 if (out != null) { 79 out.close();
|
/frameworks/base/services/tests/servicestests/src/com/android/internal/util/ |
FakeSettingsProvider.java | 99 Bundle out = new Bundle(); local 109 out.putString(Settings.NameValueTable.VALUE, value); 128 return out;
|
/frameworks/base/tests/backup/src/com/android/backuptest/ |
BackupTestActivity.java | 206 PrintStream out = new PrintStream(openFileOutput(name, mode)); local 207 out.print(contents); 208 out.close();
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/ |
OMAScalar.java | 73 public void marshal(OutputStream out, int level) throws IOException { 74 OMAConstants.indent(level, out); 75 OMAConstants.serializeString(getName(), out); local 76 out.write((byte) '='); 77 OMAConstants.serializeString(getValue(), out); local 78 out.write((byte) '\n');
|
/libcore/luni/src/test/java/libcore/java/text/ |
OldMessageFormatFieldTest.java | 46 ObjectOutputStream out = null; local 50 out = new ObjectOutputStream(bytes); 59 out.writeObject(mfield); 60 out.writeObject(field); 84 if (out != null) 85 out.close();
|
OldNumberFormatFieldTest.java | 46 ObjectOutputStream out = new ObjectOutputStream(bytes); local 54 out.writeObject(nfield); 55 out.writeObject(field); 68 out.close();
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
DeflaterInputStreamTest.java | 33 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 38 out.write(b); 42 assertEquals(Arrays.toString(data), Arrays.toString(inflate(out.toByteArray()))); 54 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 58 out.write(buffer, 0, count); 60 return out.toByteArray(); 67 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 72 out.write(buffer, 0, count); 76 assertEquals(Arrays.toString(data), Arrays.toString(inflate(out.toByteArray())));
|
/libcore/luni/src/test/java/libcore/xml/ |
DeclarationTest.java | 63 OutputStream out = new FileOutputStream(file); local 64 out.write(contents.getBytes("UTF-8")); 65 out.close();
|