Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/os/
DCpuPowerCalculator.java35 app.cpuTimeMs = (u.getUserCpuTimeUs(statsType) + u.getSystemCpuTimeUs(statsType)) / 1000; in calculateApp()
DBatteryStatsImpl.java7749 public long getUserCpuTimeUs(int which) { in getUserCpuTimeUs() method in BatteryStatsImpl.Uid
13424 pw.print(uid.getUserCpuTimeUs(STATS_SINCE_CHARGED) / 1000); pw.print(" "); in dumpCpuStatsLocked()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsCpuTimesTest.java271 uidTimesUs[i][0], u.getUserCpuTimeUs(STATS_SINCE_CHARGED)); in testReadKernelUidCpuTimesLocked()
304 uidTimesUs[i][0] + deltasUs[i][0], u.getUserCpuTimeUs(STATS_SINCE_CHARGED)); in testReadKernelUidCpuTimesLocked()
347 uidTimesUs[i][0], u.getUserCpuTimeUs(STATS_SINCE_CHARGED)); in testReadKernelUidCpuTimesLocked_isolatedUid()
391 expectedUserTimeUs, u.getUserCpuTimeUs(STATS_SINCE_CHARGED)); in testReadKernelUidCpuTimesLocked_isolatedUid()
433 uidTimesUs[i][0], u.getUserCpuTimeUs(STATS_SINCE_CHARGED)); in testReadKernelUidCpuTimesLocked_invalidUid()
484 expectedUserTimeUs, u.getUserCpuTimeUs(STATS_SINCE_CHARGED)); in testReadKernelUidCpuTimesLocked_withPartialTimers()
502 expectedUserTimeUs, u.getUserCpuTimeUs(STATS_SINCE_CHARGED)); in testReadKernelUidCpuTimesLocked_withPartialTimers()
/frameworks/base/services/core/java/com/android/server/am/
DHealthStatsBatteryStatsWriter.java362 uid.getUserCpuTimeUs(STATS_SINCE_UNPLUGGED)/1000); in writeUid()
/frameworks/base/core/java/android/os/
DBatteryStats.java853 public abstract long getUserCpuTimeUs(int which); in getUserCpuTimeUs() method in BatteryStats.Uid
4181 final long userCpuTimeUs = u.getUserCpuTimeUs(which); in dumpCheckinLocked()
5861 final long userCpuTimeUs = u.getUserCpuTimeUs(which); in dumpLocked()
7260 proto.write(UidProto.Cpu.USER_DURATION_MS, roundUsToMs(u.getUserCpuTimeUs(which))); in dumpProtoAppsLocked()
/frameworks/base/config/
Dboot-image-profile.txt8844 HPLcom/android/internal/os/BatteryStatsImpl$Uid;->getUserCpuTimeUs(I)J
27082 HSPLandroid/os/BatteryStats$Uid;->getUserCpuTimeUs(I)J