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.cpp43 uint8_t wireType = read_wire_type(fieldTag); in write_field_or_skip() local
47 switch (wireType) { in write_field_or_skip()
344 uint8_t wireType = read_wire_type(fieldTag); in filter_and_write_report() local
345 if (wireType == WIRE_TYPE_LENGTH_DELIMITED in filter_and_write_report()
/frameworks/base/core/java/android/util/proto/
DProtoStream.java408 public static @Nullable String getWireTypeString(int wireType) { in getWireTypeString() argument
409 switch (wireType) { in getWireTypeString()
DProtoUtils.java81 final int wireType = proto.getWireType(); in currentFieldToString() local
87 switch (wireType) { in currentFieldToString()
DProtoInputStream.java923 private void assertWireType(int wireType) { in assertWireType() argument
924 if (wireType != mWireType) { in assertWireType()
927 + " does not match expected wire type " + getWireTypeString(wireType) in assertWireType()
DProtoOutputStream.java2276 public void writeTag(int id, int wireType) { in writeTag() argument
2277 mBuffer.writeRawVarint32((id << FIELD_ID_SHIFT) | wireType); in writeTag()
2375 final int wireType = tag & WIRE_TYPE_MASK; in editEncodedSize() local
2376 switch (wireType) { in editEncodedSize()
2421 + Integer.toHexString(tag) + " wireType=" + wireType in editEncodedSize()
2444 final int wireType = tag & WIRE_TYPE_MASK; in compactSizes() local
2445 switch (wireType) { in compactSizes()
2480 + Integer.toHexString(tag) + " wireType=" + wireType in compactSizes()
/frameworks/base/libs/protoutil/src/
DEncodedBuffer.cpp206 EncodedBuffer::writeHeader(uint32_t fieldId, uint8_t wireType) in writeHeader() argument
208 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);