Home
last modified time | relevance | path

Searched refs:oos (Results 1 – 16 of 16) sorted by relevance

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
DObjectOutputStreamTest.java75 private void writeObject(ObjectOutputStream oos) throws IOException { in writeObject() argument
77 ObjectOutputStream.PutField fields = oos.putFields(); in writeObject()
79 oos.writeFields(); in writeObject()
562 protected ObjectOutputStream oos; field in ObjectOutputStreamTest
575 oos.close(); in test_ConstructorLjava_io_OutputStream()
576 oos = new ObjectOutputStream(new ByteArrayOutputStream()); in test_ConstructorLjava_io_OutputStream()
577 oos.close(); in test_ConstructorLjava_io_OutputStream()
593 oos.defaultWriteObject(); in test_defaultWriteObject()
606 oos.writeByte(127); in test_flush()
608 oos.flush(); in test_flush()
[all …]
DSerializationStressTest.java90 protected transient ObjectOutputStream oos; field in SerializationStressTest
210 oos.writeObject(o); in dump()
212 oos.close(); in dump()
250 oos = new ObjectOutputStream(new FileOutputStream(xFileName in setUp()
253 oos = new ObjectOutputStream(bao = new ByteArrayOutputStream()); in setUp()
265 if (oos != null) { in tearDown()
267 oos.close(); in tearDown()
275 oos.close(); in test_1_Constructor()
276 oos = new ObjectOutputStream(new ByteArrayOutputStream()); in test_1_Constructor()
277 oos.close(); in test_1_Constructor()
[all …]
DObjectInputStreamTest.java63 ObjectOutputStream oos; field in ObjectInputStreamTest
89 private void writeObject(ObjectOutputStream oos) throws IOException { in writeObject() argument
91 ObjectOutputStream.PutField fields = oos.putFields(); in writeObject()
93 oos.writeFields(); in writeObject()
147 oos.writeDouble(Double.MAX_VALUE); in test_ConstructorLjava_io_InputStream()
148 oos.close(); in test_ConstructorLjava_io_InputStream()
151 oos.close(); in test_ConstructorLjava_io_InputStream()
166 oos.writeBytes("HelloWorld"); in test_resolveProxyClass()
167 oos.close(); in test_resolveProxyClass()
215 oos.writeBytes("HelloWorld"); in test_available()
[all …]
DObjectInputStream2Test.java42 ObjectOutputStream oos = new ObjectOutputStream(baos); in test_readUnshared() local
43 oos.writeObject("abc"); in test_readUnshared()
44 oos.writeObject("abc"); in test_readUnshared()
45 oos.close(); in test_readUnshared()
67 ObjectOutputStream oos = new ObjectOutputStream(baos); in test_readObject_Hierarchy() local
68 oos.writeObject(new B()); in test_readObject_Hierarchy()
69 oos.close(); in test_readObject_Hierarchy()
195 ObjectOutputStream oos = new ObjectOutputStream(baos); in test_resolveClass_invalidClassName() local
200 oos.writeObject(to1); in test_resolveClass_invalidClassName()
201 oos.flush(); in test_resolveClass_invalidClassName()
DObjectStreamFieldTest.java159 ObjectOutputStream oos = new ObjectOutputStream(baos); in test_getType_Deserialized() local
160 oos.writeObject(new SerializableObject()); in test_getType_Deserialized()
161 oos.close(); in test_getType_Deserialized()
180 ObjectOutputStream oos = new ObjectOutputStream(baos); in test_getType_MockObjectInputStream() local
181 oos.writeObject(new SerializableObject()); in test_getType_MockObjectInputStream()
182 oos.close(); in test_getType_MockObjectInputStream()
199 ObjectOutputStream oos = new ObjectOutputStream(baos); in test_isUnshared() local
200 oos.writeObject(obj); in test_isUnshared()
201 oos.close(); in test_isUnshared()
234 final MyObjectOutputStream oos = new MyObjectOutputStream(baos); in test_ObjectWithPrimitiveField() local
[all …]
DSerializationStressTest5.java64 oos.close(); in test_writeObject_Throwables()
/external/javassist/src/test/test/javassist/proxy/
DProxySimpleTest.java27 ObjectOutputStream oos = new ObjectOutputStream(new FileOutputStream(fileName)); in testReadWrite() local
28 oos.writeObject(data); in testReadWrite()
29 oos.close(); in testReadWrite()
/external/apache-harmony/support/src/test/java/tests/util/
DSerializationTester.java72 ObjectOutputStream oos = new ObjectOutputStream(bos); in getDeserilizedObject() local
73 oos.writeObject(inputObject); in getDeserilizedObject()
74 oos.close(); in getDeserilizedObject()
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
DCertificateFactory1Test.java444 ObjectOutputStream oos = new ObjectOutputStream(os); in testCertificateFactory11() local
445 oos.writeObject(mc); in testCertificateFactory11()
446 oos.flush(); in testCertificateFactory11()
447 oos.close(); in testCertificateFactory11()
556 ObjectOutputStream oos = new ObjectOutputStream(os); in testCertificateFactory13() local
557 oos.writeObject(mc); in testCertificateFactory13()
558 oos.flush(); in testCertificateFactory13()
559 oos.close(); in testCertificateFactory13()
/external/apache-harmony/support/src/test/java/org/apache/harmony/testframework/serialization/
DSerializationTest.java197 ObjectOutputStream oos = new ObjectOutputStream(os); in putObjectToStream() local
198 oos.writeObject(obj); in putObjectToStream()
199 oos.flush(); in putObjectToStream()
200 oos.close(); in putObjectToStream()
/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/
DSealedObjectTest.java54 ObjectOutputStream oos = new ObjectOutputStream(bos); in testReadObject() local
55 oos.writeObject(so); in testReadObject()
/external/smack/src/org/jivesoftware/smack/util/
DBase64.java471 java.io.ObjectOutputStream oos = null; in encodeObject() local
488 oos = new java.io.ObjectOutputStream( gzos ); in encodeObject()
491 oos = new java.io.ObjectOutputStream( b64os ); in encodeObject()
493 oos.writeObject( serializableObject ); in encodeObject()
502 try{ oos.close(); } catch( Exception e ){} in encodeObject()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DJSR166TestCase.java1215 ObjectOutputStream oos = new ObjectOutputStream(bos);
1216 oos.writeObject(o);
1217 oos.flush();
1218 oos.close();
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DSortedMapTestBase.java352 ObjectOutputStream oos = new ObjectOutputStream(baos); in testSerialization() local
353 oos.writeObject(map); in testSerialization()
354 oos.close(); in testSerialization()
/external/apache-harmony/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/
DPropertyChangeSupportTest.java1465 ObjectOutputStream oos = null; in writePropertyChangeListeners() local
1467 oos = new ObjectOutputStream(new FileOutputStream(tempFile)); in writePropertyChangeListeners()
1474 oos.writeObject(pcs); in writePropertyChangeListeners()
1475 oos.flush(); in writePropertyChangeListeners()
1480 if (oos != null) { in writePropertyChangeListeners()
1482 oos.close(); in writePropertyChangeListeners()
/external/chromium_org/media/test/data/
Dbear-1280x720_ptswraparound.ts5662 …��V$Jh�Mܳ\�� �C���b�`� "����L����h��1��� =��`���'�Қ�@r��+��"�S��(w��oos��%� �n�wB�~�oO'�…