Home
last modified time | relevance | path

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

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DPowerStatsExporterTest.java219 mHistory.recordProcessStateChange(1000, 1000, APP_UID1, in recordBatteryHistory()
221 mHistory.recordProcessStateChange(1000, 1000, APP_UID2, in recordBatteryHistory()
238 mHistory.recordProcessStateChange(4000, 4000, APP_UID1, in recordBatteryHistory()
253 mHistory.recordProcessStateChange(7000, 7000, APP_UID1, in recordBatteryHistory()
255 mHistory.recordProcessStateChange(7000, 7000, APP_UID2, in recordBatteryHistory()
DPowerStatsAggregatorTest.java93 mHistory.recordProcessStateChange(mClock.realtime, mClock.uptime, TEST_UID, in stateUpdates()
108 mHistory.recordProcessStateChange(mClock.realtime, mClock.uptime, TEST_UID, in stateUpdates()
197 mHistory.recordProcessStateChange(mClock.realtime, mClock.uptime, TEST_UID, in incompatiblePowerStats()
DBatteryStatsHistoryTest.java619 mHistory.recordProcessStateChange(200, 200, 42, BatteryConsumer.PROCESS_STATE_BACKGROUND); in recordProcStateChange()
620 mHistory.recordProcessStateChange(300, 300, 42, BatteryConsumer.PROCESS_STATE_FOREGROUND); in recordProcStateChange()
622 mHistory.recordProcessStateChange(400, 400, in recordProcStateChange()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHistory.java1375 public void recordProcessStateChange(long elapsedRealtimeMs, long uptimeMs, in recordProcessStateChange() method in BatteryStatsHistory
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryStatsImpl.java10873 mBsi.mHistory.recordProcessStateChange(elapsedRealtimeMs, uptimeMs, mUid, in updateUidProcessStateLocked()