Searched refs:isUserBgRestricted (Results 1 – 4 of 4) sorted by relevance
234 assertFalse(directJob1.isUserBgRestricted()); in testRestartedBroadcastWithoutStopping()236 assertFalse(directJob2.isUserBgRestricted()); in testRestartedBroadcastWithoutStopping()238 assertFalse(proxyJob1.isUserBgRestricted()); in testRestartedBroadcastWithoutStopping()240 assertFalse(proxyJob2.isUserBgRestricted()); in testRestartedBroadcastWithoutStopping()244 assertFalse(directJob1.isUserBgRestricted()); in testRestartedBroadcastWithoutStopping()246 assertFalse(directJob2.isUserBgRestricted()); in testRestartedBroadcastWithoutStopping()248 assertFalse(proxyJob1.isUserBgRestricted()); in testRestartedBroadcastWithoutStopping()250 assertFalse(proxyJob2.isUserBgRestricted()); in testRestartedBroadcastWithoutStopping()275 assertFalse(directJob1.isUserBgRestricted()); in testStopped_disabled()277 assertFalse(directJob2.isUserBgRestricted()); in testStopped_disabled()[all …]
350 final boolean isUserBgRestricted = isStopped in updateSingleJobRestrictionLocked()370 && isUserBgRestricted in updateSingleJobRestrictionLocked()389 isUserBgRestricted); in updateSingleJobRestrictionLocked()
1802 public boolean isUserBgRestricted() { in isUserBgRestricted() method in JobStatus1870 boolean isUserBgRestricted) { in setBackgroundNotRestrictedConstraintSatisfied() argument1871 mIsUserBgRestricted = isUserBgRestricted; in setBackgroundNotRestrictedConstraintSatisfied()
419 if (job.shouldTreatAsUserInitiatedJob() && !job.isUserBgRestricted()) { in executeRunnableJob()