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.java254 final ArrayList<ServiceRecord> mStartingBackground = new ArrayList<>(); field in ActiveServices.ServiceMap
282 if (mStartingBackground.remove(r)) { in ensureNotStartingBackgroundLocked()
295 for (int i=0, N=mStartingBackground.size(); i<N; i++) { in rescheduleDelayedStartsLocked()
296 ServiceRecord r = mStartingBackground.get(i); in rescheduleDelayedStartsLocked()
299 mStartingBackground.remove(i); in rescheduleDelayedStartsLocked()
305 && mStartingBackground.size() < mMaxStartingBackground) { in rescheduleDelayedStartsLocked()
328 if (mStartingBackground.size() > 0) { in rescheduleDelayedStartsLocked()
329 ServiceRecord next = mStartingBackground.get(0); in rescheduleDelayedStartsLocked()
336 if (mStartingBackground.size() < mMaxStartingBackground) { in rescheduleDelayedStartsLocked()
367 return smap != null ? smap.mStartingBackground.size() >= mMaxStartingBackground : false; in hasBackgroundServicesLocked()
[all …]