Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/app/
DIBatteryStats.aidl84 int type, in WorkSource newWs, int newPid, String newName, in noteChangeWakelockFromSource() argument
114 void noteWifiRunningChanged(in WorkSource oldWs, in WorkSource newWs); in noteWifiRunningChanged() argument
/frameworks/base/core/java/android/os/
DWorkSource.java1059 public static ArrayList<WorkChain>[] diffChains(WorkSource oldWs, WorkSource newWs) {
1070 if (newWs.mChains == null || !newWs.mChains.contains(wc)) {
1079 if (newWs.mChains != null) {
1080 for (int i = 0; i < newWs.mChains.size(); ++i) {
1081 final WorkChain wc = newWs.mChains.get(i);
1084 newChains = new ArrayList<>(newWs.mChains.size());
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java548 String historyName, int type, WorkSource newWs, int newPid, String newName, in noteChangeWakelockFromSource() argument
553 newWs, newPid, newName, newHistoryName, newType, newUnimportantForLogging); in noteChangeWakelockFromSource()
632 public void noteGpsChanged(WorkSource oldWs, WorkSource newWs) { in noteGpsChanged() argument
635 mStats.noteGpsChangedLocked(oldWs, newWs); in noteGpsChanged()
895 public void noteWifiRunningChanged(WorkSource oldWs, WorkSource newWs) { in noteWifiRunningChanged() argument
898 mStats.noteWifiRunningChangedLocked(oldWs, newWs); in noteWifiRunningChanged()
901 newWs, StatsLog.WIFI_RUNNING_STATE_CHANGED__STATE__ON); in noteWifiRunningChanged()