Home
last modified time | relevance | path

Searched refs:headerProto (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/cmds/statsd/src/subscriber/
DIncidentdReporter.cpp63 ProtoOutputStream headerProto; in getProtoData() local
64 headerProto.write(FIELD_TYPE_INT64 | FIELD_ID_ALERT_ID, (long long)rule_id); in getProtoData()
65 headerProto.write(FIELD_TYPE_STRING | FIELD_ID_REASON, reason); in getProtoData()
67 headerProto.start(FIELD_TYPE_MESSAGE | FIELD_ID_CONFIG_KEY); in getProtoData()
68 headerProto.write(FIELD_TYPE_INT32 | FIELD_ID_CONFIG_KEY_UID, configKey.GetUid()); in getProtoData()
69 headerProto.write(FIELD_TYPE_INT64 | FIELD_ID_CONFIG_KEY_ID, (long long)configKey.GetId()); in getProtoData()
70 headerProto.end(token); in getProtoData()
72 token = headerProto.start(FIELD_TYPE_MESSAGE | FIELD_ID_TRIGGER_DETAILS); in getProtoData()
76 headerProto.start(FIELD_TYPE_MESSAGE | FIELD_ID_TRIGGER_DETAILS_TRIGGER_METRIC); in getProtoData()
79 headerProto.write(FIELD_TYPE_INT64 | FIELD_ID_METRIC_VALUE_METRIC_ID, (long long)metricId); in getProtoData()
[all …]
/frameworks/base/libs/incident/src/
DIncidentReportArgs.cpp191 IncidentReportArgs::addHeader(const vector<uint8_t>& headerProto) in addHeader() argument
193 mHeaders.push_back(headerProto); in addHeader()
/frameworks/base/libs/incident/include/android/os/
DIncidentReportArgs.h53 void addHeader(const vector<uint8_t>& headerProto);