Home
last modified time | relevance | path

Searched refs:ObjectStreamConstants (Results 1 – 10 of 10) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DObjectStreamConstantsTest.java19 import java.io.ObjectStreamConstants;
29 assertEquals(126, ObjectStreamConstants.TC_ENUM); in test_TC_ENUM()
36 assertEquals(16, ObjectStreamConstants.SC_ENUM); in test_SC_ENUM()
43 assertEquals(126, ObjectStreamConstants.TC_MAX); in test_TC_MAX()
DObjectOutputStreamTest.java34 import java.io.ObjectStreamConstants;
719 out.useProtocolVersion(ObjectStreamConstants.PROTOCOL_VERSION_1); in test_useProtocolVersionI()
DSerializationStressTest3.java25 import java.io.ObjectStreamConstants;
369 dos.writeByte(ObjectStreamConstants.TC_BLOCKDATALONG); in test_18_81_writeObject()
DSerializationStressTest2.java29 import java.io.ObjectStreamConstants;
2075 dos.writeByte(ObjectStreamConstants.TC_BLOCKDATA); in test_18_80_writeObject()
/libcore/luni/src/main/java/java/io/
DObjectStreamConstants.java23 public abstract interface ObjectStreamConstants { interface
DObjectStreamClass.java314 flags |= ObjectStreamConstants.SC_EXTERNALIZABLE; in createClassDesc()
315 flags |= ObjectStreamConstants.SC_BLOCK_DATA; // use protocol version 2 by default in createClassDesc()
317 flags |= ObjectStreamConstants.SC_SERIALIZABLE; in createClassDesc()
325 flags |= ObjectStreamConstants.SC_WRITE_METHOD; in createClassDesc()
690 boolean wasSerializable = (flags & ObjectStreamConstants.SC_SERIALIZABLE) != 0; in resolveConstructorClass()
722 boolean wasExternalizable = (flags & ObjectStreamConstants.SC_EXTERNALIZABLE) != 0; in resolveConstructorClass()
1331 boolean wasSerializable = (flags & ObjectStreamConstants.SC_SERIALIZABLE) != 0; in checkAndGetTcObjectClass()
1332 boolean wasExternalizable = (flags & ObjectStreamConstants.SC_EXTERNALIZABLE) != 0; in checkAndGetTcObjectClass()
DObjectOutputStream.java40 public class ObjectOutputStream extends OutputStream implements ObjectOutput, ObjectStreamConstants
598 if (version != ObjectStreamConstants.PROTOCOL_VERSION_1 in useProtocolVersion()
599 && version != ObjectStreamConstants.PROTOCOL_VERSION_2) { in useProtocolVersion()
DObjectInputStream.java43 public class ObjectInputStream extends InputStream implements ObjectInput, ObjectStreamConstants {
2123 Object res = objectsRead.get(handle - ObjectStreamConstants.baseWireHandle); in registeredObjectRead()
2137 int index = handle - ObjectStreamConstants.baseWireHandle; in registerObjectRead()
/libcore/luni/src/test/java/libcore/java/io/
DOldObjectOutputStreamTest.java350 java.io.ObjectStreamConstants.STREAM_MAGIC, s); in test_writeStreamHeader()
357 java.io.ObjectStreamConstants.STREAM_VERSION, s); in test_writeStreamHeader()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
DObjectInputStreamTest.java386 short magic = java.io.ObjectStreamConstants.STREAM_MAGIC; in fillStreamHeader()
387 short version = java.io.ObjectStreamConstants.STREAM_VERSION; in fillStreamHeader()
434 short magic = java.io.ObjectStreamConstants.STREAM_MAGIC; in test_readStreamHeader()
435 short version = java.io.ObjectStreamConstants.STREAM_VERSION; in test_readStreamHeader()