Lines Matching refs:protoOutput
250 ProtoOutputStream* protoOutput) { in onDumpReportLocked() argument
270 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_ID, (long long)mMetricId); in onDumpReportLocked()
271 protoOutput->write(FIELD_TYPE_BOOL | FIELD_ID_IS_ACTIVE, isActiveLocked()); in onDumpReportLocked()
276 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_TIME_BASE, (long long)mTimeBaseNs); in onDumpReportLocked()
277 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_BUCKET_SIZE, (long long)mBucketSizeNs); in onDumpReportLocked()
282 protoOutput->start(FIELD_TYPE_MESSAGE | FIELD_ID_DIMENSION_PATH_IN_WHAT); in onDumpReportLocked()
283 writeDimensionPathToProto(mDimensionsInWhat, protoOutput); in onDumpReportLocked()
284 protoOutput->end(dimenPathToken); in onDumpReportLocked()
288 uint64_t protoToken = protoOutput->start(FIELD_TYPE_MESSAGE | FIELD_ID_VALUE_METRICS); in onDumpReportLocked()
292 protoOutput->start(FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | FIELD_ID_SKIPPED); in onDumpReportLocked()
293 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_SKIPPED_START_MILLIS, in onDumpReportLocked()
295 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_SKIPPED_END_MILLIS, in onDumpReportLocked()
298 uint64_t dropEventToken = protoOutput->start(FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | in onDumpReportLocked()
300 protoOutput->write(FIELD_TYPE_INT32 | FIELD_ID_BUCKET_DROP_REASON, dropEvent.reason); in onDumpReportLocked()
301 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_DROP_TIME, in onDumpReportLocked()
304 protoOutput->end(dropEventToken); in onDumpReportLocked()
306 protoOutput->end(wrapperToken); in onDumpReportLocked()
313 protoOutput->start(FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | FIELD_ID_DATA); in onDumpReportLocked()
318 protoOutput->start(FIELD_TYPE_MESSAGE | FIELD_ID_DIMENSION_IN_WHAT); in onDumpReportLocked()
319 writeDimensionToProto(dimensionKey.getDimensionKeyInWhat(), str_set, protoOutput); in onDumpReportLocked()
320 protoOutput->end(dimensionToken); in onDumpReportLocked()
323 FIELD_ID_DIMENSION_LEAF_IN_WHAT, str_set, protoOutput); in onDumpReportLocked()
328 uint64_t stateToken = protoOutput->start(FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | in onDumpReportLocked()
330 writeStateToProto(state, protoOutput); in onDumpReportLocked()
331 protoOutput->end(stateToken); in onDumpReportLocked()
336 uint64_t bucketInfoToken = protoOutput->start( in onDumpReportLocked()
340 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_START_BUCKET_ELAPSED_MILLIS, in onDumpReportLocked()
342 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_END_BUCKET_ELAPSED_MILLIS, in onDumpReportLocked()
345 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_BUCKET_NUM, in onDumpReportLocked()
350 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_CONDITION_TRUE_NS, in onDumpReportLocked()
356 uint64_t valueToken = protoOutput->start( in onDumpReportLocked()
358 protoOutput->write(FIELD_TYPE_INT32 | FIELD_ID_VALUE_INDEX, in onDumpReportLocked()
361 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_VALUE_LONG, in onDumpReportLocked()
366 protoOutput->write(FIELD_TYPE_DOUBLE | FIELD_ID_VALUE_DOUBLE, in onDumpReportLocked()
373 protoOutput->end(valueToken); in onDumpReportLocked()
375 protoOutput->end(bucketInfoToken); in onDumpReportLocked()
377 protoOutput->end(wrapperToken); in onDumpReportLocked()
379 protoOutput->end(protoToken); in onDumpReportLocked()