Home
last modified time | relevance | path

Searched refs:bucketInfo (Results 1 – 3 of 3) sorted by relevance

/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/
DStatsdHelper.java340 for (com.android.os.nano.StatsLog.GaugeBucketInfo bucketInfo : in backfillGaugeMetricData()
341 gaugeMetricData.bucketInfo) { in backfillGaugeMetricData()
342 backfillGaugeBucket(bucketInfo); in backfillGaugeMetricData()
347 private void backfillGaugeBucket(com.android.os.nano.StatsLog.GaugeBucketInfo bucketInfo) { in backfillGaugeBucket() argument
348 if (bucketInfo.atom.length != 0) { in backfillGaugeBucket()
353 bucketInfo.aggregatedAtomInfo) { in backfillGaugeBucket()
359 bucketInfo.atom = new AtomsProto.Atom[atomTimestampData.size()]; in backfillGaugeBucket()
360 bucketInfo.elapsedTimestampNanos = new long[atomTimestampData.size()]; in backfillGaugeBucket()
362 bucketInfo.atom[i] = atomTimestampData.get(i).first; in backfillGaugeBucket()
363 bucketInfo.elapsedTimestampNanos[i] = atomTimestampData.get(i).second; in backfillGaugeBucket()
DBatteryUsageStatsHelper.java310 if (gaugeMetricData.bucketInfo.length < 2) { in getMetrics()
314 gaugeMetricData.bucketInfo.length)); in getMetrics()
316 beforeBuckets.add(gaugeMetricData.bucketInfo[0]); in getMetrics()
317 afterBuckets.add(gaugeMetricData.bucketInfo[gaugeMetricData.bucketInfo.length - 1]); in getMetrics()
DCpuUsageHelper.java85 Log.v(LOG_TAG, "Bucket Size: " + gaugeMetric.bucketInfo.length); in getMetrics()
86 for (StatsLog.GaugeBucketInfo gaugeBucketInfo : gaugeMetric.bucketInfo) { in getMetrics()