Searched refs:ois (Results 1 - 25 of 32) sorted by relevance

12

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DStreamCorruptedExceptionTest.java33 ObjectInputStream ois = new ObjectInputStream(
37 ois.readObject();
52 ObjectInputStream ois = new ObjectInputStream(
56 ois.readObject();
H A DSerializationStressTest.java87 protected transient ObjectInputStream ois; field in class:SerializationStressTest
234 ois = new ObjectInputStream(loadStream());
237 return ois.readObject();
239 ois.close();
337 ois = new ObjectInputStream(loadStream());
338 ois.close();
354 ois = new ObjectInputStream(loadStream());
355 ois.readFully(buf);
356 ois.close();
375 ois
[all...]
H A DObjectOutputStreamTest.java66 private void readObject(ObjectInputStream ois) throws IOException { argument
69 ObjectInputStream.GetField fields = ois.readFields();
568 protected ObjectInputStream ois; field in class:ObjectOutputStreamTest
642 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray()));
643 sth = (SerializableTestHelper) (ois.readObject());
661 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray()));
662 ois.close();
707 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray()));
708 ExternalTest t2 = (ExternalTest) ois.readObject();
709 ois
[all...]
H A DObjectInputStream2Test.java47 ObjectInputStream ois = new ObjectInputStream(
49 ois.readUnshared();
50 ois.readObject();
51 ois.close();
71 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(
73 B b = (B) ois.readObject();
74 ois.close();
197 ObjectInputStream ois;
204 ois = new TestObjectInputStream(bais);
207 ois
[all...]
H A DObjectStreamFieldTest.java166 ObjectInputStream ois = new ObjectInputStream(bais);
167 SerializableObject obj = (SerializableObject) ois.readObject();
187 MockObjectInputStream ois = new MockObjectInputStream(bais);
188 ois.readObject();
190 ObjectStreamClass oc = ois.getObjectStreamClass();
205 ObjectInputStream ois = new ObjectInputStream(bais);
206 SerializableObject2 newObj = (SerializableObject2) ois.readObject();
238 final MyObjectInputStream ois = new MyObjectInputStream(bais);
240 ois.readObject();
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
H A DObjectInputStreamTest.java74 private void readObject(ObjectInputStream ois) throws Exception { argument
76 ObjectInputStream.GetField fields = ois.readFields();
124 ObjectInputStream ois; field in class:ObjectInputStreamTest
143 ois = new ObjectInputStream(sis);
161 ObjectInputStreamWithReadDesc ois = new ObjectInputStreamWithReadDesc(
163 Object obj = ois.readObject();
164 ois.close();
173 ois = new ObjectInputStream(sis);
176 ois.available();
182 ois
[all...]
/libcore/luni/src/test/java/libcore/java/io/
H A DOldObjectInputStreamGetFieldTest.java57 private ObjectInputStream ois = null; field in class:OldObjectInputStreamGetFieldTest
71 Support_GetPutFields object = (Support_GetPutFields) ois.readObject();
81 (Support_GetPutFieldsDefaulted) ois.readObject();
99 Support_GetPutFields object = (Support_GetPutFields) ois.readObject();
113 (Support_GetPutFieldsDefaulted) ois.readObject();
123 Support_GetPutFields object = (Support_GetPutFields) ois.readObject();
239 Support_GetPutFields object = (Support_GetPutFields) ois.readObject();
245 if (ois != null) {
246 ois.close();
248 ois
[all...]
H A DOldObjectOutputStreamTest.java50 private void readObject(ObjectInputStream ois) throws IOException { argument
53 ObjectInputStream.GetField fields = ois.readFields();
136 protected ObjectInputStream ois; field in class:OldObjectOutputStreamTest
254 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray()));
255 sth = (SerializableTestHelper) (ois.readObject());
281 ois = new ObjectInputStream(new ByteArrayInputStream(sos.toByteArray()));
282 assertEquals("Test 2: Incorrect object read.", o, ois.readObject());
283 assertEquals("Test 3: Incorrect object read.", o, ois.readObject());
284 assertEquals("Test 4: Incorrect object read.", o, ois.readObject());
285 ois
[all...]
H A DObjectOutputStreamTest.java54 private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException { argument
55 message = (String) ois.readObject();
106 try (ObjectInputStream ois = new ObjectInputStream(bais)) {
107 read = (Serializable) ois.readObject();
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
H A DSHA1PRNG_SecureRandomImpl.java494 private void readObject(ObjectInputStream ois) throws IOException, argument
501 seedLength = ois.readLong();
502 counter = ois.readLong();
503 state = ois.readInt();
504 seed[BYTES_OFFSET] = ois.readInt();
511 seed[i] = ois.readInt();
514 seed[HASH_OFFSET + i] = ois.readInt();
520 seed[FRAME_LENGTH] = ois.readInt();
521 seed[FRAME_LENGTH + 1] = ois.readInt();
522 seed[FRAME_LENGTH + 14] = ois
[all...]
/libcore/ojluni/src/main/java/java/security/cert/
H A DCertificateRevokedException.java215 private void readObject(ObjectInputStream ois) argument
219 ois.defaultReadObject();
226 int size = ois.readInt();
235 String oid = (String) ois.readObject();
236 boolean critical = ois.readBoolean();
237 int length = ois.readInt();
239 ois.readFully(extVal);
/libcore/ojluni/src/main/java/java/security/
H A DCodeSigner.java168 private void readObject(ObjectInputStream ois) argument
170 ois.defaultReadObject();
H A DTimestamp.java158 private void readObject(ObjectInputStream ois) argument
160 ois.defaultReadObject();
/libcore/support/src/test/java/tests/util/
H A DSerializationTester.java53 ObjectInputStream ois = new ObjectInputStream(bis);
54 Object outputObject = ois.readObject();
55 ois.close();
/libcore/support/src/test/java/tests/support/
H A DSupport_GetPutFields.java106 private void readObject(ObjectInputStream ois) throws Exception { argument
107 getField = ois.readFields();
H A DSupport_GetPutFieldsDefaulted.java117 private void readObject(ObjectInputStream ois) throws Exception { argument
118 getField = ois.readFields();
H A DSupport_GetPutFieldsDeprecated.java108 private void readObject(ObjectInputStream ois) throws Exception { argument
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
H A DSealedObjectTest.java77 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(
80 SealedObject so_des = (SealedObject) ois.readObject();
187 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(baos.toByteArray()));
188 SealedObject readSo = (SealedObject) ois.readObject();
189 ois.close();
/libcore/luni/src/main/java/libcore/reflect/
H A DAnnotationMember.java318 ObjectInputStream ois = new ObjectInputStream(bis);
319 error = (Throwable)ois.readObject();
320 ois.close();
/libcore/support/src/test/java/org/apache/harmony/testframework/serialization/
H A DSerializationTest.java162 ObjectInputStream ois = new ObjectInputStream(is);
163 Object result = ois.readObject();
164 ois.close();
/libcore/luni/src/test/java/libcore/util/
H A DZoneInfoTest.java384 ObjectInputStream ois = new ObjectInputStream(is)) {
385 Object object = ois.readObject();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DSortedMapTestBase.java355 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(baos.toByteArray()));
356 Object read = ois.readObject();
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/lang/invoke/
H A DSerializedLambdaTest.java94 try(ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(bytes))) {
95 return ois.readObject();
/libcore/support/src/test/java/libcore/javax/net/ssl/
H A DTestSSLContext.java199 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(baos.toByteArray()));
200 return (InetSocketAddress) ois.readObject();
/libcore/luni/src/test/java/libcore/java/security/
H A DKeyPairGeneratorTest.java306 ObjectInputStream ois = new ObjectInputStream(bais);
307 Key inflatedKey = (Key) ois.readObject();

Completed in 897 milliseconds

12