Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/am/
DActiveServices.java203 final ArrayList<ServiceRecord> mStartingBackground = new ArrayList<>(); field in ActiveServices.ServiceMap
231 if (mStartingBackground.remove(r)) { in ensureNotStartingBackgroundLocked()
244 for (int i=0, N=mStartingBackground.size(); i<N; i++) { in rescheduleDelayedStartsLocked()
245 ServiceRecord r = mStartingBackground.get(i); in rescheduleDelayedStartsLocked()
248 mStartingBackground.remove(i); in rescheduleDelayedStartsLocked()
254 && mStartingBackground.size() < mMaxStartingBackground) { in rescheduleDelayedStartsLocked()
277 if (mStartingBackground.size() > 0) { in rescheduleDelayedStartsLocked()
278 ServiceRecord next = mStartingBackground.get(0); in rescheduleDelayedStartsLocked()
285 if (mStartingBackground.size() < mMaxStartingBackground) { in rescheduleDelayedStartsLocked()
311 return smap != null ? smap.mStartingBackground.size() >= mMaxStartingBackground : false; in hasBackgroundServicesLocked()
[all …]