Searched refs:newWs (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/com/android/internal/app/ |
D | IBatteryStats.aidl | 84 int type, in WorkSource newWs, int newPid, String newName, in noteChangeWakelockFromSource() argument 114 void noteWifiRunningChanged(in WorkSource oldWs, in WorkSource newWs); in noteWifiRunningChanged() argument
|
/frameworks/base/core/java/android/os/ |
D | WorkSource.java | 1070 public static ArrayList<WorkChain>[] diffChains(WorkSource oldWs, WorkSource newWs) { 1081 if (newWs.mChains == null || !newWs.mChains.contains(wc)) { 1090 if (newWs.mChains != null) { 1091 for (int i = 0; i < newWs.mChains.size(); ++i) { 1092 final WorkChain wc = newWs.mChains.get(i); 1095 newChains = new ArrayList<>(newWs.mChains.size());
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 548 String historyName, int type, WorkSource newWs, int newPid, String newName, in noteChangeWakelockFromSource() argument 553 newWs, newPid, newName, newHistoryName, newType, newUnimportantForLogging); in noteChangeWakelockFromSource() 632 public void noteGpsChanged(WorkSource oldWs, WorkSource newWs) { in noteGpsChanged() argument 635 mStats.noteGpsChangedLocked(oldWs, newWs); in noteGpsChanged() 895 public void noteWifiRunningChanged(WorkSource oldWs, WorkSource newWs) { in noteWifiRunningChanged() argument 898 mStats.noteWifiRunningChangedLocked(oldWs, newWs); in noteWifiRunningChanged() 901 newWs, StatsLog.WIFI_RUNNING_STATE_CHANGED__STATE__ON); in noteWifiRunningChanged()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 4373 String historyName, int type, WorkSource newWs, int newPid, String newName, in noteChangeWakelockFromSourceLocked() argument 4378 List<WorkChain>[] wcs = WorkSource.diffChains(ws, newWs); in noteChangeWakelockFromSourceLocked() 4385 final int NN = newWs.size(); in noteChangeWakelockFromSourceLocked() 4387 noteStartWakeLocked(newWs.get(i), newPid, null, newName, newHistoryName, newType, in noteChangeWakelockFromSourceLocked() 4621 public void noteGpsChangedLocked(WorkSource oldWs, WorkSource newWs) { in noteGpsChangedLocked() argument 4622 for (int i = 0; i < newWs.size(); ++i) { in noteGpsChangedLocked() 4623 noteStartGpsLocked(newWs.get(i), null); in noteGpsChangedLocked() 4630 List<WorkChain>[] wcs = WorkSource.diffChains(oldWs, newWs); in noteGpsChangedLocked() 5718 public void noteWifiRunningChangedLocked(WorkSource oldWs, WorkSource newWs) { in noteWifiRunningChangedLocked() argument 5735 N = newWs.size(); in noteWifiRunningChangedLocked() [all …]
|