/libcore/luni/src/test/java/tests/api/java/io/ |
ComputeSerialVersionUIDTest.java | 11 ObjectInputStream ois = new ObjectInputStream(getClass() local 13 SerializationTestClass.TestClassName1 o1 = (SerializationTestClass.TestClassName1) ois 15 SerializationTestClass.TestClassName2T_T$T o2 = (SerializationTestClass.TestClassName2T_T$T) ois 17 SerializationTestClass.TestClassModifierPublic o6 = (SerializationTestClass.TestClassModifierPublic) ois 19 SerializationTestClass.TestClassModifierAbstract o3 = (SerializationTestClass.TestClassModifierAbstract) ois 21 SerializationTestClass.TestClassModifierFinal o4 = (SerializationTestClass.TestClassModifierFinal) ois 23 SerializationTestClass.TestClassModifierInterface o5 = (SerializationTestClass.TestClassModifierInterface) ois 25 ois.close(); 29 ObjectInputStream ois = new ObjectInputStream(getClass() local 31 SerializationTestClass.TestIntefaces o1 = (SerializationTestClass.TestIntefaces) ois 61 ObjectInputStream ois = new ObjectInputStream(getClass() local 99 ObjectInputStream ois = new ObjectInputStream(getClass() local 121 ObjectInputStream ois = new ObjectInputStream(getClass() local [all...] |
ObjectInputStreamTest.java | 43 ObjectInputStream ois; field in class:ObjectInputStreamTest 62 ois = new ObjectInputStream(sis); 80 ObjectInputStreamWithReadDesc ois = new ObjectInputStreamWithReadDesc( local 82 Object obj = ois.readObject(); 83 ois.close(); 93 ois = new ObjectInputStream(sis); 94 assertEquals("Test 1: Incorrect number of bytes;", testLength, ois.available()); 95 ois.close(); 103 ois = new ObjectInputStream(sis); 106 ois.available() [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
StreamCorruptedExceptionTest.java | 33 ObjectInputStream ois = new ObjectInputStream( local 37 ois.readObject(); 52 ObjectInputStream ois = new ObjectInputStream( local 56 ois.readObject();
|
ObjectInputStreamTest.java | 61 ObjectInputStream ois; field in class:ObjectInputStreamTest 83 private void readObject(ObjectInputStream ois) throws Exception { 85 ObjectInputStream.GetField fields = ois.readFields(); 149 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 150 ois.close(); 154 ois = new ObjectInputStream(new ByteArrayInputStream(new byte[90])); 168 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 217 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 218 assertEquals("Read incorrect bytes", 10, ois.available()); 219 ois.close() 504 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream( local 688 ObjectIutputStreamWithReadDesc ois = new ObjectIutputStreamWithReadDesc( local 752 ObjectInputStream ois = new ObjectInputStreamWithResolve(bais); local 795 ObjectInputStreamWithResolveObject ois = local 817 ObjectIutputStreamWithReadDesc1 ois = new ObjectIutputStreamWithReadDesc1( local 966 ObjectInputStream ois = new ObjectInputStream( local 1091 ObjectInputStream ois = new ObjectInputStream(in); local [all...] |
SerializationStressTest.java | 88 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 = new ObjectInputStream(loadStream()) 579 ObjectInputStream ois = new ObjectInputStream(loadStream()); local [all...] |
ObjectOutputStreamTest.java | 66 private void readObject(ObjectInputStream ois) throws IOException { 69 ObjectInputStream.GetField fields = ois.readFields(); 560 protected ObjectInputStream ois; field in class:ObjectOutputStreamTest 634 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 635 sth = (SerializableTestHelper) (ois.readObject()); 653 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 654 ois.close(); 699 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 700 ExternalTest t2 = (ExternalTest) ois.readObject(); 701 ois.close() 977 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream( local 1138 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream( local 1169 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream( local 1222 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream( local [all...] |
ObjectInputStream2Test.java | 47 ObjectInputStream ois = new ObjectInputStream( local 49 ois.readUnshared(); 50 ois.readObject(); 51 ois.close(); 71 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream( local 73 B b = (B) ois.readObject(); 74 ois.close(); 143 class OIS extends ObjectInputStream { 145 OIS() throws IOException { 158 new OIS().test() 197 ObjectInputStream ois; local [all...] |
ObjectStreamFieldTest.java | 166 ObjectInputStream ois = new ObjectInputStream(bais); local 167 SerializableObject obj = (SerializableObject) ois.readObject(); 187 MockObjectInputStream ois = new MockObjectInputStream(bais); local 188 ois.readObject(); 190 ObjectStreamClass oc = ois.getObjectStreamClass(); 205 ObjectInputStream ois = new ObjectInputStream(bais); local 206 SerializableObject2 newObj = (SerializableObject2) ois.readObject(); 238 final MyObjectInputStream ois = new MyObjectInputStream(bais); local 240 ois.readObject();
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/ |
ObjectInputStreamTest.java | 60 ObjectInputStream ois; field in class:ObjectInputStreamTest 82 private void readObject(ObjectInputStream ois) throws Exception { 84 ObjectInputStream.GetField fields = ois.readFields(); 148 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 149 ois.close(); 153 ois = new ObjectInputStream(new ByteArrayInputStream(new byte[90])); 167 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 216 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray())); 217 assertEquals("Read incorrect bytes", 10, ois.available()); 218 ois.close() 503 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream( local 687 ObjectIutputStreamWithReadDesc ois = new ObjectIutputStreamWithReadDesc( local 751 ObjectInputStream ois = new ObjectInputStreamWithResolve(bais); local 794 ObjectInputStreamWithResolveObject ois = local 816 ObjectIutputStreamWithReadDesc1 ois = new ObjectIutputStreamWithReadDesc1( local 965 ObjectInputStream ois = new ObjectInputStream( local [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
OldObjectInputStreamGetFieldTest.java | 57 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 = new ObjectInputStream [all...] |
OldObjectOutputStreamTest.java | 50 private void readObject(ObjectInputStream ois) throws IOException { 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.close() [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/ |
SHA1PRNG_SecureRandomImpl.java | 477 private void readObject(ObjectInputStream ois) throws IOException, 484 seedLength = ois.readLong(); 485 counter = ois.readLong(); 486 state = ois.readInt(); 487 seed[BYTES_OFFSET] = ois.readInt(); 494 seed[i] = ois.readInt(); 497 seed[HASH_OFFSET + i] = ois.readInt(); 503 seed[FRAME_LENGTH] = ois.readInt(); 504 seed[FRAME_LENGTH + 1] = ois.readInt(); 505 seed[FRAME_LENGTH + 14] = ois.readInt() [all...] |
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
AbstractResult.java | 117 ObjectInputStream ois = null; local 122 ois = new ObjectInputStream(bais); 123 result = (AbstractResult)ois.readObject(); 128 if (ois != null) { 129 ois.close();
|
/libcore/luni/src/main/java/javax/crypto/ |
SealedObject.java | 163 ObjectInputStream ois = local 166 return ois.readObject(); 214 ObjectInputStream ois = local 217 return ois.readObject(); 258 ObjectInputStream ois = local 261 return ois.readObject();
|
/cts/tools/signature-tools/src/signature/io/impl/ |
BinaryApi.java | 68 ObjectInputStream ois = new ObjectInputStream(
local 72 sig = (IApi) ois.readObject();
80 ois.close();
|
/external/javassist/src/test/test/javassist/proxy/ |
ProxySimpleTest.java | 32 ObjectInputStream ois = new ObjectInputStream(new FileInputStream(fileName)); local 33 Object data2 = ois.readObject(); 34 ois.close();
|
/libcore/luni/src/main/java/java/security/ |
SignedObject.java | 104 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream( local 107 return ois.readObject(); 109 ois.close();
|
/packages/apps/Phone/src/com/android/phone/sip/ |
SipProfileDb.java | 132 ObjectInputStream ois = null; local 134 ois = new ObjectInputStream(atomicFile.openRead()); 135 SipProfile p = (SipProfile) ois.readObject(); 140 if (ois!= null) ois.close();
|
/external/apache-harmony/support/src/test/java/tests/util/ |
SerializationTester.java | 77 ObjectInputStream ois = new ObjectInputStream(bis); local 78 Object outputObject = ois.readObject(); 80 ois.close();
|
/libcore/support/src/test/java/tests/util/ |
SerializationTester.java | 77 ObjectInputStream ois = new ObjectInputStream(bis); local 78 Object outputObject = ois.readObject(); 80 ois.close();
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
NinePatch_Delegate.java | 109 ObjectInputStream ois = null; local 111 ois = new ObjectInputStream(bais); 112 chunk = (NinePatchChunk) ois.readObject(); 127 if (ois != null) { 129 ois.close();
|
/libcore/support/src/test/java/tests/support/ |
Support_GetPutFields.java | 106 private void readObject(ObjectInputStream ois) throws Exception { 107 getField = ois.readFields();
|
Support_GetPutFieldsDefaulted.java | 117 private void readObject(ObjectInputStream ois) throws Exception { 118 getField = ois.readFields();
|
/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/ |
SealedObjectTest.java | 57 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream( local 60 SealedObject so_des = (SealedObject) ois.readObject();
|
/libcore/luni/src/main/java/org/apache/harmony/lang/annotation/ |
AnnotationMember.java | 318 ObjectInputStream ois = new ObjectInputStream(bis); local 319 error = (Throwable)ois.readObject(); 320 ois.close();
|