/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)
|
/external/objenesis/main/src/org/objenesis/instantiator/android/ |
AndroidSerializationInstantiator.java | 21 import java.io.ObjectStreamClass; 28 * {@link ObjectStreamClass}. 34 private final ObjectStreamClass objectStreamClass; 40 objectStreamClass = ObjectStreamClass.lookupAny(type); 45 return newInstanceMethod.invoke(objectStreamClass, new Object[] {type}); 60 Method newInstanceMethod = ObjectStreamClass.class.getDeclaredMethod(
|
AndroidInstantiator.java | 21 import java.io.ObjectStreamClass; 27 * methods on the Dalvik implementation of {@link ObjectStreamClass}. 53 Method newInstanceMethod = ObjectStreamClass.class.getDeclaredMethod( 68 Method newInstanceMethod = ObjectStreamClass.class.getDeclaredMethod(
|
/external/objenesis/main/src/org/objenesis/instantiator/basic/ |
ObjectStreamClassInstantiator.java | 18 import java.io.ObjectStreamClass;
26 * ObjectStreamClass.newInstance, present in many JVM implementations. This instantiator will create
41 newInstanceMethod = ObjectStreamClass.class.getDeclaredMethod("newInstance",
54 private final ObjectStreamClass objStreamClass;
58 objStreamClass = ObjectStreamClass.lookup(type);
|
ObjectInputStreamInstantiator.java | 24 import java.io.ObjectStreamClass; 100 dout.writeLong(ObjectStreamClass.lookup(clazz).getSerialVersionUID());
|
/libcore/luni/src/main/native/ |
java_io_ObjectStreamClass.cpp | 18 #define LOG_TAG "ObjectStreamClass" 59 NATIVE_METHOD(ObjectStreamClass, getConstructorId, "(Ljava/lang/Class;)J"), 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;J)Ljava/lang/Object;"), 67 jniRegisterNativeMethods(env, "java/io/ObjectStreamClass", gMethods, NELEM(gMethods));
|
/packages/apps/UnifiedEmail/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);
|
/libcore/luni/src/test/java/libcore/java/io/ |
SerializationTest.java | 21 import java.io.ObjectStreamClass; 31 // Does ObjectStreamClass have the right idea? 32 ObjectStreamClass osc = ObjectStreamClass.lookup(FieldMadeTransient.class);
|
OldObjectStreamFieldTest.java | 20 import java.io.ObjectStreamClass; 60 ObjectStreamClass osc; 173 osc = ObjectStreamClass.lookup(DummyClass.class);
|
/external/dexmaker/src/mockito/java/com/google/dexmaker/mockito/ |
UnsafeAllocator.java | 20 import java.io.ObjectStreamClass; 73 // public class ObjectStreamClass { 78 Method getConstructorId = ObjectStreamClass.class 82 final Method newInstance = ObjectStreamClass.class 96 // public class ObjectStreamClass { 101 Method getConstructorId = ObjectStreamClass.class 105 final Method newInstance = ObjectStreamClass.class
|
/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(); 642 * Reads a class descriptor (an {@code ObjectStreamClass}) from the 654 private ObjectStreamClass readClassDesc() throws ClassNotFoundException, IOException { 661 ObjectStreamClass streamClass = ObjectStreamClass.lookup(proxyClass); 662 streamClass.setLoadFields(ObjectStreamClass.NO_FIELDS); 667 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/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/org/apache/harmony/regex/tests/java/util/regex/ |
PatternSyntaxExceptionTest.java | 19 import java.io.ObjectStreamClass; 113 ObjectStreamClass objectStreamClass = ObjectStreamClass.lookup(PatternSyntaxException.class); 114 assertNotNull(objectStreamClass.getField("desc"));
|
/libcore/benchmarks/src/benchmarks/regression/ |
SerializationBenchmark.java | 67 ObjectStreamClass osc = ObjectStreamClass.lookup(String.class); 79 ObjectStreamClass osc = ObjectStreamClass.lookup(String.class);
|
/external/objenesis/ |
Android.mk | 36 # SDK 10 needed for ObjectStreamClass lookupAny
|
/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);
|