Searched refs:oldWs (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/android/os/ |
D | WorkSource.java | 1125 public static ArrayList<WorkChain>[] diffChains(WorkSource oldWs, WorkSource newWs) { 1133 if (oldWs.mChains != null) { 1134 for (int i = 0; i < oldWs.mChains.size(); ++i) { 1135 final WorkChain wc = oldWs.mChains.get(i); 1138 goneChains = new ArrayList<>(oldWs.mChains.size()); 1148 if (oldWs.mChains == null || !oldWs.mChains.contains(wc)) {
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IBatteryStats.aidl | 178 void noteWifiRunningChanged(in WorkSource oldWs, in WorkSource newWs); in noteWifiRunningChanged() argument
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 1595 public void noteGpsChanged(final WorkSource oldWs, final WorkSource newWs) { in noteGpsChanged() argument 1598 final WorkSource localOldWs = oldWs != null ? new WorkSource(oldWs) : null; in noteGpsChanged() 2144 public void noteWifiRunningChanged(final WorkSource oldWs, final WorkSource newWs) { in noteWifiRunningChanged() argument 2147 final WorkSource localOldWs = oldWs != null ? new WorkSource(oldWs) : null; in noteWifiRunningChanged() 2162 oldWs, FrameworkStatsLog.WIFI_RUNNING_STATE_CHANGED__STATE__OFF); in noteWifiRunningChanged()
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | BatteryStatsImpl.java | 5407 public void noteGpsChangedLocked(WorkSource oldWs, WorkSource newWs) { in noteGpsChangedLocked() argument 5408 noteGpsChangedLocked(oldWs, newWs, mClock.elapsedRealtime(), mClock.uptimeMillis()); in noteGpsChangedLocked() 5412 public void noteGpsChangedLocked(WorkSource oldWs, WorkSource newWs, in noteGpsChangedLocked() argument 5418 for (int i = 0; i < oldWs.size(); ++i) { in noteGpsChangedLocked() 5419 noteStopGpsLocked((oldWs.getUid(i)), null, elapsedRealtimeMs, uptimeMs); in noteGpsChangedLocked() 5422 List<WorkChain>[] wcs = WorkSource.diffChains(oldWs, newWs); in noteGpsChangedLocked() 6917 public void noteWifiRunningChangedLocked(WorkSource oldWs, WorkSource newWs, in noteWifiRunningChangedLocked() argument 6920 int N = oldWs.size(); in noteWifiRunningChangedLocked() 6922 int uid = mapUid(oldWs.getUid(i)); in noteWifiRunningChangedLocked() 6927 List<WorkChain> workChains = oldWs.getWorkChains(); in noteWifiRunningChangedLocked()
|