Lines Matching refs:protoOutput
357 ProtoOutputStream* protoOutput) { in onDumpReportLocked() argument
363 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_ID, (long long)mMetricId); in onDumpReportLocked()
364 protoOutput->write(FIELD_TYPE_BOOL | FIELD_ID_IS_ACTIVE, isActiveLocked()); in onDumpReportLocked()
371 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_TIME_BASE, (long long)mTimeBaseNs); in onDumpReportLocked()
372 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_BUCKET_SIZE, (long long)mBucketSizeNs); in onDumpReportLocked()
376 uint64_t dimenPathToken = protoOutput->start( in onDumpReportLocked()
378 writeDimensionPathToProto(mDimensionsInWhat, protoOutput); in onDumpReportLocked()
379 protoOutput->end(dimenPathToken); in onDumpReportLocked()
383 uint64_t protoToken = protoOutput->start(FIELD_TYPE_MESSAGE | FIELD_ID_DURATION_METRICS); in onDumpReportLocked()
392 protoOutput->start(FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | FIELD_ID_DATA); in onDumpReportLocked()
396 uint64_t dimensionToken = protoOutput->start( in onDumpReportLocked()
398 writeDimensionToProto(dimensionKey.getDimensionKeyInWhat(), str_set, protoOutput); in onDumpReportLocked()
399 protoOutput->end(dimensionToken); in onDumpReportLocked()
402 FIELD_ID_DIMENSION_LEAF_IN_WHAT, str_set, protoOutput); in onDumpReportLocked()
406 uint64_t stateToken = protoOutput->start(FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | in onDumpReportLocked()
408 writeStateToProto(state, protoOutput); in onDumpReportLocked()
409 protoOutput->end(stateToken); in onDumpReportLocked()
413 uint64_t bucketInfoToken = protoOutput->start( in onDumpReportLocked()
416 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_START_BUCKET_ELAPSED_MILLIS, in onDumpReportLocked()
418 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_END_BUCKET_ELAPSED_MILLIS, in onDumpReportLocked()
421 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_BUCKET_NUM, in onDumpReportLocked()
424 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_DURATION, (long long)bucket.mDuration); in onDumpReportLocked()
425 protoOutput->end(bucketInfoToken); in onDumpReportLocked()
430 protoOutput->end(wrapperToken); in onDumpReportLocked()
433 protoOutput->end(protoToken); in onDumpReportLocked()