Searched refs:newWs (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/com/android/internal/app/ |
D | IBatteryStats.aidl | 81 int type, in WorkSource newWs, int newPid, String newName, in noteChangeWakelockFromSource() argument 111 void noteWifiRunningChanged(in WorkSource oldWs, in WorkSource newWs); in noteWifiRunningChanged() argument
|
/frameworks/base/core/java/android/os/ |
D | WorkSource.java | 1029 public static ArrayList<WorkChain>[] diffChains(WorkSource oldWs, WorkSource newWs) { 1040 if (newWs.mChains == null || !newWs.mChains.contains(wc)) { 1049 if (newWs.mChains != null) { 1050 for (int i = 0; i < newWs.mChains.size(); ++i) { 1051 final WorkChain wc = newWs.mChains.get(i); 1054 newChains = new ArrayList<>(newWs.mChains.size());
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 528 String historyName, int type, WorkSource newWs, int newPid, String newName, in noteChangeWakelockFromSource() argument 533 newWs, newPid, newName, newHistoryName, newType, newUnimportantForLogging); in noteChangeWakelockFromSource() 612 public void noteGpsChanged(WorkSource oldWs, WorkSource newWs) { in noteGpsChanged() argument 615 mStats.noteGpsChangedLocked(oldWs, newWs); in noteGpsChanged() 868 public void noteWifiRunningChanged(WorkSource oldWs, WorkSource newWs) { in noteWifiRunningChanged() argument 871 mStats.noteWifiRunningChangedLocked(oldWs, newWs); in noteWifiRunningChanged()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 4513 String historyName, int type, WorkSource newWs, int newPid, String newName, in noteChangeWakelockFromSourceLocked() argument 4518 List<WorkChain>[] wcs = WorkSource.diffChains(ws, newWs); in noteChangeWakelockFromSourceLocked() 4525 final int NN = newWs.size(); in noteChangeWakelockFromSourceLocked() 4527 noteStartWakeLocked(newWs.get(i), newPid, null, newName, newHistoryName, newType, in noteChangeWakelockFromSourceLocked() 4781 public void noteGpsChangedLocked(WorkSource oldWs, WorkSource newWs) { in noteGpsChangedLocked() argument 4782 for (int i = 0; i < newWs.size(); ++i) { in noteGpsChangedLocked() 4783 noteStartGpsLocked(newWs.get(i), null); in noteGpsChangedLocked() 4790 List<WorkChain>[] wcs = WorkSource.diffChains(oldWs, newWs); in noteGpsChangedLocked() 5864 public void noteWifiRunningChangedLocked(WorkSource oldWs, WorkSource newWs) { in noteWifiRunningChangedLocked() argument 5881 N = newWs.size(); in noteWifiRunningChangedLocked() [all …]
|