Home
last modified time | relevance | path

Searched refs:ExperimentalSerializationUtil (Results 1 – 9 of 9) sorted by relevance

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DBinaryProtocolTest.java60 ExperimentalSerializationUtil.fromByteArray(expectedBytes, Proto3Message.class); in proto3Roundtrip()
64 byte[] actualBytes = ExperimentalSerializationUtil.toByteArray(result); in proto3Roundtrip()
79 ExperimentalSerializationUtil.fromByteArray(expectedBytes, Proto2Message.class); in proto2Roundtrip()
83 byte[] actualBytes = ExperimentalSerializationUtil.toByteArray(result); in proto2Roundtrip()
DAbstractProto2LiteSchemaTest.java75 ExperimentalSerializationUtil.fromByteArray(data, Proto2MessageLite.class); in mergeOptionalMessageFields()
129 ExperimentalSerializationUtil.fromByteArray(serializedBytes, Proto2EmptyLite.class); in unknownFieldsUnrecognized()
133 byte[] roundtripBytes = ExperimentalSerializationUtil.toByteArray(empty); in unknownFieldsUnrecognized()
135 ExperimentalSerializationUtil.fromByteArray(roundtripBytes, Proto2MessageLite.class); in unknownFieldsUnrecognized()
186 ExperimentalSerializationUtil.fromByteArray(output, Proto2MessageLite.class); in unknownEnum()
DAbstractProto2SchemaTest.java74 Proto2Message merged = ExperimentalSerializationUtil.fromByteArray(data, Proto2Message.class); in mergeOptionalMessageFields()
123 ExperimentalSerializationUtil.fromByteArray(serializedBytes, Proto2Empty.class); in unknownFieldsUnrecognized()
127 byte[] roundtripBytes = ExperimentalSerializationUtil.toByteArray(empty); in unknownFieldsUnrecognized()
130 ExperimentalSerializationUtil.fromByteArray(roundtripBytes, Proto2Message.class); in unknownFieldsUnrecognized()
179 Proto2Message parsed = ExperimentalSerializationUtil.fromByteArray(output, Proto2Message.class); in unknownEnum()
DProto2ExtensionLookupSchemaTest.java68 ExperimentalSerializationUtil.fromByteArray( in testExtensions()
73 ExperimentalSerializationUtil.fromByteArray( in testExtensions()
74 ExperimentalSerializationUtil.toByteArray(message), in testExtensions()
126 ExperimentalSerializationUtil.fromByteArray( in testUnknownEnum()
DAbstractProto3SchemaTest.java95 Proto3Message merged = ExperimentalSerializationUtil.fromByteArray(data, Proto3Message.class); in mergeOptionalMessageFields()
125 ExperimentalSerializationUtil.fromByteArray( in preserveUnknownFields()
136 Proto3Empty empty = ExperimentalSerializationUtil.fromByteArray(payload, Proto3Empty.class); in preserveUnknownFieldsProto2()
DAbstractProto3LiteSchemaTest.java96 ExperimentalSerializationUtil.fromByteArray(data, Proto3MessageLite.class); in mergeOptionalMessageFields()
127 ExperimentalSerializationUtil.fromByteArray( in retainUnknownFields()
DExperimentalSerializationUtil.java38 public class ExperimentalSerializationUtil { class
DAbstractSchemaTest.java114 byte[] serializedBytes = ExperimentalSerializationUtil.toByteArray(msg, schema); in roundtrip()
/external/protobuf/
DMakefile.am380 java/core/src/test/java/com/google/protobuf/ExperimentalSerializationUtil.java \