Searched refs:INTERNAL_FLAG_HAS_FOREGROUND_EXEMPTION (Results 1 – 3 of 3) sorted by relevance
714 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()
416 public static final int INTERNAL_FLAG_HAS_FOREGROUND_EXEMPTION = 1 << 0; field in JobStatus1488 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()
346 ts.addInternalFlags(JobStatus.INTERNAL_FLAG_HAS_FOREGROUND_EXEMPTION); in testMaybeWriteStatusToDisk()