Home
last modified time | relevance | path

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

/platform_testing/libraries/collectors-helper/statsd/test/src/com/android/helpers/
DCpuUsageHelperTest.java51 private static final String TOTAL_CPU_USAGE = "total_cpu_usage"; field in CpuUsageHelperTest
136 if (cpuUsageEntry.getKey().equals(TOTAL_CPU_USAGE)) { in testCpuUsageMetricsKey()
167 assertTrue(cpuUsage.containsKey(TOTAL_CPU_USAGE)); in testCpuDisabledPerPkgPerFreq()
224 assertTrue(cpuUsage.containsKey(TOTAL_CPU_USAGE)); in testCpuEnableCpuUtilization()
228 assertTrue(cpuUsage.get(TOTAL_CPU_TIME) >= cpuUsage.get(TOTAL_CPU_USAGE)); in testCpuEnableCpuUtilization()
229 assertTrue(cpuUsage.get(TOTAL_CPU_USAGE) > 0); in testCpuEnableCpuUtilization()
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/
DCpuUsageHelper.java46 private static final String TOTAL_CPU_USAGE = "total_cpu_usage"; field in CpuUsageHelper
187 cpuUsageFinalMap.put(TOTAL_CPU_USAGE, totalCpuUsage); in getMetrics()
199 ((double) cpuUsageFinalMap.get(TOTAL_CPU_USAGE) / totalCpuTime) * 100; in getMetrics()