Home
last modified time | relevance | path

Searched refs:getUptime (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsTimeBaseTest.java111 + " mUptime=" + tb.getUptime(250) in testRunning()
118 Assert.assertEquals(100, tb.getUptime(250)); in testRunning()
133 Assert.assertEquals(400, tb.getUptime(550)); in testRunning()
145 + " mUptime=" + tb.getUptime(250) in testRunning()
150 Assert.assertEquals(252, tb.getUptime(402)); in testRunning()
162 Assert.assertEquals(252, tb.getUptime(600)); in testRunning()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DDumpTruck.java86 .append(info.getUptime()) in captureHeaps()
DGarbageMonitor.java431 public long getUptime() { in getUptime() method in GarbageMonitor.ProcessMemInfo
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java1135 mUnpluggedUptime = getUptime(mUptimeStart); in init()
1148 mUnpluggedUptime = getUptime(uptime); in reset()
1157 return mUptime + getUptime(curTime); in computeUptime()
1159 return getUptime(curTime); in computeUptime()
1161 return getUptime(curTime) - mUnpluggedUptime; in computeUptime()
1178 public long getUptime(long curTime) { in getUptime() method in BatteryStatsImpl.TimeBase
1212 long batteryUptime = mUnpluggedUptime = getUptime(uptime); in setRunning()
1222 long batteryUptime = getUptime(uptime); in setRunning()
1257 final long runningUptime = getUptime(uptime); in writeToParcel()
13031 return mOnBatteryTimeBase.getUptime(mClocks.uptimeMillis() * 1000); in getBatteryUptimeLocked()
[all …]
/frameworks/base/config/
Dboot-image-profile.txt38702 HSPLcom/android/internal/os/BatteryStatsImpl$TimeBase;->getUptime(J)J