Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
H A DJobStatusTest.java250 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()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/
H A DJobSchedulerServiceTest.java1020 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()
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
H A DJobStatus.java396 public static final int INTERNAL_FLAG_DEMOTED_BY_USER = 1 << 1; field in JobStatus
1315 (getInternalFlags() & INTERNAL_FLAG_DEMOTED_BY_USER) != 0 in getEffectivePriority()
1639 && (getInternalFlags() & INTERNAL_FLAG_DEMOTED_BY_USER) == 0 in shouldTreatAsUserInitiatedJob()
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
H A DJobSchedulerService.java1678 JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER
2025 job.addInternalFlags(JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER);
2853 newJob.addInternalFlags(JobStatus.INTERNAL_FLAG_DEMOTED_BY_USER);