Home
last modified time | relevance | path

Searched refs:noteUidProcessStateLocked (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryStatsBackgroundStatsTest.java69 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testBgTimeBase()
76 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_BACKGROUND); in testBgTimeBase()
98 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_RECEIVER); // background too in testBgTimeBase()
106 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testBgTimeBase()
113 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_NONEXISTENT); in testBgTimeBase()
130 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testScreenOffBgTimeBase()
147 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_BACKGROUND); in testScreenOffBgTimeBase()
162 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testScreenOffBgTimeBase()
179 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testWifiScan()
187 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_BACKGROUND); in testWifiScan()
[all …]
DBatteryStatsSensorTest.java56 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_CACHED_EMPTY); in testSensorStartStop()
57 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testSensorStartStop()
63 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_RECEIVER); in testSensorStartStop()
165 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testBatteryStatusOnToOff()
267 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testPooledBackgroundUsage()
275 bi.noteUidProcessStateLocked(UID_2, ActivityManager.PROCESS_STATE_RECEIVER); // background in testPooledBackgroundUsage()
283 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_BACKGROUND); in testPooledBackgroundUsage()
287 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_LAST_ACTIVITY); in testPooledBackgroundUsage()
299 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testPooledBackgroundUsage()
307 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_BACKGROUND); in testPooledBackgroundUsage()
[all …]
DBatteryStatsNoteTest.java114 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_TOP); in testNoteBluetoothScanResultLocked()
126 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_BACKGROUND); in testNoteBluetoothScanResultLocked()
148 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_TOP); in testNoteStartWakeLocked()
153 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_BACKGROUND); in testNoteStartWakeLocked()
187 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_TOP); in testNoteStartWakeLocked_isolatedUid()
192 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_BACKGROUND); in testNoteStartWakeLocked_isolatedUid()
229 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_TOP); in testNoteStartWakeLocked_isolatedUidRace()
234 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_BACKGROUND); in testNoteStartWakeLocked_isolatedUidRace()
276 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_TOP); in testNoteLongPartialWakelockStart_isolatedUid()
280 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_BACKGROUND); in testNoteLongPartialWakelockStart_isolatedUid()
[all …]
DBluetoothPowerStatsCollectorTest.java182 mBatteryStats.noteUidProcessStateLocked(APP_UID1, ActivityManager.PROCESS_STATE_TOP, in triggering()
DScreenPowerCalculatorTest.java399 batteryStats.noteUidProcessStateLocked(uid, procState, realtimeMs, uptimeMs); in setProcState()
DBatteryStatsImplTest.java183 mBatteryStatsImpl.noteUidProcessStateLocked(testUids[i], activityManagerProcStates[i]); in testUpdateProcStateCpuTimes()
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java1021 mStats.noteUidProcessStateLocked(uid, state, elapsedRealtime, uptime); in noteUidProcessState()
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryStatsImpl.java4707 public void noteUidProcessStateLocked(int uid, int state) { in noteUidProcessStateLocked() method in BatteryStatsImpl
4708 noteUidProcessStateLocked(uid, state, mClock.elapsedRealtime(), mClock.uptimeMillis()); in noteUidProcessStateLocked()
4713 public void noteUidProcessStateLocked(int uid, int state, in noteUidProcessStateLocked() method in BatteryStatsImpl
/frameworks/base/services/
Dart-profile3137 HSPLcom/android/server/power/stats/BatteryStatsImpl;->noteUidProcessStateLocked(IIJJ)V+]Lcom/androi…
Dart-wear-profile22156 HPLcom/android/server/power/stats/BatteryStatsImpl;->noteUidProcessStateLocked(IIJJ)V
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt73917 Lcom/android/internal/os/BatteryStatsImpl;->noteUidProcessStateLocked(II)V