/cts/tests/tests/print/src/android/print/cts/ |
D | InterfaceForAppsTest.java | 115 android.printservice.PrintJob job = (android.printservice.PrintJob) invocation in createFirstMockPrinterServiceCallbacks() 121 job.getInfo().getState())); in createFirstMockPrinterServiceCallbacks() 124 eventually(() -> assertTrue(job.isQueued())); in createFirstMockPrinterServiceCallbacks() 125 job.start(); in createFirstMockPrinterServiceCallbacks() 128 eventually(() -> assertTrue(job.isQueued())); in createFirstMockPrinterServiceCallbacks() 131 eventually(() -> assertTrue(job.isQueued())); in createFirstMockPrinterServiceCallbacks() 132 job.start(); in createFirstMockPrinterServiceCallbacks() 133 job.block("test block"); in createFirstMockPrinterServiceCallbacks() 136 eventually(() -> assertTrue(job.isQueued())); in createFirstMockPrinterServiceCallbacks() 137 job.start(); in createFirstMockPrinterServiceCallbacks() [all …]
|
D | PrintJobStateTransitionsTest.java | 152 private static boolean setState(PrintJob job, int state) { 156 return job.isQueued(); 158 return job.start(); 160 return job.block(null); 162 return job.complete(); 164 return job.fail(null); 166 return job.cancel(); 216 private static void checkState(PrintJob job, int state) throws Throwable { 217 eventually(() -> assertEquals(state, job.getInfo().getState())); 220 eventually(() -> assertTrue(job.isQueued())); [all …]
|
D | PrintJobTest.java | 191 private static void checkState(PrintJob job, int state) throws Throwable { 192 eventually(() -> assertEquals(state, job.getInfo().getState())); 195 eventually(() -> assertTrue(job.isQueued())); 198 eventually(() -> assertTrue(job.isStarted())); 201 eventually(() -> assertTrue(job.isBlocked())); 204 eventually(() -> assertTrue(job.isCompleted())); 207 eventually(() -> assertTrue(job.isFailed())); 210 eventually(() -> assertTrue(job.isCancelled()));
|
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
D | StatsdJobService.java | 20 import android.app.job.JobInfo; 21 import android.app.job.JobParameters; 22 import android.app.job.JobScheduler; 23 import android.app.job.JobService;
|
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/ |
D | SimpleJobService.java | 20 import android.app.job.JobInfo; 21 import android.app.job.JobParameters; 22 import android.app.job.JobScheduler; 23 import android.app.job.JobService;
|
D | BatteryStatsJobDurationTests.java | 21 import android.app.job.JobInfo; 22 import android.app.job.JobScheduler; 59 final JobInfo job = createJobInfo(1); in testJobDuration() local 63 js.schedule(job); in testJobDuration()
|
D | BatteryStatsBgVsFgActions.java | 28 import android.app.job.JobInfo; 29 import android.app.job.JobScheduler; 262 final JobInfo job = (new JobInfo.Builder(1, JOB_COMPONENT_NAME)) in doScheduleJob() local 266 js.schedule(job); in doScheduleJob()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/ |
D | CameraContentJobService.java | 20 import android.app.job.JobInfo; 21 import android.app.job.JobParameters; 22 import android.app.job.JobScheduler; 23 import android.app.job.JobService;
|
D | CameraIntentsActivity.java | 18 import android.app.job.JobInfo; 19 import android.app.job.JobParameters; 20 import android.app.job.JobScheduler; 553 JobInfo job = makeJobInfo(TEST_JOB_TYPES[stageIndex]); in onClick() local 554 jobScheduler.schedule(job); in onClick()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | Timeout.java | 139 public <T> T run(String description, Callable<T> job) throws Exception { in run() argument 140 return run(description, 100, job); in run() 157 public <T> T run(String description, long retryMs, Callable<T> job) throws Exception { in run() argument 161 if (job == null) { in run() 171 final T result = job.call(); in run()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | Timeout.java | 139 public <T> T run(String description, Callable<T> job) throws Exception { in run() argument 140 return run(description, 100, job); in run() 157 public <T> T run(String description, long retryMs, Callable<T> job) throws Exception { in run() argument 161 if (job == null) { in run() 171 final T result = job.call(); in run()
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | TimingConstraintsTest.java | 19 import android.app.job.JobInfo; 20 import android.app.job.JobParameters; 61 JobInfo job = new JobInfo.Builder(ZERO_DELAY_JOB_ID, kJobServiceComponent) in testExplicitZeroLatency() local 67 mJobScheduler.schedule(job); in testExplicitZeroLatency()
|
D | StorageConstraintTest.java | 21 import android.app.job.JobInfo;
|
/cts/tests/JobScheduler/src/android/jobscheduler/ |
D | TriggerContentJobService.java | 20 import android.app.job.JobInfo; 21 import android.app.job.JobParameters; 22 import android.app.job.JobScheduler; 23 import android.app.job.JobService;
|
D | MockJobService.java | 20 import android.app.job.JobInfo; 21 import android.app.job.JobParameters; 22 import android.app.job.JobScheduler; 23 import android.app.job.JobService; 24 import android.app.job.JobWorkItem;
|
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/ |
D | TriggerContentJobService.java | 20 import android.app.job.JobInfo; 21 import android.app.job.JobParameters; 22 import android.app.job.JobScheduler; 23 import android.app.job.JobService;
|
D | MockJobService.java | 20 import android.app.job.JobInfo; 21 import android.app.job.JobParameters; 22 import android.app.job.JobScheduler; 23 import android.app.job.JobService; 24 import android.app.job.JobWorkItem;
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | JobSchedulerIncidentTest.java | 19 import android.app.job.StopReasonEnum; 22 import com.android.server.job.ConstantsProto; 23 import com.android.server.job.ConstraintEnum; 24 import com.android.server.job.DataSetProto; 25 import com.android.server.job.JobPackageHistoryProto; 26 import com.android.server.job.JobPackageTrackerDumpProto; 27 import com.android.server.job.JobSchedulerServiceDumpProto; 28 import com.android.server.job.JobStatusDumpProto; 29 import com.android.server.job.JobStatusShortInfoProto; 30 import com.android.server.job.StateControllerProto;
|
/cts/tests/JobSchedulerSharedUid/JobSharedUidTestApp/src/android/jobscheduler/cts/jobtestapp/ |
D | TestJobService.java | 19 import android.app.job.JobParameters; 20 import android.app.job.JobService;
|
D | TestJobSchedulerReceiver.java | 19 import android.app.job.JobInfo; 20 import android.app.job.JobScheduler;
|
/cts/tests/JobScheduler/JobTestApp/src/android/jobscheduler/cts/jobtestapp/ |
D | TestJobService.java | 19 import android.app.job.JobParameters; 20 import android.app.job.JobService;
|
D | TestJobSchedulerReceiver.java | 19 import android.app.job.JobInfo; 20 import android.app.job.JobScheduler;
|
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/ |
D | Utils.java | 153 for (android.print.PrintJob job : pm.getPrintJobs()) { in getPrintJob() 154 if (job.getInfo().getLabel().equals(name)) { in getPrintJob() 155 return job; in getPrintJob()
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | LocationAccessCheckTest.java | 68 import com.android.server.job.nano.JobSchedulerServiceDumpProto; 69 import com.android.server.job.nano.JobSchedulerServiceDumpProto.RegisteredJob; 431 for (RegisteredJob job : dump.registeredJobs) { in resetPermissionController() 432 assertNotEquals(job.dump.sourcePackageName, PERMISSION_CONTROLLER_PKG); in resetPermissionController() 455 for (RegisteredJob job : dump.registeredJobs) { in resetPermissionController() 456 if (job.dump.sourcePackageName.equals(PERMISSION_CONTROLLER_PKG)) { in resetPermissionController()
|
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/cts/shareduidtests/ |
D | SharedUidTest.java | 19 import android.app.job.JobInfo; 20 import android.app.job.JobScheduler;
|