Searched refs:oldWs (Results 1 – 4 of 4) sorted by relevance
/aosp12/frameworks/base/core/java/android/os/ |
H A 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)) {
|
/aosp12/frameworks/base/core/java/com/android/internal/app/ |
H A D | IBatteryStats.aidl | 119 void noteWifiRunningChanged(in WorkSource oldWs, in WorkSource newWs); in noteWifiRunningChanged() argument
|
/aosp12/frameworks/base/services/core/java/com/android/server/am/ |
H A 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()
|
/aosp12/frameworks/base/core/java/com/android/internal/os/ |
H A D | BatteryStatsImpl.java | 4877 public void noteGpsChangedLocked(WorkSource oldWs, WorkSource newWs) { in noteGpsChangedLocked() argument 4881 public void noteGpsChangedLocked(WorkSource oldWs, WorkSource newWs, in noteGpsChangedLocked() argument 4887 for (int i = 0; i < oldWs.size(); ++i) { in noteGpsChangedLocked() 4888 noteStopGpsLocked((oldWs.getUid(i)), null, elapsedRealtimeMs, uptimeMs); in noteGpsChangedLocked() 4891 List<WorkChain>[] wcs = WorkSource.diffChains(oldWs, newWs); in noteGpsChangedLocked() 6368 public void noteWifiRunningChangedLocked(WorkSource oldWs, WorkSource newWs) { in noteWifiRunningChangedLocked() argument 6369 noteWifiRunningChangedLocked(oldWs, newWs, in noteWifiRunningChangedLocked() 6373 public void noteWifiRunningChangedLocked(WorkSource oldWs, WorkSource newWs, in noteWifiRunningChangedLocked() argument 6376 int N = oldWs.size(); in noteWifiRunningChangedLocked() 6378 int uid = mapUid(oldWs.getUid(i)); in noteWifiRunningChangedLocked() [all …]
|