Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/job/controllers/
DDeviceIdleJobsController.java65 private final SparseBooleanArray mForegroundUids; field in DeviceIdleJobsController
132 mForegroundUids = new SparseBooleanArray(); in DeviceIdleJobsController()
156 for (int i = 0; i < mForegroundUids.size(); i++) { in updateIdleMode()
157 if (mForegroundUids.valueAt(i)) { in updateIdleMode()
159 mForegroundUids.keyAt(i), mDeviceIdleUpdateFunctor); in updateIdleMode()
175 final boolean changed = (active != mForegroundUids.get(uid)); in setUidActiveLocked()
182 mForegroundUids.put(uid, active); in setUidActiveLocked()
208 && (mForegroundUids.get(task.getSourceUid()) || isTempWhitelistedLocked(task)); in updateTaskStateLocked()
DQuotaController.java398 private final SparseBooleanArray mForegroundUids = new SparseBooleanArray(); field in QuotaController
712 mForegroundUids.delete(uid); in onAppRemovedLocked()
731 return mForegroundUids.get(uid); in isUidInForeground()
1682 return !mChargeTracker.isCharging() && !mForegroundUids.get(mUid); in shouldTrackLocked()
1922 mForegroundUids.put(uid, true); in handleMessage()
1925 mForegroundUids.delete(uid); in handleMessage()
2493 return mForegroundUids; in getForegroundUids()
2556 pw.println(mForegroundUids.toString()); in dumpControllerStateLocked()
2679 for (int i = 0; i < mForegroundUids.size(); ++i) { in dumpControllerStateLocked()
2681 mForegroundUids.keyAt(i)); in dumpControllerStateLocked()
/frameworks/base/services/core/java/com/android/server/
DAppStateTracker.java112 final SparseBooleanArray mForegroundUids = new SparseBooleanArray(); field in AppStateTracker
920 if (removeUidFromArray(mForegroundUids, uid, false)) { in handleUidStateChanged()
924 if (addUidToArray(mForegroundUids, uid)) { in handleUidStateChanged()
953 if (removeUidFromArray(mForegroundUids, uid, remove)) { in removeUid()
972 cleanUpArrayForUser(mForegroundUids, removedUserId); in handleUserRemoved()
1169 return mForegroundUids.get(uid); in isUidInForeground()
1251 dumpUids(pw, mForegroundUids); in dump()
1325 for (int i = 0; i < mForegroundUids.size(); i++) { in dumpProto()
1326 if (mForegroundUids.valueAt(i)) { in dumpProto()
1328 mForegroundUids.keyAt(i)); in dumpProto()