Home
last modified time | relevance | path

Searched refs:oldWs (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/os/
DWorkSource.java1029 public static ArrayList<WorkChain>[] diffChains(WorkSource oldWs, WorkSource newWs) {
1037 if (oldWs.mChains != null) {
1038 for (int i = 0; i < oldWs.mChains.size(); ++i) {
1039 final WorkChain wc = oldWs.mChains.get(i);
1042 goneChains = new ArrayList<>(oldWs.mChains.size());
1052 if (oldWs.mChains == null || !oldWs.mChains.contains(wc)) {
/frameworks/base/core/java/com/android/internal/app/
DIBatteryStats.aidl111 void noteWifiRunningChanged(in WorkSource oldWs, in WorkSource newWs); in noteWifiRunningChanged() argument
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java612 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/
DBatteryStatsImpl.java4781 public void noteGpsChangedLocked(WorkSource oldWs, WorkSource newWs) { in noteGpsChangedLocked() argument
4786 for (int i = 0; i < oldWs.size(); ++i) { in noteGpsChangedLocked()
4787 noteStopGpsLocked((oldWs.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
5867 int N = oldWs.size(); in noteWifiRunningChangedLocked()
5869 int uid = mapUid(oldWs.get(i)); in noteWifiRunningChangedLocked()
5873 List<WorkChain> workChains = oldWs.getWorkChains(); in noteWifiRunningChangedLocked()