Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DPerformanceCollector.java155 public static final String METRIC_KEY_CPU_TIME = "cpu_time"; field in PerformanceCollector
399 iteration.putLong(METRIC_KEY_CPU_TIME, mCpuTime); in addIteration()
520 mPerfSnapshot.putLong(METRIC_KEY_CPU_TIME, mSnapshotCpuTime); in endPerformanceSnapshot()
/frameworks/base/core/tests/coretests/src/android/os/
DPerformanceCollectorTest.java403 assertTrue(snapshot.containsKey(PerformanceCollector.METRIC_KEY_CPU_TIME)); in verifySnapshotBundle()
404 assertTrue(snapshot.getLong(PerformanceCollector.METRIC_KEY_CPU_TIME) > 0); in verifySnapshotBundle()
459 assertTrue(iteration.containsKey(PerformanceCollector.METRIC_KEY_CPU_TIME)); in verifyIterationBundle()
460 assertTrue(iteration.getLong(PerformanceCollector.METRIC_KEY_CPU_TIME) > 0); in verifyIterationBundle()