Searched refs:newWs (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/com/android/internal/app/ |
D | IBatteryStats.aidl | 89 int type, in WorkSource newWs, int newPid, String newName, in noteChangeWakelockFromSource() argument 119 void noteWifiRunningChanged(in WorkSource oldWs, in WorkSource newWs); in noteWifiRunningChanged() argument
|
/frameworks/base/core/java/android/os/ |
D | WorkSource.java | 1127 public static ArrayList<WorkChain>[] diffChains(WorkSource oldWs, WorkSource newWs) { 1138 if (newWs.mChains == null || !newWs.mChains.contains(wc)) { 1147 if (newWs.mChains != null) { 1148 for (int i = 0; i < newWs.mChains.size(); ++i) { 1149 final WorkChain wc = newWs.mChains.get(i); 1152 newChains = new ArrayList<>(newWs.mChains.size());
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 1024 final String historyName, final int type, final WorkSource newWs, final int newPid, in noteChangeWakelockFromSource() argument 1029 final WorkSource localNewWs = newWs != null ? new WorkSource(newWs) : null; in noteChangeWakelockFromSource() 1182 public void noteGpsChanged(final WorkSource oldWs, final WorkSource newWs) { in noteGpsChanged() argument 1185 final WorkSource localNewWs = newWs != null ? new WorkSource(newWs) : null; in noteGpsChanged() 1645 public void noteWifiRunningChanged(final WorkSource oldWs, final WorkSource newWs) { in noteWifiRunningChanged() argument 1648 final WorkSource localNewWs = newWs != null ? new WorkSource(newWs) : null; in noteWifiRunningChanged() 1660 newWs, FrameworkStatsLog.WIFI_RUNNING_STATE_CHANGED__STATE__ON); in noteWifiRunningChanged()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 4462 String historyName, int type, WorkSource newWs, int newPid, String newName, in noteChangeWakelockFromSourceLocked() argument 4464 noteChangeWakelockFromSourceLocked(ws, pid, name, historyName, type, newWs, newPid, in noteChangeWakelockFromSourceLocked() 4470 String historyName, int type, WorkSource newWs, int newPid, String newName, in noteChangeWakelockFromSourceLocked() argument 4473 List<WorkChain>[] wcs = WorkSource.diffChains(ws, newWs); in noteChangeWakelockFromSourceLocked() 4480 final int NN = newWs.size(); in noteChangeWakelockFromSourceLocked() 4482 noteStartWakeLocked(newWs.getUid(i), newPid, null, newName, newHistoryName, newType, in noteChangeWakelockFromSourceLocked() 4756 public void noteGpsChangedLocked(WorkSource oldWs, WorkSource newWs) { in noteGpsChangedLocked() argument 4757 noteGpsChangedLocked(oldWs, newWs, mClocks.elapsedRealtime(), mClocks.uptimeMillis()); in noteGpsChangedLocked() 4760 public void noteGpsChangedLocked(WorkSource oldWs, WorkSource newWs, in noteGpsChangedLocked() argument 4762 for (int i = 0; i < newWs.size(); ++i) { in noteGpsChangedLocked() [all …]
|