Home
last modified time | relevance | path

Searched refs:readObject (Results 1 – 25 of 141) sorted by relevance

123456

/libcore/luni/src/test/java/libcore/java/io/
DOldObjectInputStreamGetFieldTest.java71 Support_GetPutFields object = (Support_GetPutFields) ois.readObject(); in test_get()
81 (Support_GetPutFieldsDefaulted) ois.readObject(); in test_get()
99 Support_GetPutFields object = (Support_GetPutFields) ois.readObject(); in test_defaultedLjava_lang_String()
113 (Support_GetPutFieldsDefaulted) ois.readObject(); in test_defaultedLjava_lang_String()
123 Support_GetPutFields object = (Support_GetPutFields) ois.readObject(); in test_getException()
239 Support_GetPutFields object = (Support_GetPutFields) ois.readObject(); in test_getObjectStreamClass()
DObjectOutputStreamTest.java54 private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException { in readObject() method in ObjectOutputStreamTest.CallsCloseInWriteObjectMethod
55 message = (String) ois.readObject(); in readObject()
107 read = (Serializable) ois.readObject(); in roundTrip()
DOldObjectOutputStreamTest.java50 private void readObject(ObjectInputStream ois) throws IOException { in readObject() method in OldObjectOutputStreamTest.SerializableTestHelper
255 sth = (SerializableTestHelper) (ois.readObject()); in test_putFields()
282 assertEquals("Test 2: Incorrect object read.", o, ois.readObject()); in test_reset()
283 assertEquals("Test 3: Incorrect object read.", o, ois.readObject()); in test_reset()
284 assertEquals("Test 4: Incorrect object read.", o, ois.readObject()); in test_reset()
412 return ois.readObject(); in reload()
DOldAndroidSerializationTest.java41 Object o = new ObjectInputStream(bin).readObject(); in testSerialization()
/libcore/support/src/test/java/tests/util/
DSerializationTester.java54 Object outputObject = ois.readObject(); in getDeserilizedObject()
93 return obj == readObject(obj, fileName); in assertCompabilitySame()
107 return obj.equals(readObject(obj, fileName)); in assertCompabilityEquals()
118 public static Object readObject(Object obj, String fileName) in readObject() method in SerializationTester
132 Object newObj = oinput.readObject(); in readObject()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DObjectOutputStreamTest.java66 private void readObject(ObjectInputStream ois) throws IOException { in readObject() method in ObjectOutputStreamTest.SerializableTestHelper
170 private void readObject(java.io.ObjectInputStream in) in readObject() method in ObjectOutputStreamTest.ReadWriteObject
173 in.readObject(); in readObject()
192 public void readObject(java.io.ObjectInputStream in) in readObject() method in ObjectOutputStreamTest.PublicReadWriteObject
195 in.readObject(); in readObject()
222 private void readObject(java.io.ObjectInputStream in) in readObject() method in ObjectOutputStreamTest.JustReadObject
318 private void readObject(java.io.ObjectInputStream in) in readObject() method in ObjectOutputStreamTest.MyExceptionWhenDumping
352 private void readObject(java.io.ObjectInputStream in) in readObject() method in ObjectOutputStreamTest.MyUnserializableExceptionWhenDumping
399 private void readObject(java.io.ObjectInputStream in) in readObject() method in ObjectOutputStreamTest.SerialPersistentFields
427 private void readObject(java.io.ObjectInputStream in) in readObject() method in ObjectOutputStreamTest.WriteFieldsWithoutFetchingPutFields
[all …]
DStreamCorruptedExceptionTest.java37 ois.readObject(); in test_Constructor()
56 ois.readObject(); in test_ConstructorLjava_lang_String()
DSerializationStressTest.java237 return ois.readObject(); in reload()
581 obj1 = ois.readObject(); in test_25_available()
583 obj2 = ois.readObject(); in test_25_available()
620 String l1 = (String) ois.readObject(); in t_MixPrimitivesAndObjects()
626 byte[] bytes2 = (byte[]) ois.readObject(); in t_MixPrimitivesAndObjects()
640 ois.readObject(); in test_resolveClass()
671 assertEquals("Wrong result from readObject()", "R", ois.readObject()); in test_reset()
716 result = (ResolveObjectTest) ois.readObject(); in test_1_resolveObject()
740 result = (ResolveObjectTest) ois.readObject(); in test_2_resolveObject()
764 result = (ResolveObjectTest) ois.readObject(); in test_3_resolveObject()
[all …]
DObjectStreamFieldTest.java167 SerializableObject obj = (SerializableObject) ois.readObject(); in test_getType_Deserialized()
188 ois.readObject(); in test_getType_MockObjectInputStream()
206 SerializableObject2 newObj = (SerializableObject2) ois.readObject(); in test_isUnshared()
240 ois.readObject(); in test_ObjectWithPrimitiveField()
279 private void readObject(ObjectInputStream in) throws NotActiveException, in readObject() method in SerializableObject
343 private void readObject(ObjectInputStream in) throws NotActiveException, in readObject() method in SerializableObject2
DObjectInputStream2Test.java50 ois.readObject(); in test_readUnshared()
73 B b = (B) ois.readObject(); in test_readObject_Hierarchy()
207 ois.readObject(); in test_resolveClass_invalidClassName()
DObjectOutputStream2Test.java55 Object readObj = is.readObject(); in test_writeReadEnum()
/libcore/luni/src/test/java/libcore/java/text/
DOldNumberFormatFieldTest.java58 NumberFormat.Field nfield2 = (NumberFormat.Field) in.readObject(); in test_readResolve()
62 in.readObject(); in test_readResolve()
DOldMessageFormatFieldTest.java66 mfield2 = (MessageFormat.Field) in.readObject(); in test_readResolve()
73 in.readObject(); in test_readResolve()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
DObjectInputStreamTest.java74 private void readObject(ObjectInputStream ois) throws Exception { in readObject() method in ObjectInputStreamTest.SerializableTestHelper
163 Object obj = ois.readObject(); in test_ClassDescriptor()
792 sth = (SerializableTestHelper) (ois.readObject()); in test_readFields()
858 assertEquals("Read incorrect Object value", s, ois.readObject()); in test_readObject()
931 Object o = ois.readObject(); in test_readObject()
935 assertNull(new ObjectInputStream() {}.readObject()); in test_readObject()
947 in.readObject(); in test_readObjectCorrupt()
1009 Test another = (Test) in.readObject(); in test_readObject_withPrimitiveClass()
1087 .readObject(); in test_resolveClass()
1130 Integer actual = (Integer) ois.readObject(); in test_resolveObjectLjava_lang_Object()
[all …]
/libcore/ojluni/src/main/java/java/security/
DSignedObject.java180 Object obj = a.readObject(); in getObject()
251 private void readObject(java.io.ObjectInputStream s) in readObject() method in SignedObject
/libcore/ojluni/src/main/java/java/io/
DObjectInput.java50 public Object readObject() in readObject() method
DUncheckedIOException.java82 private void readObject(ObjectInputStream s) in readObject() method in UncheckedIOException
/libcore/ojluni/src/main/java/java/util/
DHashSet.java291 private void readObject(java.io.ObjectInputStream s) in readObject() method in HashSet
308 E e = (E) s.readObject(); in readObject()
DInvalidPropertiesFormatException.java84 private void readObject(java.io.ObjectInputStream in) in readObject() method in InvalidPropertiesFormatException
/libcore/ojluni/src/main/java/javax/crypto/
DSealedObject.java304 Object obj = a.readObject(); in getObject()
436 Object obj = a.readObject(); in unseal()
448 private void readObject(java.io.ObjectInputStream s) in readObject() method in SealedObject
/libcore/ojluni/src/main/java/java/util/prefs/
DNodeChangeEvent.java96 private void readObject(java.io.ObjectInputStream in) in readObject() method in NodeChangeEvent
DPreferenceChangeEvent.java117 private void readObject(java.io.ObjectInputStream in) in readObject() method in PreferenceChangeEvent
/libcore/ojluni/src/main/java/java/security/cert/
DCertificateRevokedException.java215 private void readObject(ObjectInputStream ois) in readObject() method in CertificateRevokedException
235 String oid = (String) ois.readObject(); in readObject()
/libcore/ojluni/src/main/java/javax/security/auth/x500/
DX500Principal.java491 private void readObject(java.io.ObjectInputStream s) in readObject() method in X500Principal
497 thisX500Name = new X500Name((byte[])s.readObject()); in readObject()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDataFormatFieldTest.java197 dfield2 = (Field) in.readObject(); in test_readResolve()
204 in.readObject(); in test_readResolve()

123456