Home
last modified time | relevance | path

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

/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java662 final SparseLongArray intervalLengths = new SparseLongArray(); in testPackageUsageStatsIntervals() local
663 intervalLengths.put(UsageStatsManager.INTERVAL_DAILY, DAY); in testPackageUsageStatsIntervals()
664 intervalLengths.put(UsageStatsManager.INTERVAL_WEEKLY, WEEK); in testPackageUsageStatsIntervals()
665 intervalLengths.put(UsageStatsManager.INTERVAL_MONTHLY, MONTH); in testPackageUsageStatsIntervals()
666 intervalLengths.put(UsageStatsManager.INTERVAL_YEARLY, YEAR); in testPackageUsageStatsIntervals()
668 final int intervalCount = intervalLengths.size(); in testPackageUsageStatsIntervals()
670 final int intervalType = intervalLengths.keyAt(i); in testPackageUsageStatsIntervals()
671 final long intervalDuration = intervalLengths.valueAt(i); in testPackageUsageStatsIntervals()
1135 final SparseLongArray intervalLengths = new SparseLongArray(); in getAggrEventData() local
1136 intervalLengths.put(UsageStatsManager.INTERVAL_DAILY, DAY); in getAggrEventData()
[all …]