Searched refs:oos (Results 1 - 25 of 27) sorted by relevance

12

/dalvik/libcore/support/src/test/java/tests/util/
H A DFieldTestFileGenerator.java43 ObjectOutputStream oos = null;
58 oos = new ObjectOutputStream(fos);
59 oos.writeObject(toSerialize);
60 oos.close();
73 oos = new ObjectOutputStream(fos);
74 oos.writeObject(toSerializeDeprecated);
75 oos.close();
88 oos = new ObjectOutputStream(fos);
89 oos.writeObject(toSerializeDefaulted);
90 oos
[all...]
H A DSerializationTester.java72 ObjectOutputStream oos = new ObjectOutputStream(bos);
73 oos.writeObject(inputObject);
74 oos.close();
/dalvik/libcore/luni/src/test/java/tests/api/java/io/
H A DSerializationStressTest0.java81 oos.close();
82 oos = new ObjectOutputStream(new ByteArrayOutputStream());
83 oos.close();
98 oos.close();
99 oos = new ObjectOutputStream(bao = new ByteArrayOutputStream());
100 oos.close();
101 oos.writeChar('T');
102 oos.writeObject(FOO);
121 oos.defaultWriteObject();
140 oos
[all...]
H A DObjectOutputStreamTest.java100 private void writeObject(ObjectOutputStream oos) throws IOException { argument
102 ObjectOutputStream.PutField fields = oos.putFields();
104 oos.writeFields();
602 protected ObjectOutputStream oos; field in class:ObjectOutputStreamTest
628 oos = new BasicObjectOutputStream();
647 oos.close();
648 oos = new ObjectOutputStream(new ByteArrayOutputStream());
649 oos.close();
652 oos = new ObjectOutputStream(null);
660 oos
[all...]
H A DObjectInputStreamTest.java59 ObjectOutputStream oos; field in class:ObjectInputStreamTest
102 oos.writeDouble(Double.MAX_VALUE);
103 oos.close();
106 oos.close();
124 oos.writeObject(testString);
125 oos.close();
156 ObjectOutputStreamWithWriteDesc oos = new ObjectOutputStreamWithWriteDesc(
158 oos.writeObject(String.class);
159 oos.close();
179 oos
1128 writeObject(ObjectOutputStream oos) argument
[all...]
H A DObjectOutputStreamPutFieldTest.java137 ObjectOutputStream oos = null;
146 oos = new ObjectOutputStream(baos);
148 oos.writeObject(toSerialize);
154 if (oos != null) oos.close();
168 ObjectOutputStream oos = null;
177 oos = new ObjectOutputStream(baos);
179 oos.writeObject(toSerialize);
185 if (oos != null) oos
[all...]
H A DSerializationStressTest.java84 protected transient ObjectOutputStream oos; field in class:SerializationStressTest
95 oos.writeInt(i);
96 oos.writeObject(s1);
97 oos.writeUTF(s2);
98 oos.writeObject(bytes);
99 oos.close();
228 oos.writeObject(o);
230 oos.close();
271 oos = new ObjectOutputStream(new FileOutputStream(xFileName
274 oos
[all...]
H A DObjectStreamFieldTest.java307 ObjectOutputStream oos = new ObjectOutputStream(baos);
308 oos.writeObject(new SerializableObject());
309 oos.close();
350 ObjectOutputStream oos = new ObjectOutputStream(baos);
351 oos.writeObject(new SerializableObject());
352 oos.close();
398 ObjectOutputStream oos = new ObjectOutputStream(baos);
399 oos.writeObject(obj);
400 oos.close();
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
H A DObjectInputStreamTest.java48 ObjectOutputStream oos; field in class:ObjectInputStreamTest
56 oos = new ObjectOutputStream(bao = new ByteArrayOutputStream());
66 oos.writeObject(testString);
67 oos.writeObject(testString);
68 oos.writeInt(42);
69 oos.close();
99 oos.close();
123 oos.close();
150 ObjectOutputStream oos = new ObjectOutputStream(baos);
151 oos
[all...]
/dalvik/libcore/security/src/test/java/tests/security/permissions/
H A DJavaIoObjectInputStreamTest.java106 ObjectOutputStream oos = new ObjectOutputStream(new FileOutputStream(f));
107 oos.writeObject(new Node());
108 oos.flush();
109 oos.close();
187 ObjectOutputStream oos = new ObjectOutputStream(new FileOutputStream(f));
188 oos.writeObject(new Node());
189 oos.flush();
190 oos.close();
/dalvik/libcore/luni/src/test/java/com/google/coretests/
H A DCoreTestIsolator.java98 ObjectOutputStream oos = new ObjectOutputStream(fos);
100 oos.writeObject(throwable);
102 oos.flush();
103 oos.close();
/dalvik/libcore/security/src/main/java/java/security/
H A DSignedObject.java77 ObjectOutputStream oos = new ObjectOutputStream(baos);
80 oos.writeObject(object);
81 oos.flush();
83 oos.close();
H A DCodeSource.java569 private void writeObject(ObjectOutputStream oos) throws IOException { argument
571 oos.defaultWriteObject();
574 oos.writeInt(0);
576 oos.writeInt(certs.length);
579 oos.writeUTF(certs[i].getType());
582 oos.writeInt(data.length);
583 oos.write(data);
591 oos.writeObject(signers);
/dalvik/libcore/support/src/test/java/tests/support/
H A DSupport_GetPutFields.java120 private void writeObject(ObjectOutputStream oos) throws IOException { argument
121 putField = oos.putFields();
131 oos.writeFields();
H A DSupport_GetPutFieldsDefaulted.java132 private void writeObject(ObjectOutputStream oos) throws IOException { argument
133 putField = oos.putFields();
136 oos.writeFields();
H A DSupport_GetPutFieldsDeprecated.java121 private void writeObject(ObjectOutputStream oos) throws IOException { argument
122 putField = oos.putFields();
132 putField.write(oos);
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/provider/crypto/
H A DSHA1PRNG_SecureRandomImpl.java414 private void writeObject(ObjectOutputStream oos) throws IOException { argument
423 oos.writeLong(seedLength);
424 oos.writeLong(counter);
425 oos.writeInt(state);
426 oos.writeInt(seed[BYTES_OFFSET]);
477 oos.writeInt(intData[i]);
480 oos.writeInt(nextBIndex);
481 oos.write(nextBytes, nextBIndex, HASHBYTES_TO_USE - nextBIndex);
/dalvik/libcore/luni-kernel/src/main/java/org/apache/harmony/lang/annotation/
H A DAnnotationMember.java312 ObjectOutputStream oos = new ObjectOutputStream(bos);
313 oos.writeObject(error);
314 oos.flush();
315 oos.close();
/dalvik/libcore/awt-kernel/src/main/java/java/beans/
H A DPropertyChangeSupport.java363 private void writeObject(ObjectOutputStream oos) throws IOException { argument
401 oos.writeObject(children);
407 oos.writeObject(source);
409 oos.writeInt(propertyChangeSupportSerializedDataVersion);
/dalvik/libcore/support/src/test/java/org/apache/harmony/testframework/serialization/
H A DSerializationTest.java215 ObjectOutputStream oos = new ObjectOutputStream(os);
216 oos.writeObject(obj);
217 oos.flush();
218 oos.close();
/dalvik/libcore/crypto/src/main/java/javax/crypto/
H A DSealedObject.java94 ObjectOutputStream oos = new ObjectOutputStream(bos);
95 oos.writeObject(object);
96 oos.flush();
/dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
H A DSealedObjectTest.java82 ObjectOutputStream oos = new ObjectOutputStream(bos);
83 oos.writeObject(so);
/dalvik/libcore/security/src/test/java/tests/security/cert/
H A DCertificateFactory1Test.java542 ObjectOutputStream oos = new ObjectOutputStream(os);
543 oos.writeObject(mc);
544 oos.flush();
545 oos.close();
681 ObjectOutputStream oos = new ObjectOutputStream(os);
682 oos.writeObject(mc);
683 oos.flush();
684 oos.close();
/dalvik/libcore/text/src/main/java/java/text/
H A DDateFormatSymbols.java139 private void writeObject(ObjectOutputStream oos) throws IOException { argument
143 oos.defaultWriteObject();
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/
H A DCopyOnWriteArrayList.java1150 * @param oos ObjectOutputStream to write object to.
1153 private void writeObject(ObjectOutputStream oos) throws IOException { argument
1156 oos.defaultWriteObject();
1157 oos.writeInt(size);
1159 oos.writeObject(back[i]);

Completed in 524 milliseconds

12