Home
last modified time | relevance | path

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

/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DBackgroundJobsController.java191 (jobStatus.getInternalFlags() & JobStatus.INTERNAL_FLAG_HAS_FOREGROUND_EXEMPTION) in updateSingleJobRestrictionLocked()
DJobStatus.java287 public static final int INTERNAL_FLAG_HAS_FOREGROUND_EXEMPTION = 1 << 0; field in JobStatus
868 if ((mInternalFlags & INTERNAL_FLAG_HAS_FOREGROUND_EXEMPTION) != 0) { in maybeAddForegroundExemption()
872 addInternalFlags(INTERNAL_FLAG_HAS_FOREGROUND_EXEMPTION); in maybeAddForegroundExemption()
1643 if ((getInternalFlags()&INTERNAL_FLAG_HAS_FOREGROUND_EXEMPTION) != 0) { in dump()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobStoreTest.java120 ts.addInternalFlags(JobStatus.INTERNAL_FLAG_HAS_FOREGROUND_EXEMPTION); in testMaybeWriteStatusToDisk()
133 assertEquals(JobStatus.INTERNAL_FLAG_HAS_FOREGROUND_EXEMPTION, in testMaybeWriteStatusToDisk()