Searched refs:oldWs (Results 1 – 4 of 4) sorted by relevance
/aosp14/frameworks/base/core/java/android/os/ |
H A D | WorkSource.java | 1118 public static ArrayList<WorkChain>[] diffChains(WorkSource oldWs, WorkSource newWs) { 1126 if (oldWs.mChains != null) { 1127 for (int i = 0; i < oldWs.mChains.size(); ++i) { 1128 final WorkChain wc = oldWs.mChains.get(i); 1131 goneChains = new ArrayList<>(oldWs.mChains.size()); 1141 if (oldWs.mChains == null || !oldWs.mChains.contains(wc)) {
|
/aosp14/frameworks/base/core/java/com/android/internal/app/ |
H A D | IBatteryStats.aidl | 171 void noteWifiRunningChanged(in WorkSource oldWs, in WorkSource newWs); in noteWifiRunningChanged() argument
|
/aosp14/frameworks/base/services/core/java/com/android/server/am/ |
H A D | BatteryStatsService.java | 1383 public void noteGpsChanged(final WorkSource oldWs, final WorkSource newWs) { in noteGpsChanged() argument 1386 final WorkSource localOldWs = oldWs != null ? new WorkSource(oldWs) : null; in noteGpsChanged() 1936 public void noteWifiRunningChanged(final WorkSource oldWs, final WorkSource newWs) { in noteWifiRunningChanged() argument 1939 final WorkSource localOldWs = oldWs != null ? new WorkSource(oldWs) : null; in noteWifiRunningChanged() 1954 oldWs, FrameworkStatsLog.WIFI_RUNNING_STATE_CHANGED__STATE__OFF); in noteWifiRunningChanged()
|
/aosp14/frameworks/base/services/core/java/com/android/server/power/stats/ |
H A D | BatteryStatsImpl.java | 5144 public void noteGpsChangedLocked(WorkSource oldWs, WorkSource newWs) { in noteGpsChangedLocked() argument 5145 noteGpsChangedLocked(oldWs, newWs, mClock.elapsedRealtime(), mClock.uptimeMillis()); in noteGpsChangedLocked() 5149 public void noteGpsChangedLocked(WorkSource oldWs, WorkSource newWs, in noteGpsChangedLocked() argument 5155 for (int i = 0; i < oldWs.size(); ++i) { in noteGpsChangedLocked() 5156 noteStopGpsLocked((oldWs.getUid(i)), null, elapsedRealtimeMs, uptimeMs); in noteGpsChangedLocked() 5159 List<WorkChain>[] wcs = WorkSource.diffChains(oldWs, newWs); in noteGpsChangedLocked() 6617 public void noteWifiRunningChangedLocked(WorkSource oldWs, WorkSource newWs, in noteWifiRunningChangedLocked() argument 6620 int N = oldWs.size(); in noteWifiRunningChangedLocked() 6622 int uid = mapUid(oldWs.getUid(i)); in noteWifiRunningChangedLocked() 6627 List<WorkChain> workChains = oldWs.getWorkChains(); in noteWifiRunningChangedLocked()
|