Searched refs:oldWs (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/android/os/ |
D | WorkSource.java | 1127 public static ArrayList<WorkChain>[] diffChains(WorkSource oldWs, WorkSource newWs) { 1135 if (oldWs.mChains != null) { 1136 for (int i = 0; i < oldWs.mChains.size(); ++i) { 1137 final WorkChain wc = oldWs.mChains.get(i); 1140 goneChains = new ArrayList<>(oldWs.mChains.size()); 1150 if (oldWs.mChains == null || !oldWs.mChains.contains(wc)) {
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IBatteryStats.aidl | 119 void noteWifiRunningChanged(in WorkSource oldWs, in WorkSource newWs); in noteWifiRunningChanged() argument
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 1182 public void noteGpsChanged(final WorkSource oldWs, final WorkSource newWs) { in noteGpsChanged() argument 1184 final WorkSource localOldWs = oldWs != null ? new WorkSource(oldWs) : null; in noteGpsChanged() 1645 public void noteWifiRunningChanged(final WorkSource oldWs, final WorkSource newWs) { in noteWifiRunningChanged() argument 1647 final WorkSource localOldWs = oldWs != null ? new WorkSource(oldWs) : null; in noteWifiRunningChanged() 1662 oldWs, FrameworkStatsLog.WIFI_RUNNING_STATE_CHANGED__STATE__OFF); in noteWifiRunningChanged()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 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 4766 for (int i = 0; i < oldWs.size(); ++i) { in noteGpsChangedLocked() 4767 noteStopGpsLocked((oldWs.getUid(i)), null, elapsedRealtimeMs, uptimeMs); in noteGpsChangedLocked() 4770 List<WorkChain>[] wcs = WorkSource.diffChains(oldWs, newWs); in noteGpsChangedLocked() 6035 public void noteWifiRunningChangedLocked(WorkSource oldWs, WorkSource newWs) { in noteWifiRunningChangedLocked() argument 6036 noteWifiRunningChangedLocked(oldWs, newWs, in noteWifiRunningChangedLocked() 6040 public void noteWifiRunningChangedLocked(WorkSource oldWs, WorkSource newWs, in noteWifiRunningChangedLocked() argument 6043 int N = oldWs.size(); in noteWifiRunningChangedLocked() [all …]
|