Home
last modified time | relevance | path

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

/aosp12/frameworks/base/core/java/android/os/
H A DWorkSource.java1128 ArrayList<WorkChain> newChains = null;
1151 if (newChains == null) {
1152 newChains = new ArrayList<>(newWs.mChains.size());
1154 newChains.add(wc);
1159 if (newChains != null || goneChains != null) {
1160 return new ArrayList[] { newChains, goneChains };
/aosp12/frameworks/base/services/core/java/com/android/server/location/gnss/
H A DGnssLocationProvider.java934 List<WorkChain> newChains = diffs[0]; in updateClientUids() local
937 if (newChains != null) { in updateClientUids()
938 for (WorkChain newChain : newChains) { in updateClientUids()
/aosp12/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java4607 List<WorkChain> newChains = wcs[0]; in noteChangeWakelockFromSourceLocked() local
4608 if (newChains != null) { in noteChangeWakelockFromSourceLocked()
4609 for (int i = 0; i < newChains.size(); ++i) { in noteChangeWakelockFromSourceLocked()
4610 final WorkChain newChain = newChains.get(i); in noteChangeWakelockFromSourceLocked()
4894 final List<WorkChain> newChains = wcs[0]; in noteGpsChangedLocked() local
4895 for (int i = 0; i < newChains.size(); ++i) { in noteGpsChangedLocked()
4896 noteStartGpsLocked(-1, newChains.get(i), elapsedRealtimeMs, uptimeMs); in noteGpsChangedLocked()