Home | History | Annotate | Download | only in jobscheduler

Lines Matching defs:TestWorkItem

90         TestWorkItem[] expectedWork = TestEnvironment.getTestEnvironment().getExpectedWork();
112 TestWorkItem expected = expectedWork[index];
179 if ((flags & TestWorkItem.FLAG_WAIT_FOR_STOP) != 0) {
186 if ((flags & TestWorkItem.FLAG_COMPLETE_NEXT) != 0) {
197 if ((flags & TestWorkItem.FLAG_DELAY_COMPLETE_PUSH_BACK) != 0) {
199 } else if ((flags & TestWorkItem.FLAG_DELAY_COMPLETE_PUSH_TOP) != 0) {
206 TestWorkItem expected = expectedWork[index];
208 final TestWorkItem[] sub = expected.subitems;
275 public static final class TestWorkItem {
299 public final TestWorkItem[] subitems;
303 public TestWorkItem(Intent _intent) {
313 public TestWorkItem(Intent _intent, int _flags) {
323 public TestWorkItem(Intent _intent, int _flags, int _deliveryCount) {
333 public TestWorkItem(Intent _intent, JobInfo _jobInfo, TestWorkItem[] _subitems) {
343 public TestWorkItem(Intent _intent, Uri[] _requireUrisGranted,
356 return "TestWorkItem { " + intent + " dc=" + deliveryCount + " }";
375 private TestWorkItem[] mExpectedWork;
390 public TestWorkItem[] getExpectedWork() {
502 public void setExpectedWork(TestWorkItem[] work) {