Searched refs:oldWs (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/android/os/ |
D | WorkSource.java | 1132 public static ArrayList<WorkChain>[] diffChains(WorkSource oldWs, WorkSource newWs) { 1140 if (oldWs.mChains != null) { 1141 for (int i = 0; i < oldWs.mChains.size(); ++i) { 1142 final WorkChain wc = oldWs.mChains.get(i); 1145 goneChains = new ArrayList<>(oldWs.mChains.size()); 1155 if (oldWs.mChains == null || !oldWs.mChains.contains(wc)) {
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IBatteryStats.aidl | 114 void noteWifiRunningChanged(in WorkSource oldWs, in WorkSource newWs); in noteWifiRunningChanged() argument
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 621 public void noteGpsChanged(WorkSource oldWs, WorkSource newWs) { in noteGpsChanged() argument 624 mStats.noteGpsChangedLocked(oldWs, newWs); in noteGpsChanged() 884 public void noteWifiRunningChanged(WorkSource oldWs, WorkSource newWs) { in noteWifiRunningChanged() argument 887 mStats.noteWifiRunningChangedLocked(oldWs, newWs); in noteWifiRunningChanged() 892 oldWs, FrameworkStatsLog.WIFI_RUNNING_STATE_CHANGED__STATE__OFF); in noteWifiRunningChanged()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 4629 public void noteGpsChangedLocked(WorkSource oldWs, WorkSource newWs) { in noteGpsChangedLocked() argument 4634 for (int i = 0; i < oldWs.size(); ++i) { in noteGpsChangedLocked() 4635 noteStopGpsLocked((oldWs.getUid(i)), null); in noteGpsChangedLocked() 4638 List<WorkChain>[] wcs = WorkSource.diffChains(oldWs, newWs); in noteGpsChangedLocked() 5730 public void noteWifiRunningChangedLocked(WorkSource oldWs, WorkSource newWs) { in noteWifiRunningChangedLocked() argument 5733 int N = oldWs.size(); in noteWifiRunningChangedLocked() 5735 int uid = mapUid(oldWs.getUid(i)); in noteWifiRunningChangedLocked() 5739 List<WorkChain> workChains = oldWs.getWorkChains(); in noteWifiRunningChangedLocked()
|