Home
last modified time | relevance | path

Searched refs:protoStreams (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessStats.java2357 public void dumpAggregatedProtoForStatsd(ProtoOutputStream[] protoStreams, in dumpAggregatedProtoForStatsd() argument
2360 dumpProtoPreamble(protoStreams[shardIndex]); in dumpAggregatedProtoForStatsd()
2369 if (protoStreams[shardIndex].getRawSize() > maxRawShardSizeBytes) { in dumpAggregatedProtoForStatsd()
2371 if (shardIndex >= protoStreams.length) { in dumpAggregatedProtoForStatsd()
2377 dumpProtoPreamble(protoStreams[shardIndex]); in dumpAggregatedProtoForStatsd()
2384 procState.dumpAggregatedProtoForStatsd(protoStreams[shardIndex], in dumpAggregatedProtoForStatsd()
2392 protoStreams[i].flush(); in dumpAggregatedProtoForStatsd()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java3202 ProtoOutputStream[] protoStreams = new ProtoOutputStream[MAX_PROCSTATS_SHARDS];
3203 for (int i = 0; i < protoStreams.length; i++) {
3204 protoStreams[i] = new ProtoOutputStream();
3206 procStats.dumpAggregatedProtoForStatsd(protoStreams, MAX_PROCSTATS_RAW_SHARD_SIZE);
3207 for (int i = 0; i < protoStreams.length; i++) {
3208 byte[] bytes = protoStreams[i].getBytes(); // cache the value