Searched refs:newWs (Results 1 - 4 of 4) sorted by relevance
/frameworks/base/core/java/com/android/internal/app/ |
H A D | IBatteryStats.aidl | 81 int type, in WorkSource newWs, int newPid, String newName, 111 void noteWifiRunningChanged(in WorkSource oldWs, in WorkSource newWs);
|
/frameworks/base/core/java/android/os/ |
H A D | WorkSource.java | 1020 * Computes the differences in WorkChains contained between {@code oldWs} and {@code newWs}. 1023 * first element is a list of "new" chains, i.e WorkChains present in {@code newWs} but not in 1025 * {@code oldWs} but not in {@code newWs}. 1029 public static ArrayList<WorkChain>[] diffChains(WorkSource oldWs, WorkSource newWs) { argument 1040 if (newWs.mChains == null || !newWs.mChains.contains(wc)) { 1049 if (newWs.mChains != null) { 1050 for (int i = 0; i < newWs.mChains.size(); ++i) { 1051 final WorkChain wc = newWs.mChains.get(i); 1054 newChains = new ArrayList<>(newWs [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | BatteryStatsService.java | 528 String historyName, int type, WorkSource newWs, int newPid, String newName, 533 newWs, newPid, newName, newHistoryName, newType, newUnimportantForLogging); 612 public void noteGpsChanged(WorkSource oldWs, WorkSource newWs) { argument 615 mStats.noteGpsChangedLocked(oldWs, newWs); 868 public void noteWifiRunningChanged(WorkSource oldWs, WorkSource newWs) { argument 871 mStats.noteWifiRunningChangedLocked(oldWs, newWs); 527 noteChangeWakelockFromSource(WorkSource ws, int pid, String name, String historyName, int type, WorkSource newWs, int newPid, String newName, String newHistoryName, int newType, boolean newUnimportantForLogging) argument
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BatteryStatsImpl.java | 4513 String historyName, int type, WorkSource newWs, int newPid, String newName, 4518 List<WorkChain>[] wcs = WorkSource.diffChains(ws, newWs); 4525 final int NN = newWs.size(); 4527 noteStartWakeLocked(newWs.get(i), newPid, null, newName, newHistoryName, newType, 4781 public void noteGpsChangedLocked(WorkSource oldWs, WorkSource newWs) { argument 4782 for (int i = 0; i < newWs.size(); ++i) { 4783 noteStartGpsLocked(newWs.get(i), null); 4790 List<WorkChain>[] wcs = WorkSource.diffChains(oldWs, newWs); 5864 public void noteWifiRunningChangedLocked(WorkSource oldWs, WorkSource newWs) { argument 5881 N = newWs 4512 noteChangeWakelockFromSourceLocked(WorkSource ws, int pid, String name, String historyName, int type, WorkSource newWs, int newPid, String newName, String newHistoryName, int newType, boolean newUnimportantForLogging) argument [all...] |
Completed in 112 milliseconds