Lines Matching refs:protoOutput
164 ProtoOutputStream* protoOutput) { in onDumpReportLocked() argument
170 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_ID, (long long)mMetricId); in onDumpReportLocked()
171 protoOutput->write(FIELD_TYPE_BOOL | FIELD_ID_IS_ACTIVE, isActiveLocked()); in onDumpReportLocked()
177 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_TIME_BASE, (long long)mTimeBaseNs); in onDumpReportLocked()
178 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_BUCKET_SIZE, (long long)mBucketSizeNs); in onDumpReportLocked()
183 uint64_t dimenPathToken = protoOutput->start( in onDumpReportLocked()
185 writeDimensionPathToProto(mDimensionsInWhat, protoOutput); in onDumpReportLocked()
186 protoOutput->end(dimenPathToken); in onDumpReportLocked()
190 uint64_t protoToken = protoOutput->start(FIELD_TYPE_MESSAGE | FIELD_ID_COUNT_METRICS); in onDumpReportLocked()
197 protoOutput->start(FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | FIELD_ID_DATA); in onDumpReportLocked()
201 uint64_t dimensionToken = protoOutput->start( in onDumpReportLocked()
203 writeDimensionToProto(dimensionKey.getDimensionKeyInWhat(), str_set, protoOutput); in onDumpReportLocked()
204 protoOutput->end(dimensionToken); in onDumpReportLocked()
207 FIELD_ID_DIMENSION_LEAF_IN_WHAT, str_set, protoOutput); in onDumpReportLocked()
211 uint64_t stateToken = protoOutput->start(FIELD_TYPE_MESSAGE | FIELD_COUNT_REPEATED | in onDumpReportLocked()
213 writeStateToProto(state, protoOutput); in onDumpReportLocked()
214 protoOutput->end(stateToken); in onDumpReportLocked()
218 uint64_t bucketInfoToken = protoOutput->start( in onDumpReportLocked()
222 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_START_BUCKET_ELAPSED_MILLIS, in onDumpReportLocked()
224 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_END_BUCKET_ELAPSED_MILLIS, in onDumpReportLocked()
227 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_BUCKET_NUM, in onDumpReportLocked()
230 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_COUNT, (long long)bucket.mCount); in onDumpReportLocked()
231 protoOutput->end(bucketInfoToken); in onDumpReportLocked()
235 protoOutput->end(wrapperToken); in onDumpReportLocked()
238 protoOutput->end(protoToken); in onDumpReportLocked()