Home
last modified time | relevance | path

Searched refs:MockJobService (Results 1 – 8 of 8) sorted by relevance

/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/cts/shareduidtests/
DConstraintTest.java26 import android.jobscheduler.MockJobService;
50 static MockJobService.TestEnvironment kTestEnvironment =
51 MockJobService.TestEnvironment.getTestEnvironment();
80 kJobServiceComponent = new ComponentName(getContext(), MockJobService.class); in injectInstrumentation()
DSharedUidTest.java27 import android.jobscheduler.MockJobService;
51 new ComponentName(getContext(), MockJobService.class)) in testCancelDisabledPackageJob()
DEnqueueJobWorkTest.java24 import android.jobscheduler.MockJobService.TestWorkItem;
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DJobWorkItemTest.java23 import android.jobscheduler.MockJobService;
54 kTestEnvironment.setExpectedWork(new MockJobService.TestWorkItem[]{ in testAllInfoGivenToJob()
55 new MockJobService.TestWorkItem(TEST_INTENT)}); in testAllInfoGivenToJob()
277 kTestEnvironment.setExpectedWork(new MockJobService.TestWorkItem[]{ in testDeliveryCountBumped()
278 new MockJobService.TestWorkItem(TEST_INTENT)}); in testDeliveryCountBumped()
DBaseJobSchedulerTest.java31 import android.jobscheduler.MockJobService;
63 static MockJobService.TestEnvironment kTestEnvironment =
64 MockJobService.TestEnvironment.getTestEnvironment();
100 kJobServiceComponent = new ComponentName(getContext(), MockJobService.class); in injectInstrumentation()
DJobSchedulingTest.java37 import android.jobscheduler.MockJobService.TestEnvironment;
38 import android.jobscheduler.MockJobService.TestEnvironment.Event;
/cts/tests/JobScheduler/src/android/jobscheduler/
DMockJobService.java48 public class MockJobService extends JobService { class
447 private MockJobService mExecutedJobService;
561 private void notifyExecution(MockJobService jobService, JobParameters params, in notifyExecution()
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/
DMockJobService.java45 public class MockJobService extends JobService { class