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/device/main/java/com/google/protobuf/nano/android/
ParcelableMessageNanoCreator.java
38
import com.google.protobuf.nano.
MessageNano
;
42
public final class ParcelableMessageNanoCreator<T extends
MessageNano
>
64
MessageNano
.mergeFrom(proto, data);
84
static <T extends
MessageNano
> void writeToParcel(Class<T> clazz,
MessageNano
message,
87
out.writeByteArray(
MessageNano
.toByteArray(message));
/external/protobuf/java/src/main/java/com/google/protobuf/nano/
MessageNano.java
41
public abstract class
MessageNano
{
93
public abstract
MessageNano
mergeFrom(CodedInputByteBufferNano input) throws IOException;
99
public static final byte[] toByteArray(
MessageNano
msg) {
113
public static final void toByteArray(
MessageNano
msg, byte[] data, int offset, int length) {
129
public static final <T extends
MessageNano
> T mergeFrom(T msg, final byte[] data)
138
public static final <T extends
MessageNano
> T mergeFrom(T msg, final byte[] data,
155
* Compares two {@code
MessageNano
}s and returns true if the message's are the same class and
158
public static final boolean messageNanoEquals(
MessageNano
a,
MessageNano
b) {
195
public
MessageNano
clone() throws CloneNotSupportedException
[
all
...]
/external/protobuf/java/src/test/java/com/google/protobuf/
NanoTest.java
44
import com.google.protobuf.nano.
MessageNano
;
104
byte [] result =
MessageNano
.toByteArray(msg);
143
byte [] result =
MessageNano
.toByteArray(msg);
161
assertEquals(0,
MessageNano
.toByteArray(msg).length);
173
byte [] result =
MessageNano
.toByteArray(msg);
193
byte [] result =
MessageNano
.toByteArray(msg);
214
byte [] result =
MessageNano
.toByteArray(msg);
235
byte [] result =
MessageNano
.toByteArray(msg);
256
byte [] result =
MessageNano
.toByteArray(msg);
277
byte [] result =
MessageNano
.toByteArray(msg)
[
all
...]
/packages/apps/Launcher3/src/com/android/launcher3/
LauncherBackupHelper.java
59
import com.google.protobuf.nano.
MessageNano
;
371
MessageNano
.mergeFrom(journal, readCheckedBytes(mBuffer, dataSize));
[
all
...]
/prebuilts/tools/common/m2/repository/com/google/protobuf/nano/protobuf-javanano/3.0.0-alpha-5/
protobuf-javanano-3.0.0-alpha-5.jar
Completed in 342 milliseconds