Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DWorkSource.java1125 public static ArrayList<WorkChain>[] diffChains(WorkSource oldWs, WorkSource newWs) {
1136 if (newWs.mChains == null || !newWs.mChains.contains(wc)) {
1145 if (newWs.mChains != null) {
1146 for (int i = 0; i < newWs.mChains.size(); ++i) {
1147 final WorkChain wc = newWs.mChains.get(i);
1150 newChains = new ArrayList<>(newWs.mChains.size());
/frameworks/base/core/java/com/android/internal/app/
DIBatteryStats.aidl122 int type, in WorkSource newWs, int newPid, String newName, in noteChangeWakelockFromSource() argument
178 void noteWifiRunningChanged(in WorkSource oldWs, in WorkSource newWs); in noteWifiRunningChanged() argument
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java1389 final String historyName, final int type, final WorkSource newWs, final int newPid, in noteChangeWakelockFromSource() argument
1395 final WorkSource localNewWs = newWs != null ? new WorkSource(newWs) : null; in noteChangeWakelockFromSource()
1595 public void noteGpsChanged(final WorkSource oldWs, final WorkSource newWs) { in noteGpsChanged() argument
1599 final WorkSource localNewWs = newWs != null ? new WorkSource(newWs) : null; in noteGpsChanged()
2144 public void noteWifiRunningChanged(final WorkSource oldWs, final WorkSource newWs) { in noteWifiRunningChanged() argument
2148 final WorkSource localNewWs = newWs != null ? new WorkSource(newWs) : null; in noteWifiRunningChanged()
2160 newWs, FrameworkStatsLog.WIFI_RUNNING_STATE_CHANGED__STATE__ON); in noteWifiRunningChanged()
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryStatsImpl.java5145 String historyName, int type, WorkSource newWs, int newPid, String newName, in noteChangeWakelockFromSourceLocked() argument
5148 List<WorkChain>[] wcs = WorkSource.diffChains(ws, newWs); in noteChangeWakelockFromSourceLocked()
5155 final int NN = newWs.size(); in noteChangeWakelockFromSourceLocked()
5157 noteStartWakeLocked(newWs.getUid(i), newPid, null, newName, newHistoryName, newType, in noteChangeWakelockFromSourceLocked()
5407 public void noteGpsChangedLocked(WorkSource oldWs, WorkSource newWs) { in noteGpsChangedLocked() argument
5408 noteGpsChangedLocked(oldWs, newWs, mClock.elapsedRealtime(), mClock.uptimeMillis()); in noteGpsChangedLocked()
5412 public void noteGpsChangedLocked(WorkSource oldWs, WorkSource newWs, in noteGpsChangedLocked() argument
5414 for (int i = 0; i < newWs.size(); ++i) { in noteGpsChangedLocked()
5415 noteStartGpsLocked(newWs.getUid(i), null, elapsedRealtimeMs, uptimeMs); in noteGpsChangedLocked()
5422 List<WorkChain>[] wcs = WorkSource.diffChains(oldWs, newWs); in noteGpsChangedLocked()
[all …]