Home
last modified time | relevance | path

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

/frameworks/base/cmds/incidentd/src/
DPrivacyFilter.cpp39 uint32_t fieldTag, bool skip) { in write_field_or_skip() argument
40 uint8_t wireType = read_wire_type(fieldTag); in write_field_or_skip()
48 out->writeRawVarint(fieldTag); in write_field_or_skip()
54 out->writeRawVarint(fieldTag); in write_field_or_skip()
61 out->writeLengthDelimitedHeader(read_field_id(fieldTag), bytesToWrite); in write_field_or_skip()
66 out->writeRawVarint(fieldTag); in write_field_or_skip()
95 uint32_t fieldTag = in->readRawVarint(); in strip_field() local
96 uint32_t fieldId = read_field_id(fieldTag); in strip_field()
103 write_field_or_skip(out, in, fieldTag, skip); in strip_field()
114 "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()