HomeSort by relevance Sort by last modified time
    Searched full:objectinputstream (Results 1 - 25 of 366) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/libphonenumber/java/test/com/android/i18n/phonenumbers/geocoding/
FlyweightMapStorageTest.java 24 import java.io.ObjectInputStream;
84 ObjectInputStream objectInputStream =
85 new ObjectInputStream(new ByteArrayInputStream(byteArrayOutputStream.toByteArray()));
86 newMapStorage.readExternal(objectInputStream);
97 ObjectInputStream objectInputStream =
98 new ObjectInputStream(new ByteArrayInputStream(byteArrayOutputStream.toByteArray()));
101 newMapStorage.readExternal(objectInputStream);
  /external/objenesis/main/src/org/objenesis/instantiator/gcj/
GCJInstantiatorBase.java 19 import java.io.ObjectInputStream;
27 * ObjectInputStream.newObject, as well as creating a dummy ObjectInputStream to be used as the
34 static ObjectInputStream dummyStream;
36 private static class DummyStream extends ObjectInputStream {
44 newObjectMethod = ObjectInputStream.class.getDeclaredMethod("newObject", new Class[] {
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
ObjectInputStreamTest.java 33 import java.io.ObjectInputStream;
61 ObjectInputStream ois;
83 private void readObject(ObjectInputStream ois) throws Exception {
85 ObjectInputStream.GetField fields = ois.readFields();
132 * @tests java.io.ObjectInputStream#readObject()
144 * @tests java.io.ObjectInputStream#ObjectInputStream(java.io.InputStream)
149 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray()));
154 ois = new ObjectInputStream(new ByteArrayInputStream(new byte[90]));
162 * @tests {@link java.io.ObjectInputStream#resolveProxyClass(String[])
    [all...]
StreamCorruptedExceptionTest.java 21 import java.io.ObjectInputStream;
33 ObjectInputStream ois = new ObjectInputStream(
52 ObjectInputStream ois = new ObjectInputStream(
ObjectOutputStream2Test.java 23 import java.io.ObjectInputStream;
53 ObjectInputStream is = new ObjectInputStream(bis);
ObjectInputStream2Test.java 25 import java.io.ObjectInputStream;
47 ObjectInputStream ois = new ObjectInputStream(
71 ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(
83 * @tests {@link java.io.ObjectInputStream#readNewLongString()}
143 class OIS extends ObjectInputStream {
165 static class TestObjectInputStream extends ObjectInputStream {
197 ObjectInputStream ois;
ObjectOutputStreamTest.java 30 import java.io.ObjectInputStream;
66 private void readObject(ObjectInputStream ois) throws IOException {
69 ObjectInputStream.GetField fields = ois.readFields();
168 private void readObject(java.io.ObjectInputStream in)
190 public void readObject(java.io.ObjectInputStream in)
220 private void readObject(java.io.ObjectInputStream in)
314 private void readObject(java.io.ObjectInputStream in)
346 private void readObject(java.io.ObjectInputStream in)
393 private void readObject(java.io.ObjectInputStream in)
395 ObjectInputStream.GetField fields = in.readFields()
    [all...]
ObjectStreamFieldTest.java 25 import java.io.ObjectInputStream;
166 ObjectInputStream ois = new ObjectInputStream(bais);
205 ObjectInputStream ois = new ObjectInputStream(bais);
208 ObjectInputStream.GetField getField = newObj.getGetField();
257 public ObjectInputStream.GetField getField = null;
279 private void readObject(ObjectInputStream in) throws NotActiveException,
291 class MockObjectInputStream extends ObjectInputStream {
327 private ObjectInputStream.GetField getField
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
ObjectInputStreamTest.java 33 import java.io.ObjectInputStream;
60 ObjectInputStream ois;
82 private void readObject(ObjectInputStream ois) throws Exception {
84 ObjectInputStream.GetField fields = ois.readFields();
131 * java.io.ObjectInputStream#readObject()
143 * java.io.ObjectInputStream#ObjectInputStream(java.io.InputStream)
148 ois = new ObjectInputStream(new ByteArrayInputStream(bao.toByteArray()));
153 ois = new ObjectInputStream(new ByteArrayInputStream(new byte[90]));
161 * {@link java.io.ObjectInputStream#resolveProxyClass(String[])
    [all...]
  /libcore/luni/src/test/java/tests/api/java/io/
ObjectInputStreamTest.java 25 import java.io.ObjectInputStream;
43 ObjectInputStream ois;
62 ois = new ObjectInputStream(sis);
88 // Test for method int java.io.ObjectInputStream.available()
93 ois = new ObjectInputStream(sis);
103 ois = new ObjectInputStream(sis);
116 // Test for method void java.io.ObjectInputStream.close()
121 ois = new ObjectInputStream(sis);
148 ois = new ObjectInputStream(sis);
161 // Test for method int java.io.ObjectInputStream.read(byte [], int, int
    [all...]
ComputeSerialVersionUIDTest.java 3 import java.io.ObjectInputStream;
11 ObjectInputStream ois = new ObjectInputStream(getClass()
29 ObjectInputStream ois = new ObjectInputStream(getClass()
61 ObjectInputStream ois = new ObjectInputStream(getClass()
99 ObjectInputStream ois = new ObjectInputStream(getClass()
121 ObjectInputStream ois = new ObjectInputStream(getClass(
    [all...]
  /libcore/luni/src/main/java/java/io/
OptionalDataException.java 21 * Signals that the {@link ObjectInputStream} class encountered a primitive type
25 * @see ObjectInputStream#available()
26 * @see ObjectInputStream#readObject()
27 * @see ObjectInputStream#skipBytes(int)
NotActiveException.java 22 * place. Some methods in {@code ObjectInputStream} and {@code
28 * <li>{@link ObjectInputStream#defaultReadObject()}</li>
29 * <li>{@link ObjectInputStream#registerValidation(ObjectInputValidation, int)}</li>
StreamCorruptedException.java 21 * Signals that the {@link ObjectInputStream#readObject()} method could not
26 * @see ObjectInputStream
  /external/guava/guava-testlib/src/com/google/common/testing/
Platform.java 24 import java.io.ObjectInputStream;
43 ObjectInputStream in = new ObjectInputStream(
  /external/objenesis/main/src/org/objenesis/instantiator/sun/
Sun13InstantiatorBase.java 18 import java.io.ObjectInputStream;
26 * ObjectInputStream.allocateNewObject.
36 allocateNewObjectMethod = ObjectInputStream.class.getDeclaredMethod(
  /frameworks/base/tools/preload/
PrintPsTree.java 19 import java.io.ObjectInputStream;
35 ObjectInputStream oin = new ObjectInputStream(
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
ReserializingTestCollectionGenerator.java 22 import java.io.ObjectInputStream;
58 ObjectInputStream in = new ObjectInputStream(
  /external/javassist/src/test/test/javassist/proxy/
ProxySimpleTest.java 7 import java.io.ObjectInputStream;
32 ObjectInputStream ois = new ObjectInputStream(new FileInputStream(fileName));
  /libcore/luni/src/test/java/libcore/java/io/
OldObjectInputStreamGetFieldTest.java 20 import java.io.ObjectInputStream;
26 * Tests the methods of {@code ObjectInputStream.GetField}. Three things make
30 * {@code ObjectInputStream.GetField}.</li>
32 * {@code ObjectInputStream.GetField}. The only way to get an implementation is
33 * by calling {@code ObjectInputStream.getFields()}.</li>
35 * the private {@code readObject(ObjectInputStream)} method of a class that
40 * {@code ObjectInputStream.GetField}: Three serializable helper classes in
44 * {@code readObject(ObjectInputStream)} to read data from an input stream.
57 private ObjectInputStream ois = null;
100 ObjectInputStream.GetField fields = object.getField
    [all...]
OldAndroidSerializationTest.java 22 import java.io.ObjectInputStream;
41 Object o = new ObjectInputStream(bin).readObject();
  /external/javassist/src/main/javassist/util/proxy/
ProxyObjectInputStream.java 20 import java.io.ObjectInputStream;
30 public class ProxyObjectInputStream extends ObjectInputStream
38 * @throws java.io.StreamCorruptedException whenever ObjectInputStream would also do so
39 * @throws IOException whenever ObjectInputStream would also do so
40 * @throws SecurityException whenever ObjectInputStream would also do so
  /cts/tools/signature-tools/src/signature/io/impl/
BinaryApi.java 27 import java.io.ObjectInputStream;
68 ObjectInputStream ois = new ObjectInputStream(
  /dalvik/tests/093-serialization/src/
Main.java 20 import java.io.ObjectInputStream;
59 ObjectInputStream objStream = new ObjectInputStream(byteStream);
  /external/guava/guava/src/com/google/common/collect/
HashMultiset.java 23 import java.io.ObjectInputStream;
89 @GwtIncompatible("java.io.ObjectInputStream")
90 private void readObject(ObjectInputStream stream)

Completed in 3586 milliseconds

1 2 3 4 5 6 7 8 91011>>