Lines Matching refs:protoOutput

184                                              ProtoOutputStream* protoOutput) {  in onDumpReportLocked()  argument
192 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_ID, (long long)mMetricId); in onDumpReportLocked()
193 protoOutput->write(FIELD_TYPE_BOOL | FIELD_ID_IS_ACTIVE, isActiveLocked()); in onDumpReportLocked()
199 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_TIME_BASE, (long long)mTimeBaseNs); in onDumpReportLocked()
200 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_BUCKET_SIZE, (long long)mBucketSizeNs); in onDumpReportLocked()
205 uint64_t dimenPathToken = protoOutput->start( in onDumpReportLocked()
207 writeDimensionPathToProto(mDimensionsInWhat, protoOutput); in onDumpReportLocked()
208 protoOutput->end(dimenPathToken); in onDumpReportLocked()
212 uint64_t protoToken = protoOutput->start(FIELD_TYPE_MESSAGE | FIELD_ID_GAUGE_METRICS); in onDumpReportLocked()
216 protoOutput->start(FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | FIELD_ID_SKIPPED); in onDumpReportLocked()
217 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_SKIPPED_START_MILLIS, in onDumpReportLocked()
219 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_SKIPPED_END_MILLIS, in onDumpReportLocked()
223 uint64_t dropEventToken = protoOutput->start(FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | in onDumpReportLocked()
225 protoOutput->write(FIELD_TYPE_INT32 | FIELD_ID_BUCKET_DROP_REASON, dropEvent.reason); in onDumpReportLocked()
226protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_DROP_TIME, (long long) (NanoToMillis(dropEvent.drop… in onDumpReportLocked()
227 protoOutput->end(dropEventToken); in onDumpReportLocked()
229 protoOutput->end(wrapperToken); in onDumpReportLocked()
237 protoOutput->start(FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | FIELD_ID_DATA); in onDumpReportLocked()
241 uint64_t dimensionToken = protoOutput->start( in onDumpReportLocked()
243 writeDimensionToProto(dimensionKey.getDimensionKeyInWhat(), str_set, protoOutput); in onDumpReportLocked()
244 protoOutput->end(dimensionToken); in onDumpReportLocked()
247 FIELD_ID_DIMENSION_LEAF_IN_WHAT, str_set, protoOutput); in onDumpReportLocked()
252 uint64_t bucketInfoToken = protoOutput->start( in onDumpReportLocked()
256 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_START_BUCKET_ELAPSED_MILLIS, in onDumpReportLocked()
258 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_END_BUCKET_ELAPSED_MILLIS, in onDumpReportLocked()
261 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_BUCKET_NUM, in onDumpReportLocked()
268 protoOutput->start(FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | in onDumpReportLocked()
270 writeFieldValueTreeToStream(mAtomId, *(atom.mFields), protoOutput); in onDumpReportLocked()
271 protoOutput->end(atomsToken); in onDumpReportLocked()
274 protoOutput->write(FIELD_TYPE_INT64 | FIELD_COUNT_REPEATED | in onDumpReportLocked()
279 protoOutput->end(bucketInfoToken); in onDumpReportLocked()
284 protoOutput->end(wrapperToken); in onDumpReportLocked()
286 protoOutput->end(protoToken); in onDumpReportLocked()