Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
DFakeAppForegroundHelper.java27 private final SparseBooleanArray mForegroundUids; field in FakeAppForegroundHelper
30 mForegroundUids = new SparseBooleanArray(); in FakeAppForegroundHelper()
34 mForegroundUids.put(uid, foreground); in setAppForeground()
40 return mForegroundUids.get(uid, true); in isAppForeground()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DDeviceIdleJobsController.java67 private final SparseBooleanArray mForegroundUids = new SparseBooleanArray(); field in DeviceIdleJobsController
124 jobStatus.isRequestedExpeditedJob() || mForegroundUids.get(jobStatus.getSourceUid());
177 final boolean changed = (active != mForegroundUids.get(uid)); in setUidActiveLocked()
184 mForegroundUids.put(uid, active); in setUidActiveLocked()
210 && (mForegroundUids.get(task.getSourceUid()) || isTempWhitelistedLocked(task)); in updateTaskStateLocked()
DQuotaController.java340 private final SparseBooleanArray mForegroundUids = new SparseBooleanArray(); field in QuotaController
720 mForegroundUids.delete(uid); in onAppRemovedLocked()
793 return mForegroundUids.get(uid); in isUidInForeground()
2153 && !mForegroundUids.get(mUid) && !hasTempAllowlistExemption
2636 if (mForegroundUids.get(uid)) {
2641 mForegroundUids.put(uid, true);
2646 reprocess = !mForegroundUids.get(uid);
2647 mForegroundUids.put(uid, true);
2651 mForegroundUids.delete(uid);
3981 return mForegroundUids;
[all …]