/frameworks/base/core/java/com/android/internal/app/ |
D | IBatteryStats.aidl | 77 void noteStartWakelock(int uid, int pid, String name, String historyName, in noteStartWakelock() argument 79 void noteStopWakelock(int uid, int pid, String name, String historyName, int type); in noteStopWakelock() argument 81 void noteStartWakelockFromSource(in WorkSource ws, int pid, String name, String historyName, in noteStartWakelockFromSource() argument 86 void noteStopWakelockFromSource(in WorkSource ws, int pid, String name, String historyName, in noteStopWakelockFromSource() argument 88 void noteLongPartialWakelockStart(String name, String historyName, int uid); in noteLongPartialWakelockStart() argument 89 void noteLongPartialWakelockStartFromSource(String name, String historyName, in noteLongPartialWakelockStartFromSource() argument 91 void noteLongPartialWakelockFinish(String name, String historyName, int uid); in noteLongPartialWakelockFinish() argument 92 void noteLongPartialWakelockFinishFromSource(String name, String historyName, in noteLongPartialWakelockFinishFromSource() argument
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 509 public void noteStartWakelock(int uid, int pid, String name, String historyName, int type, in noteStartWakelock() argument 513 mStats.noteStartWakeLocked(uid, pid, null, name, historyName, type, in noteStartWakelock() 519 public void noteStopWakelock(int uid, int pid, String name, String historyName, int type) { in noteStopWakelock() argument 522 mStats.noteStopWakeLocked(uid, pid, null, name, historyName, type, in noteStopWakelock() 528 String historyName, int type, boolean unimportantForLogging) { in noteStartWakelockFromSource() argument 531 mStats.noteStartWakeFromSourceLocked(ws, pid, name, historyName, in noteStartWakelockFromSource() 537 String historyName, int type, WorkSource newWs, int newPid, String newName, in noteChangeWakelockFromSource() argument 541 mStats.noteChangeWakelockFromSourceLocked(ws, pid, name, historyName, type, in noteChangeWakelockFromSource() 546 public void noteStopWakelockFromSource(WorkSource ws, int pid, String name, String historyName, in noteStopWakelockFromSource() argument 550 mStats.noteStopWakeFromSourceLocked(ws, pid, name, historyName, type); in noteStopWakelockFromSource() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 4220 public void noteStartWakeLocked(int uid, int pid, WorkChain wc, String name, String historyName, in noteStartWakeLocked() argument 4227 if (historyName == null) { in noteStartWakeLocked() 4228 historyName = name; in noteStartWakeLocked() 4231 if (mActiveEvents.updateState(HistoryItem.EVENT_WAKE_LOCK_START, historyName, in noteStartWakeLocked() 4234 HistoryItem.EVENT_WAKE_LOCK_START, historyName, uid); in noteStartWakeLocked() 4242 mHistoryCur.wakelockTag.string = mInitialAcquireWakeName = historyName; in noteStartWakeLocked() 4252 mHistoryCur.wakelockTag.string = mInitialAcquireWakeName = historyName; in noteStartWakeLocked() 4284 public void noteStopWakeLocked(int uid, int pid, WorkChain wc, String name, String historyName, in noteStopWakeLocked() argument 4290 if (historyName == null) { in noteStopWakeLocked() 4291 historyName = name; in noteStopWakeLocked() [all …]
|