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.java264 final ArrayList<ServiceRecord> mStartingBackground = new ArrayList<>(); field in ActiveServices.ServiceMap
292 if (mStartingBackground.remove(r)) { in ensureNotStartingBackgroundLocked()
305 for (int i=0, N=mStartingBackground.size(); i<N; i++) { in rescheduleDelayedStartsLocked()
306 ServiceRecord r = mStartingBackground.get(i); in rescheduleDelayedStartsLocked()
309 mStartingBackground.remove(i); in rescheduleDelayedStartsLocked()
315 && mStartingBackground.size() < mMaxStartingBackground) { in rescheduleDelayedStartsLocked()
340 if (mStartingBackground.size() > 0) { in rescheduleDelayedStartsLocked()
341 ServiceRecord next = mStartingBackground.get(0); in rescheduleDelayedStartsLocked()
348 if (mStartingBackground.size() < mMaxStartingBackground) { in rescheduleDelayedStartsLocked()
379 return smap != null ? smap.mStartingBackground.size() >= mMaxStartingBackground : false; in hasBackgroundServicesLocked()
[all …]