HomeSort by relevance Sort by last modified time
    Searched refs:ObjectStreamClass (Results 1 - 25 of 31) sorted by null

1 2

  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
ObjectStreamClassTest.java 25 import java.io.ObjectStreamClass;
49 * @tests java.io.ObjectStreamClass#forClass()
54 ObjectStreamClass osc = ObjectStreamClass.lookup(DummyClass.class);
60 * @tests java.io.ObjectStreamClass#getField(java.lang.String)
63 ObjectStreamClass osc = ObjectStreamClass.lookup(DummyClass.class);
71 * @tests java.io.ObjectStreamClass#getFields()
74 ObjectStreamClass osc = ObjectStreamClass.lookup(DummyClass.class)
    [all...]
ObjectStreamFieldTest.java 27 import java.io.ObjectStreamClass;
52 ObjectStreamClass osc;
169 ObjectStreamClass oc = obj.getObjectStreamClass();
190 ObjectStreamClass oc = ois.getObjectStreamClass();
209 ObjectStreamClass objectStreamClass = getField.getObjectStreamClass();
211 assertTrue(objectStreamClass.getField("i").isUnshared());
212 assertFalse(objectStreamClass.getField("d").isUnshared());
213 assertTrue(objectStreamClass.getField("s").isUnshared());
219 assertTrue(objectStreamClass.getField("s").getTypeString() == "Ljava/lang/String;")
    [all...]
ObjectInputStreamTest.java 37 import java.io.ObjectStreamClass;
651 public void writeClassDescriptor(ObjectStreamClass desc)
667 public ObjectStreamClass readClassDescriptor() throws IOException,
669 return ObjectStreamClass.lookup(returnClass);
704 public void writeClassDescriptor(ObjectStreamClass desc)
719 public ObjectStreamClass readClassDescriptor() throws IOException,
733 protected Class resolveClass(ObjectStreamClass desc)
810 ObjectStreamClass desc = ObjectStreamClass
919 public ObjectStreamClass readClassDescriptor() throws IOException
    [all...]
ObjectInputStream2Test.java 27 import java.io.ObjectStreamClass;
172 protected Class resolveClass(ObjectStreamClass desc)
ObjectOutputStreamTest.java 33 import java.io.ObjectStreamClass;
    [all...]
SerializationStressTest2.java 28 import java.io.ObjectStreamClass;
264 if (objClass == ObjectStreamClass.class)
1004 objToSave = ObjectStreamClass.lookup(SerialPersistentFields.class); // Test
    [all...]
SerializationStressTest.java 31 import java.io.ObjectStreamClass;
104 public Class<?> resolveClass(ObjectStreamClass osClass)
FileTest.java 27 import java.io.ObjectStreamClass;
    [all...]
  /libcore/luni/src/main/native/
java_io_ObjectStreamClass.cpp 18 #define LOG_TAG "ObjectStreamClass"
59 NATIVE_METHOD(ObjectStreamClass, getConstructorId, "(Ljava/lang/Class;)I"),
60 NATIVE_METHOD(ObjectStreamClass, getConstructorSignature, "(Ljava/lang/reflect/Constructor;)Ljava/lang/String;"),
61 NATIVE_METHOD(ObjectStreamClass, getFieldSignature, "(Ljava/lang/reflect/Field;)Ljava/lang/String;"),
62 NATIVE_METHOD(ObjectStreamClass, getMethodSignature, "(Ljava/lang/reflect/Method;)Ljava/lang/String;"),
63 NATIVE_METHOD(ObjectStreamClass, hasClinit, "(Ljava/lang/Class;)Z"),
64 NATIVE_METHOD(ObjectStreamClass, newInstance, "(Ljava/lang/Class;I)Ljava/lang/Object;"),
67 jniRegisterNativeMethods(env, "java/io/ObjectStreamClass", gMethods, NELEM(gMethods));
  /packages/apps/Email/src/org/apache/commons/io/input/
ClassLoaderObjectInputStream.java 22 import java.io.ObjectStreamClass;
59 * @param objectStreamClass descriptor of the class
60 * @return the Class object described by the ObjectStreamClass
64 protected Class resolveClass(ObjectStreamClass objectStreamClass)
67 Class clazz = Class.forName(objectStreamClass.getName(), false, classLoader);
74 return super.resolveClass(objectStreamClass);
  /external/javassist/src/main/javassist/util/proxy/
ProxyObjectOutputStream.java 20 import java.io.ObjectStreamClass;
46 protected void writeClassDescriptor(ObjectStreamClass desc) throws IOException {
ProxyObjectInputStream.java 21 import java.io.ObjectStreamClass;
65 protected ObjectStreamClass readClassDescriptor() throws IOException, ClassNotFoundException {
87 return ObjectStreamClass.lookup(proxyClass);
  /external/apache-harmony/regex/src/test/java/org/apache/harmony/tests/java/util/regex/
PatternSyntaxExceptionTest.java 19 import java.io.ObjectStreamClass;
87 ObjectStreamClass objectStreamClass = ObjectStreamClass
89 assertNotNull(objectStreamClass.getField("desc"));
  /libcore/luni/src/main/java/java/io/
EmulatedFieldsForLoading.java 31 private ObjectStreamClass streamClass;
40 * an ObjectStreamClass, defining the class for which to emulate
43 EmulatedFieldsForLoading(ObjectStreamClass streamClass) {
291 * @return ObjectStreamClass The class descriptor for which the emulated
295 public ObjectStreamClass getObjectStreamClass() {
ObjectStreamClass.java 48 public class ObjectStreamClass implements Serializable {
50 // No need to compute the SUID for ObjectStreamClass, just use the value
108 static final Class<ObjectStreamClass> OBJECTSTREAMCLASSCLASS = ObjectStreamClass.class;
163 private transient ObjectStreamClass superclass;
211 * If an ObjectStreamClass describes an Externalizable class, it (the
213 * The ObjectStreamClass that gets saved should simply have no field info.
221 ObjectStreamClass() {
232 private static ObjectStreamClass createClassDesc(Class<?> cl) {
234 ObjectStreamClass result = new ObjectStreamClass()
    [all...]
ObjectInputStream.java 86 private ObjectStreamClass currentClass;
130 * Gets the ObjectStreamClass that describes a field.
134 public abstract ObjectStreamClass getObjectStreamClass();
667 * Reads a class descriptor (an {@code ObjectStreamClass}) from the
679 private ObjectStreamClass readClassDesc() throws ClassNotFoundException, IOException {
686 ObjectStreamClass streamClass = ObjectStreamClass.lookup(proxyClass);
687 streamClass.setLoadFields(ObjectStreamClass.NO_FIELDS);
692 return (ObjectStreamClass) readCyclicReference();
    [all...]
ObjectOutputStream.java 92 private ObjectStreamClass currentClass;
119 private final ObjectStreamClass proxyClassDesc = ObjectStreamClass.lookup(Proxy.class);
286 * descriptor (ObjectStreamClass) for this class from an input stream. By
293 * @see ObjectInputStream#resolveClass(ObjectStreamClass)
734 * {@code ObjectStreamClass}) to the stream.
737 * The class descriptor (an {@code ObjectStreamClass}) to
747 private int writeClassDesc(ObjectStreamClass classDesc, boolean unshared) throws IOException {
831 * {@code ObjectStreamClass})
834 * The class descriptor (an {@code ObjectStreamClass})
    [all...]
EmulatedFieldsForDumping.java 40 * a ObjectStreamClass, which describe the fields to be emulated
43 EmulatedFieldsForDumping(ObjectOutputStream oos, ObjectStreamClass streamClass) {
  /libcore/luni/src/test/java/libcore/java/io/
OldObjectStreamFieldTest.java 20 import java.io.ObjectStreamClass;
60 ObjectStreamClass osc;
173 osc = ObjectStreamClass.lookup(DummyClass.class);
  /libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
ObjectInputStreamTest.java 37 import java.io.ObjectStreamClass;
650 public void writeClassDescriptor(ObjectStreamClass desc)
666 public ObjectStreamClass readClassDescriptor() throws IOException,
668 return ObjectStreamClass.lookup(returnClass);
703 public void writeClassDescriptor(ObjectStreamClass desc)
718 public ObjectStreamClass readClassDescriptor() throws IOException,
732 protected Class resolveClass(ObjectStreamClass desc)
809 ObjectStreamClass desc = ObjectStreamClass
918 public ObjectStreamClass readClassDescriptor() throws IOException
    [all...]
  /libcore/luni/src/test/java/tests/api/java/io/
ObjectInputStreamTest.java 27 import java.io.ObjectStreamClass;
643 public void writeClassDescriptor(ObjectStreamClass desc)
658 public ObjectStreamClass readClassDescriptor() throws IOException,
660 return ObjectStreamClass.lookup(returnClass);
  /external/littlemock/src/com/google/testing/littlemock/
LittleMock.java 21 import java.io.ObjectStreamClass;
    [all...]
  /prebuilts/sdk/10/
android.jar 
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/13/
android.jar 

Completed in 1022 milliseconds

1 2