Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DJobStatusTest.java26 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_CONTENT_TRIGGER;
134 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_CONTENT_TRIGGER)); in testWouldBeReadyWithConstraint_NonRequestedConstraints()
144 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_CONTENT_TRIGGER)); in testWouldBeReadyWithConstraint_NonRequestedConstraints()
306 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_CONTENT_TRIGGER)); in testWouldBeReadyWithConstraint_RequestedContentTrigger()
308 assertTrue(job.wouldBeReadyWithConstraint(CONSTRAINT_CONTENT_TRIGGER)); in testWouldBeReadyWithConstraint_RequestedContentTrigger()
312 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_CONTENT_TRIGGER)); in testWouldBeReadyWithConstraint_RequestedContentTrigger()
314 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_CONTENT_TRIGGER)); in testWouldBeReadyWithConstraint_RequestedContentTrigger()
336 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_CONTENT_TRIGGER)); in testWouldBeReadyWithConstraint_RequestedMixture_NoDeadline()
343 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_CONTENT_TRIGGER)); in testWouldBeReadyWithConstraint_RequestedMixture_NoDeadline()
352 assertFalse(job.wouldBeReadyWithConstraint(CONSTRAINT_CONTENT_TRIGGER)); in testWouldBeReadyWithConstraint_RequestedMixture_NoDeadline()
[all …]
/frameworks/base/services/core/java/com/android/server/job/controllers/
DJobStatus.java80 static final int CONSTRAINT_CONTENT_TRIGGER = 1<<26; field in JobStatus
100 private static final int STATSD_CONSTRAINTS_TO_LOG = CONSTRAINT_CONTENT_TRIGGER
417 requiredConstraints |= CONSTRAINT_CONTENT_TRIGGER; in JobStatus()
855 return (requiredConstraints&CONSTRAINT_CONTENT_TRIGGER) != 0; in hasContentTriggerConstraint()
975 return setConstraintSatisfied(CONSTRAINT_CONTENT_TRIGGER, state); in setContentTriggerConstraintSatisfied()
1130 | CONSTRAINT_IDLE | CONSTRAINT_CONTENT_TRIGGER;
1305 if ((constraints&CONSTRAINT_CONTENT_TRIGGER) != 0) { in dumpConstraints()
1335 case CONSTRAINT_CONTENT_TRIGGER: in getProtoConstraint()
1336 return JobServerProtoEnums.CONSTRAINT_CONTENT_TRIGGER; in getProtoConstraint()
1377 if ((constraints & CONSTRAINT_CONTENT_TRIGGER) != 0) { in dumpConstraints()
[all …]
/frameworks/base/core/proto/android/server/job/
Denums.proto39 CONSTRAINT_CONTENT_TRIGGER = 8; enumerator