Searched refs:mForegroundUidPids (Results 1 – 2 of 2) sorted by relevance
38 private final SparseArray<SparseBooleanArray> mForegroundUidPids = field in ForegroundUtils105 ArrayList<Integer> uids = new ArrayList<Integer>(mForegroundUidPids.size()); in getForegroundUids()107 for (int i = 0; i < mForegroundUidPids.size(); i++) { in getForegroundUids()108 uids.add(mForegroundUidPids.keyAt(i)); in getForegroundUids()115 if (mForegroundUidPids.get(uid) != null) in isInForegroundLocked()151 SparseBooleanArray foregroundPids = mForegroundUidPids.get(uid, in onForegroundActivitiesChanged()159 mForegroundUidPids.remove(uid); in onForegroundActivitiesChanged()162 mForegroundUidPids.put(uid, foregroundPids); in onForegroundActivitiesChanged()174 for (int i = 0; i < mForegroundUidPids.size(); i++) { in onForegroundActivitiesChanged()175 int foregroundUid = mForegroundUidPids.keyAt(i); in onForegroundActivitiesChanged()[all …]
112 private final Map<Integer, Set<Integer>> mForegroundUidPids = new ArrayMap<>(); field in SystemActivityMonitoringService157 for (Integer key : mForegroundUidPids.keySet()) { in dump()158 Set<Integer> pids = mForegroundUidPids.get(key); in dump()195 Set<Integer> pids = mForegroundUidPids.get(uid); in isInForeground()350 Set<Integer> pids = mForegroundUidPids.get(uid); in handleForegroundActivitiesChanged()353 mForegroundUidPids.put(uid, pids); in handleForegroundActivitiesChanged()369 Set<Integer> pids = mForegroundUidPids.get(uid); in doHandlePidGoneLocked()373 mForegroundUidPids.remove(uid); in doHandlePidGoneLocked()