Home
last modified time | relevance | path

Searched refs:mProto (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/cmds/statsd/src/metrics/
DEventMetricProducer.cpp69 mProto = std::make_unique<ProtoOutputStream>(); in EventMetricProducer()
79 mProto->clear(); in dropDataLocked()
105 mProto->clear(); in clearPastBucketsLocked()
116 if (mProto->size() <= 0) { in onDumpReportLocked()
120 size_t bufferSize = mProto->size(); in onDumpReportLocked()
123 std::unique_ptr<std::vector<uint8_t>> buffer = serializeProtoLocked(*mProto); in onDumpReportLocked()
129 mProto->clear(); in onDumpReportLocked()
148 mProto->start(FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | FIELD_ID_DATA); in onMatchedLogEventInternalLocked()
151 mProto->write(FIELD_TYPE_INT64 | FIELD_ID_ELAPSED_TIMESTAMP_NANOS, (long long) elapsedTimeNs); in onMatchedLogEventInternalLocked()
153 uint64_t eventToken = mProto->start(FIELD_TYPE_MESSAGE | FIELD_ID_ATOMS); in onMatchedLogEventInternalLocked()
[all …]
DEventMetricProducer.h71 std::unique_ptr<android::util::ProtoOutputStream> mProto; variable
/frameworks/base/cmds/statsd/src/shell/
DShellSubscriber.cpp103 mProto.clear(); in writeToOutputLocked()
109 uint64_t atomToken = mProto.start(util::FIELD_TYPE_MESSAGE | in writeToOutputLocked()
111 event->ToProto(mProto); in writeToOutputLocked()
112 mProto.end(atomToken); in writeToOutputLocked()
118 size_t bufferSize = mProto.size(); in writeToOutputLocked()
122 mProto.flush(mOutput); in writeToOutputLocked()
124 mProto.clear(); in writeToOutputLocked()
207 uint64_t atomToken = mProto.start(util::FIELD_TYPE_MESSAGE | in onLogEvent()
209 event.ToProto(mProto); in onLogEvent()
210 mProto.end(atomToken); in onLogEvent()
[all …]
DShellSubscriber.h98 android::util::ProtoOutputStream mProto; variable
/frameworks/base/libs/hwui/service/
DGraphicsStatsService.cpp315 protos::GraphicsStatsServiceDumpProto& proto() { return mProto; } in proto()
320 protos::GraphicsStatsServiceDumpProto mProto; member in android::uirenderer::GraphicsStatsService::Dump