Home
last modified time | relevance | path

Searched refs:getInternalFlags (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DJobStatus.java740 jobStatus.getInternalFlags(), jobStatus.mDynamicConstraints); in JobStatus()
802 rescheduling.getInternalFlags(), in JobStatus()
1430 (getInternalFlags() & INTERNAL_FLAG_DEMOTED_BY_USER) != 0 in getEffectivePriority()
1432 && (getInternalFlags() & INTERNAL_FLAG_DEMOTED_BY_SYSTEM_UIJ) != 0); in getEffectivePriority()
1466 public int getInternalFlags() { in getInternalFlags() method in JobStatus
1755 && (getInternalFlags() & INTERNAL_FLAG_DEMOTED_BY_USER) == 0 in shouldTreatAsUserInitiatedJob()
1756 && (getInternalFlags() & INTERNAL_FLAG_DEMOTED_BY_SYSTEM_UIJ) == 0; in shouldTreatAsUserInitiatedJob()
1794 return (getInternalFlags() & INTERNAL_FLAG_HAS_FOREGROUND_EXEMPTION) != 0 in canRunInBatterySaver()
2727 if (getInternalFlags() != 0) { in dump()
2729 pw.print(Integer.toHexString(getInternalFlags())); in dump()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DJobStatusTest.java711 assertEquals(0, job.getInternalFlags()); in testModifyingInternalFlags()
715 assertEquals(JobStatus.INTERNAL_FLAG_HAS_FOREGROUND_EXEMPTION, job.getInternalFlags()); in testModifyingInternalFlags()
723 job.getInternalFlags()); in testModifyingInternalFlags()
730 job.getInternalFlags()); in testModifyingInternalFlags()
735 assertEquals(JobStatus.INTERNAL_FLAG_DEMOTED_BY_SYSTEM_UIJ, job.getInternalFlags()); in testModifyingInternalFlags()
739 assertEquals(JobStatus.INTERNAL_FLAG_DEMOTED_BY_SYSTEM_UIJ, job.getInternalFlags()); in testModifyingInternalFlags()
743 assertEquals(0, job.getInternalFlags()); in testModifyingInternalFlags()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobStoreTest.java883 expected.getInternalFlags(), actual.getInternalFlags()); in assertJobsEqual()
/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/
DJobStore.java863 if (jobStatus.getInternalFlags() != 0) {
864 out.attribute(null, "internalFlags", String.valueOf(jobStatus.getInternalFlags()));
/frameworks/base/services/
Dart-wear-profile13275 HPLcom/android/server/job/controllers/JobStatus;->getInternalFlags()I