Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsBackgroundStatsTest.java57 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testBgTimeBase()
64 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_BACKGROUND); in testBgTimeBase()
86 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_RECEIVER); // background too in testBgTimeBase()
94 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testBgTimeBase()
101 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_NONEXISTENT); in testBgTimeBase()
117 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testScreenOffBgTimeBase()
134 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_BACKGROUND); in testScreenOffBgTimeBase()
149 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testScreenOffBgTimeBase()
165 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testWifiScan()
173 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_BACKGROUND); in testWifiScan()
[all …]
DBatteryStatsNoteTest.java63 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_TOP); in testNoteBluetoothScanResultLocked()
75 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_BACKGROUND); in testNoteBluetoothScanResultLocked()
97 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_TOP); in testNoteStartWakeLocked()
102 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_BACKGROUND); in testNoteStartWakeLocked()
145 bi.noteUidProcessStateLocked(UID, entry.getKey()); in testNoteUidProcessStateLocked()
303 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_TOP); in testAlarmStartAndFinishLocked()
340 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_TOP); in testAlarmStartAndFinishLocked_workSource()
385 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_TOP); in testNoteWakupAlarmLocked()
403 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_TOP); in testNoteWakupAlarmLocked_workSource_uid()
436 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_TOP); in testNoteWakupAlarmLocked_workSource_workChain()
[all …]
DBatteryStatsSensorTest.java43 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_CACHED_EMPTY); in testSensorStartStop()
44 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testSensorStartStop()
50 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_RECEIVER); in testSensorStartStop()
152 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testBatteryStatusOnToOff()
255 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testPooledBackgroundUsage()
263 bi.noteUidProcessStateLocked(UID_2, ActivityManager.PROCESS_STATE_RECEIVER); // background in testPooledBackgroundUsage()
271 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_BACKGROUND); in testPooledBackgroundUsage()
275 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_LAST_ACTIVITY); in testPooledBackgroundUsage()
287 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testPooledBackgroundUsage()
295 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_BACKGROUND); in testPooledBackgroundUsage()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java383 mStats.noteUidProcessStateLocked(uid, state); in noteUidProcessState()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java4000 public void noteUidProcessStateLocked(int uid, int state) { in noteUidProcessStateLocked() method in BatteryStatsImpl
/frameworks/base/config/
Dboot-image-profile.txt21056 HSPLcom/android/internal/os/BatteryStatsImpl;->noteUidProcessStateLocked(II)V
Dhiddenapi-greylist-max-o.txt95356 Lcom/android/internal/os/BatteryStatsImpl;->noteUidProcessStateLocked(II)V