Home
last modified time | relevance | path

Searched refs:INTERNAL_FLAG_DEMOTED_BY_USER (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DJobStatusTest.java332 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()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DJobStatus.java421 public static final int INTERNAL_FLAG_DEMOTED_BY_USER = 1 << 1; field in JobStatus
1430 (getInternalFlags() & INTERNAL_FLAG_DEMOTED_BY_USER) != 0 in getEffectivePriority()
1755 && (getInternalFlags() & INTERNAL_FLAG_DEMOTED_BY_USER) == 0 in shouldTreatAsUserInitiatedJob()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/
DJobSchedulerServiceTest.java1056 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()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerService.java1810 JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER
2178 job.addInternalFlags(JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER);
3047 newJob.addInternalFlags(JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER);