Home
last modified time | relevance | path

Searched refs:fieldTag (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/cmds/incidentd/src/
DPrivacyFilter.cpp42 uint32_t fieldTag, bool skip) { in write_field_or_skip() argument
43 uint8_t wireType = read_wire_type(fieldTag); in write_field_or_skip()
51 out->writeRawVarint(fieldTag); in write_field_or_skip()
57 out->writeRawVarint(fieldTag); in write_field_or_skip()
64 out->writeLengthDelimitedHeader(read_field_id(fieldTag), bytesToWrite); in write_field_or_skip()
69 out->writeRawVarint(fieldTag); in write_field_or_skip()
98 uint32_t fieldTag = in->readRawVarint(); in strip_field() local
99 uint32_t fieldId = read_field_id(fieldTag); in strip_field()
106 write_field_or_skip(out, in, fieldTag, skip); in strip_field()
117 "relative pos %zu, ", fieldId, read_wire_type(fieldTag), fieldTag, depth, in strip_field()
[all …]
/frameworks/base/cmds/incidentd/tests/
DProtoFileReader_test.cpp82 uint64_t fieldTag = reader->readRawVarint(); in TEST() local
83 uint32_t fieldId = read_field_id(fieldTag); in TEST()
84 uint8_t wireType = read_wire_type(fieldTag); in TEST()