OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:MessageNano
(Results
1 - 5
of
5
) sorted by null
/external/protobuf/java/src/main/java/com/google/protobuf/nano/
MessageNano.java
40
public abstract class
MessageNano
{
67
abstract public
MessageNano
mergeFrom(final CodedInputByteBufferNano input) throws IOException;
73
public static final byte[] toByteArray(
MessageNano
msg) {
88
public static final void toByteArray(
MessageNano
msg, byte [] data, int offset, int length) {
104
public static final <T extends
MessageNano
> T mergeFrom(T msg, final byte[] data)
113
public static final <T extends
MessageNano
> T mergeFrom(T msg, final byte[] data,
WireFormatNano.java
226
} else if (
MessageNano
.class.isAssignableFrom(clazz)) {
228
MessageNano
message = (
MessageNano
) clazz.newInstance();
312
} else if (
MessageNano
.class.isAssignableFrom(clazz)) {
313
MessageNano
messageValue = (
MessageNano
) object;
320
buffer.writeRawBytes(
MessageNano
.toByteArray(messageValue));
/packages/apps/Launcher3/util/com/android/launcher3/
DecoderRing.java
27
import com.google.protobuf.nano.
MessageNano
;
185
MessageNano
proto = null;
233
private static
MessageNano
decodeBackupData(byte[] payload, Class type, boolean fromLogs)
235
MessageNano
proto;// other types are wrapped in a checksum message
241
MessageNano
.mergeFrom(wrapper, payload);
255
proto = (
MessageNano
) type.newInstance();
257
MessageNano
.mergeFrom(proto, wrapper.payload);
/external/protobuf/java/src/test/java/com/google/protobuf/
NanoTest.java
38
import com.google.protobuf.nano.
MessageNano
;
86
byte [] result =
MessageNano
.toByteArray(msg);
119
byte [] result =
MessageNano
.toByteArray(msg);
143
byte [] result =
MessageNano
.toByteArray(msg);
163
byte [] result =
MessageNano
.toByteArray(msg);
184
byte [] result =
MessageNano
.toByteArray(msg);
205
byte [] result =
MessageNano
.toByteArray(msg);
226
byte [] result =
MessageNano
.toByteArray(msg);
247
byte [] result =
MessageNano
.toByteArray(msg);
268
byte [] result =
MessageNano
.toByteArray(msg)
[
all
...]
/packages/apps/Launcher3/src/com/android/launcher3/
LauncherBackupHelper.java
19
import com.google.protobuf.nano.
MessageNano
;
[
all
...]
Completed in 481 milliseconds