/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 | 494 private void readObject(ObjectInputStream ois) throws IOException, 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.readInt() [all...] |
/libcore/luni/src/main/java/javax/crypto/ |
SealedObject.java | 169 ObjectInputStream ois = local 172 return ois.readObject(); 220 ObjectInputStream ois = local 223 return ois.readObject(); 264 ObjectInputStream ois = local 267 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/services/Telephony/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();
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
NinePatch_Delegate.java | 118 ObjectInputStream ois = null; local 120 ois = new ObjectInputStream(bais); 121 chunk = (NinePatchChunk) ois.readObject(); 136 if (ois != null) { 138 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/libcore/reflect/ |
AnnotationMember.java | 318 ObjectInputStream ois = new ObjectInputStream(bis); local 319 error = (Throwable)ois.readObject(); 320 ois.close();
|
/libcore/support/src/test/java/org/apache/harmony/testframework/serialization/ |
SerializationTest.java | 163 ObjectInputStream ois = new ObjectInputStream(is); local 164 Object result = ois.readObject(); 165 ois.close();
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ |
ant-weblogic.jar | |