Searched refs:INTERNAL_FLAG_DEMOTED_BY_USER (Results 1 – 4 of 4) sorted by relevance
250 job.addInternalFlags(JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER); in testIsUserVisibleJob()409 job.addInternalFlags(JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER); in testGetEffectivePriority_Expedited()554 job.addInternalFlags(JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER); in testGetEffectivePriority_UserInitiated()636 job.addInternalFlags(JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER in testModifyingInternalFlags()639 | JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER in testModifyingInternalFlags()646 | JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER in testModifyingInternalFlags()652 | JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER); in testModifyingInternalFlags()656 job.removeInternalFlags(JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER); in testModifyingInternalFlags()696 job.addInternalFlags(JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER); in testShouldTreatAsUserInitiated_userDemoted()703 rescheduledJob.removeInternalFlags(JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER); in testShouldTreatAsUserInitiated_userDemoted()
1020 assertEquals(0, originalJob.getInternalFlags() & JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER); in testGetRescheduleJobForFailure_userDemotion()1027 rescheduledJob.getInternalFlags() & JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER); in testGetRescheduleJobForFailure_userDemotion()1034 rescheduledJob.getInternalFlags() & JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER); in testGetRescheduleJobForFailure_userDemotion()1041 rescheduledJob.getInternalFlags() & JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER); in testGetRescheduleJobForFailure_userDemotion()
396 public static final int INTERNAL_FLAG_DEMOTED_BY_USER = 1 << 1; field in JobStatus1315 (getInternalFlags() & INTERNAL_FLAG_DEMOTED_BY_USER) != 0 in getEffectivePriority()1639 && (getInternalFlags() & INTERNAL_FLAG_DEMOTED_BY_USER) == 0 in shouldTreatAsUserInitiatedJob()
1678 JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER2025 job.addInternalFlags(JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER);2853 newJob.addInternalFlags(JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER);