Home
last modified time | relevance | path

Searched refs:newWs (Results 1 – 4 of 4) sorted by relevance

/aosp14/frameworks/base/core/java/android/os/
H A DWorkSource.java1118 public static ArrayList<WorkChain>[] diffChains(WorkSource oldWs, WorkSource newWs) {
1129 if (newWs.mChains == null || !newWs.mChains.contains(wc)) {
1138 if (newWs.mChains != null) {
1139 for (int i = 0; i < newWs.mChains.size(); ++i) {
1140 final WorkChain wc = newWs.mChains.get(i);
1143 newChains = new ArrayList<>(newWs.mChains.size());
/aosp14/frameworks/base/core/java/com/android/internal/app/
H A DIBatteryStats.aidl116 int type, in WorkSource newWs, int newPid, String newName, in noteChangeWakelockFromSource() argument
171 void noteWifiRunningChanged(in WorkSource oldWs, in WorkSource newWs); in noteWifiRunningChanged() argument
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DBatteryStatsService.java1177 final String historyName, final int type, final WorkSource newWs, final int newPid, in noteChangeWakelockFromSource() argument
1183 final WorkSource localNewWs = newWs != null ? new WorkSource(newWs) : null; in noteChangeWakelockFromSource()
1383 public void noteGpsChanged(final WorkSource oldWs, final WorkSource newWs) { in noteGpsChanged() argument
1387 final WorkSource localNewWs = newWs != null ? new WorkSource(newWs) : null; in noteGpsChanged()
1936 public void noteWifiRunningChanged(final WorkSource oldWs, final WorkSource newWs) { in noteWifiRunningChanged() argument
1940 final WorkSource localNewWs = newWs != null ? new WorkSource(newWs) : null; in noteWifiRunningChanged()
1952 newWs, FrameworkStatsLog.WIFI_RUNNING_STATE_CHANGED__STATE__ON); in noteWifiRunningChanged()
/aosp14/frameworks/base/services/core/java/com/android/server/power/stats/
H A DBatteryStatsImpl.java4879 List<WorkChain>[] wcs = WorkSource.diffChains(ws, newWs); in noteChangeWakelockFromSourceLocked()
4886 final int NN = newWs.size(); in noteChangeWakelockFromSourceLocked()
5144 public void noteGpsChangedLocked(WorkSource oldWs, WorkSource newWs) { in noteGpsChangedLocked() argument
5149 public void noteGpsChangedLocked(WorkSource oldWs, WorkSource newWs, in noteGpsChangedLocked() argument
5151 for (int i = 0; i < newWs.size(); ++i) { in noteGpsChangedLocked()
5152 noteStartGpsLocked(newWs.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
6636 N = newWs.size(); in noteWifiRunningChangedLocked()
6638 int uid = mapUid(newWs.getUid(i)); in noteWifiRunningChangedLocked()
[all …]