Searched refs:mForegroundUids (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | DeviceIdleJobsController.java | 65 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()
|
D | QuotaController.java | 398 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/ |
D | AppStateTracker.java | 112 final SparseBooleanArray mForegroundUids = new SparseBooleanArray(); field in AppStateTracker 922 if (removeUidFromArray(mForegroundUids, uid, false)) { in handleUidStateChanged() 926 if (addUidToArray(mForegroundUids, uid)) { in handleUidStateChanged() 955 if (removeUidFromArray(mForegroundUids, uid, remove)) { in removeUid() 974 cleanUpArrayForUser(mForegroundUids, removedUserId); in handleUserRemoved() 1171 return mForegroundUids.get(uid); in isUidInForeground() 1253 dumpUids(pw, mForegroundUids); in dump() 1327 for (int i = 0; i < mForegroundUids.size(); i++) { in dumpProto() 1328 if (mForegroundUids.valueAt(i)) { in dumpProto() 1330 mForegroundUids.keyAt(i)); in dumpProto()
|