Home
last modified time | relevance | path

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

/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
H A DJobStatus.java126 static final int CONSTRAINT_BACKGROUND_NOT_RESTRICTED = 1 << 22; // Implicit constraint field in JobStatus
130 | CONSTRAINT_BACKGROUND_NOT_RESTRICTED
173 CONSTRAINT_DEVICE_NOT_DOZING | CONSTRAINT_BACKGROUND_NOT_RESTRICTED;
1926 case CONSTRAINT_BACKGROUND_NOT_RESTRICTED: in constraintToStopReason()
1967 if ((CONSTRAINT_BACKGROUND_NOT_RESTRICTED & unsatisfiedConstraints) != 0) { in getPendingJobReason()
2161 case CONSTRAINT_BACKGROUND_NOT_RESTRICTED: in readinessStatusWithConstraint()
2205 case CONSTRAINT_BACKGROUND_NOT_RESTRICTED: in readinessStatusWithConstraint()
2464 if ((constraints & CONSTRAINT_BACKGROUND_NOT_RESTRICTED) != 0) { in dumpConstraints()
2486 case CONSTRAINT_BACKGROUND_NOT_RESTRICTED: in getProtoConstraint()
2487 return JobServerProtoEnums.CONSTRAINT_BACKGROUND_NOT_RESTRICTED; in getProtoConstraint()
[all …]
H A DBackgroundJobsController.java123 & JobStatus.CONSTRAINT_BACKGROUND_NOT_RESTRICTED) != 0) { in dumpControllerStateLocked()
160 JobStatus.CONSTRAINT_BACKGROUND_NOT_RESTRICTED) != 0); in dumpControllerStateLocked()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
H A DJobStatusTest.java31 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_BACKGROUND_NOT_RESTRICTED;
1172 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_BACKGROUND_NOT_RESTRICTED)); in testWouldBeReadyWithConstraint_ImplicitBackgroundNotRestricted()
1175 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_BACKGROUND_NOT_RESTRICTED)); in testWouldBeReadyWithConstraint_ImplicitBackgroundNotRestricted()
1180 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_BACKGROUND_NOT_RESTRICTED)); in testWouldBeReadyWithConstraint_ImplicitBackgroundNotRestricted()
1183 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_BACKGROUND_NOT_RESTRICTED)); in testWouldBeReadyWithConstraint_ImplicitBackgroundNotRestricted()