Home
last modified time | relevance | path

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

12345

/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()
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()
795 sth = (SerializableTestHelper) (ois.readObject()); in test_readFields()
861 assertEquals("Read incorrect Object value", s, ois.readObject()); in test_readObject()
934 Object o = ois.readObject(); in test_readObject()
938 assertNull(new ObjectInputStream() {}.readObject()); in test_readObject()
950 in.readObject(); in test_readObjectCorrupt()
1012 Test another = (Test) in.readObject(); in test_readObject_withPrimitiveClass()
1090 .readObject(); in test_resolveClass()
1133 Integer actual = (Integer) ois.readObject(); in test_resolveObjectLjava_lang_Object()
[all …]
/libcore/luni/src/main/java/java/security/
DSignedObject.java42 private void readObject(ObjectInputStream s) throws IOException, in readObject() method in SignedObject
107 return ois.readObject(); in getObject()
/libcore/luni/src/main/java/java/io/
DObjectInput.java88 public Object readObject() throws ClassNotFoundException, IOException; in readObject() method
/libcore/luni/src/main/java/java/util/
DInvalidPropertiesFormatException.java65 private void readObject(ObjectInputStream in) in readObject() method in InvalidPropertiesFormatException
DHashSet.java197 private void readObject(ObjectInputStream stream) throws IOException, in readObject() method in HashSet
205 E key = (E) stream.readObject(); in readObject()
DTreeSet.java486 private void readObject(ObjectInputStream stream) throws IOException, in readObject() method in TreeSet
490 (Comparator<? super E>) stream.readObject()); in readObject()
494 E elem = (E)stream.readObject(); in readObject()
/libcore/luni/src/main/java/java/security/cert/
DCertificateRevokedException.java127 private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { in readObject() method in CertificateRevokedException
133 String oid = (String) stream.readObject(); in readObject()
/libcore/luni/src/main/java/java/util/prefs/
DNodeChangeEvent.java91 private void readObject (ObjectInputStream in) throws IOException, ClassNotFoundException { in readObject() method in NodeChangeEvent
DPreferenceChangeEvent.java109 private void readObject(ObjectInputStream in) throws IOException{ in readObject() method in PreferenceChangeEvent
/libcore/luni/src/main/java/java/sql/
DSQLInput.java243 public Object readObject() throws SQLException; in readObject() method
/libcore/luni/src/main/java/java/util/logging/
DLogRecord.java479 private void readObject(ObjectInputStream in) throws IOException, in readObject() method in LogRecord
493 parameters[i] = in.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()
/libcore/luni/src/main/java/java/lang/
DStringBuilder.java677 private void readObject(ObjectInputStream in) throws IOException, in readObject() method in StringBuilder
681 char[] value = (char[]) in.readObject(); in readObject()

12345