Home
last modified time | relevance | path

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

/cts/tests/tests/car/src/android/car/cts/
DCarWatchdogManagerTest.java299 AtomicReference<List<ResourceOveruseStats>> statsList = new AtomicReference<>(); in testGetAllResourceOveruseStats() local
303 statsList.set(mCarWatchdogManager.getAllResourceOveruseStats( in testGetAllResourceOveruseStats()
307 return statsList.get().size() > 1 && containsPackage(mPackageName, in testGetAllResourceOveruseStats()
308 statsList.get()); in testGetAllResourceOveruseStats()
314 containsPackageWithStatsDifferentThan(mPackageName, statsList.get())).isTrue(); in testGetAllResourceOveruseStats()
916 List<ResourceOveruseStats> statsList) { in containsPackage() argument
917 return statsList.stream().anyMatch( in containsPackage()
922 List<ResourceOveruseStats> statsList) { in containsPackageWithStatsDifferentThan() argument
923 return statsList.stream().anyMatch( in containsPackageWithStatsDifferentThan()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java900 final List<UsageStats> statsList = mUsageStatsManager.queryUsageStats(intervalType, in testPackageUsageStatsIntervals() local
902 assertFalse(statsList.isEmpty()); in testPackageUsageStatsIntervals()
905 for (UsageStats stats : statsList) { in testPackageUsageStatsIntervals()
1591 List<EventStats> statsList = mUsageStatsManager.queryEventStats(intervalType, in getAggrEventData() local
1593 assertFalse(statsList.isEmpty()); in getAggrEventData()
1599 for (EventStats stats : statsList) { in getAggrEventData()