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()
350 uint8_t wireType = read_wire_type(fieldTag); in filter_and_write_report() local
351 if (wireType == WIRE_TYPE_LENGTH_DELIMITED in filter_and_write_report()
/frameworks/base/core/java/android/util/proto/
DProtoUtils.java91 final int wireType = proto.getWireType(); in currentFieldToString() local
97 switch (wireType) { in currentFieldToString()
DProtoStream.java478 public static @Nullable String getWireTypeString(@WireType int wireType) { in getWireTypeString() argument
479 switch (wireType) { in getWireTypeString()
DProtoInputStream.java943 private void assertWireType(int wireType) { in assertWireType() argument
944 if (wireType != mWireType) { in assertWireType()
947 + " does not match expected wire type " + getWireTypeString(wireType) in assertWireType()
DProtoOutputStream.java2281 public void writeTag(int id, @WireType int wireType) { in writeTag() argument
2282 mBuffer.writeRawVarint32((id << FIELD_ID_SHIFT) | wireType); in writeTag()
2380 final int wireType = tag & WIRE_TYPE_MASK; in editEncodedSize() local
2381 switch (wireType) { in editEncodedSize()
2426 + Integer.toHexString(tag) + " wireType=" + wireType in editEncodedSize()
2449 final int wireType = tag & WIRE_TYPE_MASK; in compactSizes() local
2450 switch (wireType) { in compactSizes()
2485 + Integer.toHexString(tag) + " wireType=" + wireType in compactSizes()
/frameworks/base/libs/protoutil/src/
DEncodedBuffer.cpp212 EncodedBuffer::writeHeader(uint32_t fieldId, uint8_t wireType) in writeHeader() argument
214 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);