Home
last modified time | relevance | path

Searched refs:INTERNAL_FLAG_HAS_FOREGROUND_EXEMPTION (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DJobStatusTest.java714 job.addInternalFlags(JobStatus.INTERNAL_FLAG_HAS_FOREGROUND_EXEMPTION); in testModifyingInternalFlags()
715 assertEquals(JobStatus.INTERNAL_FLAG_HAS_FOREGROUND_EXEMPTION, job.getInternalFlags()); in testModifyingInternalFlags()
720 assertEquals(JobStatus.INTERNAL_FLAG_HAS_FOREGROUND_EXEMPTION in testModifyingInternalFlags()
727 assertEquals(JobStatus.INTERNAL_FLAG_HAS_FOREGROUND_EXEMPTION in testModifyingInternalFlags()
733 job.removeInternalFlags(JobStatus.INTERNAL_FLAG_HAS_FOREGROUND_EXEMPTION in testModifyingInternalFlags()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DJobStatus.java416 public static final int INTERNAL_FLAG_HAS_FOREGROUND_EXEMPTION = 1 << 0; field in JobStatus
1488 if ((mInternalFlags & INTERNAL_FLAG_HAS_FOREGROUND_EXEMPTION) != 0) { in maybeAddForegroundExemption()
1492 addInternalFlags(INTERNAL_FLAG_HAS_FOREGROUND_EXEMPTION); in maybeAddForegroundExemption()
1794 return (getInternalFlags() & INTERNAL_FLAG_HAS_FOREGROUND_EXEMPTION) != 0 in canRunInBatterySaver()
2731 if ((getInternalFlags()&INTERNAL_FLAG_HAS_FOREGROUND_EXEMPTION) != 0) { in dump()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobStoreTest.java346 ts.addInternalFlags(JobStatus.INTERNAL_FLAG_HAS_FOREGROUND_EXEMPTION); in testMaybeWriteStatusToDisk()