Searched refs:MockJobService (Results 1 – 8 of 8) sorted by relevance
26 import android.jobscheduler.MockJobService;50 static MockJobService.TestEnvironment kTestEnvironment =51 MockJobService.TestEnvironment.getTestEnvironment();80 kJobServiceComponent = new ComponentName(getContext(), MockJobService.class); in injectInstrumentation()
27 import android.jobscheduler.MockJobService;51 new ComponentName(getContext(), MockJobService.class)) in testCancelDisabledPackageJob()
24 import android.jobscheduler.MockJobService.TestWorkItem;
23 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()
31 import android.jobscheduler.MockJobService;63 static MockJobService.TestEnvironment kTestEnvironment =64 MockJobService.TestEnvironment.getTestEnvironment();100 kJobServiceComponent = new ComponentName(getContext(), MockJobService.class); in injectInstrumentation()
37 import android.jobscheduler.MockJobService.TestEnvironment;38 import android.jobscheduler.MockJobService.TestEnvironment.Event;
48 public class MockJobService extends JobService { class447 private MockJobService mExecutedJobService;561 private void notifyExecution(MockJobService jobService, JobParameters params, in notifyExecution()
45 public class MockJobService extends JobService { class