Searched refs:INTERNAL_FLAG_DEMOTED_BY_USER (Results 1 – 4 of 4) sorted by relevance
332 job.addInternalFlags(JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER); in testIsUserVisibleJob()491 job.addInternalFlags(JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER); in testGetEffectivePriority_Expedited()636 job.addInternalFlags(JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER); in testGetEffectivePriority_UserInitiated()718 job.addInternalFlags(JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER in testModifyingInternalFlags()721 | JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER in testModifyingInternalFlags()728 | JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER in testModifyingInternalFlags()734 | JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER); in testModifyingInternalFlags()738 job.removeInternalFlags(JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER); in testModifyingInternalFlags()778 job.addInternalFlags(JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER); in testShouldTreatAsUserInitiated_userDemoted()785 rescheduledJob.removeInternalFlags(JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER); in testShouldTreatAsUserInitiated_userDemoted()
421 public static final int INTERNAL_FLAG_DEMOTED_BY_USER = 1 << 1; field in JobStatus1430 (getInternalFlags() & INTERNAL_FLAG_DEMOTED_BY_USER) != 0 in getEffectivePriority()1755 && (getInternalFlags() & INTERNAL_FLAG_DEMOTED_BY_USER) == 0 in shouldTreatAsUserInitiatedJob()
1056 assertEquals(0, originalJob.getInternalFlags() & JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER); in testGetRescheduleJobForFailure_userDemotion()1063 rescheduledJob.getInternalFlags() & JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER); in testGetRescheduleJobForFailure_userDemotion()1070 rescheduledJob.getInternalFlags() & JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER); in testGetRescheduleJobForFailure_userDemotion()1077 rescheduledJob.getInternalFlags() & JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER); in testGetRescheduleJobForFailure_userDemotion()
1810 JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER2178 job.addInternalFlags(JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER);3047 newJob.addInternalFlags(JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER);