Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsServTest.java249 public long getBatteryUptimeLocked() { in testStartLaunchedLockedWhileLaunched()
287 public long getBatteryUptimeLocked() { in testStartLaunchedLockedWhileNotLaunched()
323 public long getBatteryUptimeLocked() { in testStopLaunchedLockedWhileNotLaunched()
362 public long getBatteryUptimeLocked() { in testStopLaunchedLockedWhileLaunchedNormal()
400 public long getBatteryUptimeLocked() { in testStopLaunchedLockedWhileLaunchedTooQuick()
437 public long getBatteryUptimeLocked() { in testStartRunningLockedWhileRunning()
475 public long getBatteryUptimeLocked() { in testStartRunningLockedWhileNotRunning()
513 public long getBatteryUptimeLocked() { in testStopRunningLockedWhileRunningNormal()
551 public long getBatteryUptimeLocked() { in testStopRunningLockedWhileRunningTooQuick()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java8190 mLaunchedSince = mBsi.getBatteryUptimeLocked(); in startLaunchedLocked()
8197 long time = mBsi.getBatteryUptimeLocked() - mLaunchedSince; in stopLaunchedLocked()
8210 mRunningSince = mBsi.getBatteryUptimeLocked(); in startRunningLocked()
8217 long time = mBsi.getBatteryUptimeLocked() - mRunningSince; in stopRunningLocked()
10729 return computeBatteryUptime(getBatteryUptimeLocked(), STATS_CURRENT); in getAwakeTimeBattery()
10896 protected long getBatteryUptimeLocked() { in getBatteryUptimeLocked() method in BatteryStatsImpl