Home
last modified time | relevance | path

Searched refs:wireType (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/cmds/incidentd/tests/
DProtoFileReader_test.cpp84 uint8_t wireType = read_wire_type(fieldTag); in TEST() local
85 ASSERT_EQ(WIRE_TYPE_LENGTH_DELIMITED, wireType); in TEST()
/frameworks/base/cmds/incidentd/src/
DPrivacyFilter.cpp40 uint8_t wireType = read_wire_type(fieldTag); in write_field_or_skip() local
44 switch (wireType) { in write_field_or_skip()
352 uint8_t wireType = read_wire_type(fieldTag); in filter_and_write_report() local
353 if (wireType == WIRE_TYPE_LENGTH_DELIMITED in filter_and_write_report()
/frameworks/base/core/java/android/util/proto/
DProtoUtils.java93 final int wireType = proto.getWireType(); in currentFieldToString() local
99 switch (wireType) { in currentFieldToString()
DProtoStream.java479 public static @Nullable String getWireTypeString(@WireType int wireType) { in getWireTypeString() argument
480 switch (wireType) { in getWireTypeString()
DProtoInputStream.java947 private void assertWireType(int wireType) { in assertWireType() argument
948 if (wireType != mWireType) { in assertWireType()
951 + " does not match expected wire type " + getWireTypeString(wireType) in assertWireType()
DProtoOutputStream.java2282 public void writeTag(int id, @WireType int wireType) { in writeTag() argument
2283 mBuffer.writeRawVarint32((id << FIELD_ID_SHIFT) | wireType); in writeTag()
2381 final int wireType = tag & WIRE_TYPE_MASK; in editEncodedSize() local
2382 switch (wireType) { in editEncodedSize()
2427 + Integer.toHexString(tag) + " wireType=" + wireType in editEncodedSize()
2450 final int wireType = tag & WIRE_TYPE_MASK; in compactSizes() local
2451 switch (wireType) { in compactSizes()
2486 + Integer.toHexString(tag) + " wireType=" + wireType in compactSizes()
/frameworks/base/libs/protoutil/src/
DEncodedBuffer.cpp214 EncodedBuffer::writeHeader(uint32_t fieldId, uint8_t wireType) in writeHeader() argument
216 return writeRawVarint32((fieldId << FIELD_ID_SHIFT) | wireType); in writeHeader()
/frameworks/base/libs/protoutil/include/android/util/
DEncodedBuffer.h127 size_t writeHeader(uint32_t fieldId, uint8_t wireType);