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.java2242 public void dumpAggregatedProtoForStatsd(ProtoOutputStream[] protoStreams, in dumpAggregatedProtoForStatsd() argument
2245 dumpProtoPreamble(protoStreams[shardIndex]); in dumpAggregatedProtoForStatsd()
2254 if (protoStreams[shardIndex].getRawSize() > maxRawShardSizeBytes) { in dumpAggregatedProtoForStatsd()
2256 if (shardIndex >= protoStreams.length) { in dumpAggregatedProtoForStatsd()
2262 dumpProtoPreamble(protoStreams[shardIndex]); in dumpAggregatedProtoForStatsd()
2269 procState.dumpAggregatedProtoForStatsd(protoStreams[shardIndex], in dumpAggregatedProtoForStatsd()
2277 protoStreams[i].flush(); in dumpAggregatedProtoForStatsd()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java2809 ProtoOutputStream[] protoStreams = new ProtoOutputStream[MAX_PROCSTATS_SHARDS];
2810 for (int i = 0; i < protoStreams.length; i++) {
2811 protoStreams[i] = new ProtoOutputStream();
2818 procStats.dumpAggregatedProtoForStatsd(protoStreams, MAX_PROCSTATS_RAW_SHARD_SIZE);
2820 for (int i = 0; i < protoStreams.length; i++) {
2821 byte[] bytes = protoStreams[i].getBytes(); // cache the value