Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DWorkSource.java1070 public static ArrayList<WorkChain>[] diffChains(WorkSource oldWs, WorkSource newWs) {
1078 if (oldWs.mChains != null) {
1079 for (int i = 0; i < oldWs.mChains.size(); ++i) {
1080 final WorkChain wc = oldWs.mChains.get(i);
1083 goneChains = new ArrayList<>(oldWs.mChains.size());
1093 if (oldWs.mChains == null || !oldWs.mChains.contains(wc)) {
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java632 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()
903 oldWs, StatsLog.WIFI_RUNNING_STATE_CHANGED__STATE__OFF); in noteWifiRunningChanged()
/frameworks/base/core/java/com/android/internal/app/
DIBatteryStats.aidl114 void noteWifiRunningChanged(in WorkSource oldWs, in WorkSource newWs); in noteWifiRunningChanged() argument
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java4621 public void noteGpsChangedLocked(WorkSource oldWs, WorkSource newWs) { in noteGpsChangedLocked() argument
4626 for (int i = 0; i < oldWs.size(); ++i) { in noteGpsChangedLocked()
4627 noteStopGpsLocked((oldWs.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
5721 int N = oldWs.size(); in noteWifiRunningChangedLocked()
5723 int uid = mapUid(oldWs.get(i)); in noteWifiRunningChangedLocked()
5727 List<WorkChain> workChains = oldWs.getWorkChains(); in noteWifiRunningChangedLocked()