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.java625 final SparseLongArray intervalLengths = new SparseLongArray(); in testPackageUsageStatsIntervals() local
626 intervalLengths.put(UsageStatsManager.INTERVAL_DAILY, DAY); in testPackageUsageStatsIntervals()
627 intervalLengths.put(UsageStatsManager.INTERVAL_WEEKLY, WEEK); in testPackageUsageStatsIntervals()
628 intervalLengths.put(UsageStatsManager.INTERVAL_MONTHLY, MONTH); in testPackageUsageStatsIntervals()
629 intervalLengths.put(UsageStatsManager.INTERVAL_YEARLY, YEAR); in testPackageUsageStatsIntervals()
631 final int intervalCount = intervalLengths.size(); in testPackageUsageStatsIntervals()
633 final int intervalType = intervalLengths.keyAt(i); in testPackageUsageStatsIntervals()
634 final long intervalDuration = intervalLengths.valueAt(i); in testPackageUsageStatsIntervals()
1094 final SparseLongArray intervalLengths = new SparseLongArray(); in getAggrEventData() local
1095 intervalLengths.put(UsageStatsManager.INTERVAL_DAILY, DAY); in getAggrEventData()
[all …]