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.java2235 public void dumpAggregatedProtoForStatsd(ProtoOutputStream[] protoStreams, in dumpAggregatedProtoForStatsd() argument
2238 dumpProtoPreamble(protoStreams[shardIndex]); in dumpAggregatedProtoForStatsd()
2247 if (protoStreams[shardIndex].getRawSize() > maxRawShardSizeBytes) { in dumpAggregatedProtoForStatsd()
2249 if (shardIndex >= protoStreams.length) { in dumpAggregatedProtoForStatsd()
2255 dumpProtoPreamble(protoStreams[shardIndex]); in dumpAggregatedProtoForStatsd()
2262 procState.dumpAggregatedProtoForStatsd(protoStreams[shardIndex], in dumpAggregatedProtoForStatsd()
2270 protoStreams[i].flush(); in dumpAggregatedProtoForStatsd()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java2577 ProtoOutputStream[] protoStreams = new ProtoOutputStream[MAX_PROCSTATS_SHARDS];
2578 for (int i = 0; i < protoStreams.length; i++) {
2579 protoStreams[i] = new ProtoOutputStream();
2586 procStats.dumpAggregatedProtoForStatsd(protoStreams, MAX_PROCSTATS_RAW_SHARD_SIZE);
2588 for (int i = 0; i < protoStreams.length; i++) {
2589 byte[] bytes = protoStreams[i].getBytes(); // cache the value