Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DJobStatusTest.java22 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_BACKGROUND_NOT_RESTRICTED;
555 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_BACKGROUND_NOT_RESTRICTED)); in testWouldBeReadyWithConstraint_ImplicitBackgroundNotRestricted()
557 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_BACKGROUND_NOT_RESTRICTED)); in testWouldBeReadyWithConstraint_ImplicitBackgroundNotRestricted()
561 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_BACKGROUND_NOT_RESTRICTED)); in testWouldBeReadyWithConstraint_ImplicitBackgroundNotRestricted()
563 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_BACKGROUND_NOT_RESTRICTED)); in testWouldBeReadyWithConstraint_ImplicitBackgroundNotRestricted()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DBackgroundJobsController.java103 & JobStatus.CONSTRAINT_BACKGROUND_NOT_RESTRICTED) != 0) { in dumpControllerStateLocked()
145 JobStatus.CONSTRAINT_BACKGROUND_NOT_RESTRICTED) != 0); in dumpControllerStateLocked()
DJobStatus.java83 static final int CONSTRAINT_BACKGROUND_NOT_RESTRICTED = 1 << 22; // Implicit constraint field in JobStatus
991 if (setConstraintSatisfied(CONSTRAINT_BACKGROUND_NOT_RESTRICTED, state)) { in setBackgroundNotRestrictedConstraintSatisfied()
1074 case CONSTRAINT_BACKGROUND_NOT_RESTRICTED: in wouldBeReadyWithConstraint()
1098 case CONSTRAINT_BACKGROUND_NOT_RESTRICTED: in wouldBeReadyWithConstraint()
1311 if ((constraints&CONSTRAINT_BACKGROUND_NOT_RESTRICTED) != 0) { in dumpConstraints()
1327 case CONSTRAINT_BACKGROUND_NOT_RESTRICTED: in getProtoConstraint()
1328 return JobServerProtoEnums.CONSTRAINT_BACKGROUND_NOT_RESTRICTED; in getProtoConstraint()
1386 if ((constraints & CONSTRAINT_BACKGROUND_NOT_RESTRICTED) != 0) { in dumpConstraints()
1387 proto.write(fieldId, JobServerProtoEnums.CONSTRAINT_BACKGROUND_NOT_RESTRICTED); in dumpConstraints()
/frameworks/base/core/proto/android/server/job/
Denums.proto42 CONSTRAINT_BACKGROUND_NOT_RESTRICTED = 11; enumerator