Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/tests/metrics/
DCountMetricProducer_test.cpp141 const auto& bucketInfo = buckets[0]; in TEST() local
142 EXPECT_EQ(bucketStartTimeNs, bucketInfo.mBucketStartNs); in TEST()
143 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, bucketInfo.mBucketEndNs); in TEST()
144 EXPECT_EQ(1LL, bucketInfo.mCount); in TEST()
198 const auto& bucketInfo = buckets[0]; in TEST() local
199 EXPECT_EQ(bucketStartTimeNs, bucketInfo.mBucketStartNs); in TEST()
200 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs, bucketInfo.mBucketEndNs); in TEST()
201 EXPECT_EQ(1LL, bucketInfo.mCount); in TEST()
/frameworks/base/core/java/android/app/usage/
DUsageStatsManager.java541 final AppStandbyInfo bucketInfo = bucketList.get(i); in getAppStandbyBuckets() local
542 bucketMap.put(bucketInfo.mPackageName, bucketInfo.mStandbyBucket); in getAppStandbyBuckets()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java1040 for (AppStandbyInfo bucketInfo : bucketList) { in setAppStandbyBuckets()
1041 final String packageName = bucketInfo.mPackageName; in setAppStandbyBuckets()
1042 final int bucket = bucketInfo.mStandbyBucket; in setAppStandbyBuckets()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java2264 for (AppStandbyInfo bucketInfo : buckets.getList()) {
2265 pw.print(bucketInfo.mPackageName); pw.print(": ");
2266 pw.println(bucketInfo.mStandbyBucket);