Searched refs:noteUidProcessStateLocked (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsBackgroundStatsTest.java | 55 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testBgTimeBase() 62 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_BACKGROUND); in testBgTimeBase() 84 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_RECEIVER); // background too in testBgTimeBase() 92 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testBgTimeBase() 99 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_NONEXISTENT); in testBgTimeBase() 115 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testScreenOffBgTimeBase() 132 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_BACKGROUND); in testScreenOffBgTimeBase() 147 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testScreenOffBgTimeBase() 163 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testWifiScan() 171 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_BACKGROUND); in testWifiScan() [all …]
|
D | BatteryStatsSensorTest.java | 41 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_CACHED_EMPTY); in testSensorStartStop() 42 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testSensorStartStop() 48 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_RECEIVER); in testSensorStartStop() 150 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testBatteryStatusOnToOff() 253 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testPooledBackgroundUsage() 261 bi.noteUidProcessStateLocked(UID_2, ActivityManager.PROCESS_STATE_RECEIVER); // background in testPooledBackgroundUsage() 269 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_BACKGROUND); in testPooledBackgroundUsage() 273 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_LAST_ACTIVITY); in testPooledBackgroundUsage() 285 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND); in testPooledBackgroundUsage() 293 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_BACKGROUND); in testPooledBackgroundUsage() [all …]
|
D | BatteryStatsNoteTest.java | 64 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_TOP); in testNoteBluetoothScanResultLocked() 76 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_BACKGROUND); in testNoteBluetoothScanResultLocked() 98 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_TOP); in testNoteStartWakeLocked() 103 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_IMPORTANT_BACKGROUND); in testNoteStartWakeLocked() 146 bi.noteUidProcessStateLocked(UID, entry.getKey()); in testNoteUidProcessStateLocked() 304 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_TOP); in testAlarmStartAndFinishLocked() 341 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_TOP); in testAlarmStartAndFinishLocked_workSource() 386 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_TOP); in testNoteWakupAlarmLocked() 404 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_TOP); in testNoteWakupAlarmLocked_workSource_uid() 437 bi.noteUidProcessStateLocked(UID, ActivityManager.PROCESS_STATE_TOP); in testNoteWakupAlarmLocked_workSource_workChain() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 366 mStats.noteUidProcessStateLocked(uid, state); in noteUidProcessState()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 4139 public void noteUidProcessStateLocked(int uid, int state) { in noteUidProcessStateLocked() method in BatteryStatsImpl
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 38846 HSPLcom/android/internal/os/BatteryStatsImpl;->noteUidProcessStateLocked(II)V
|