/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 | 193 private static void checkState(PrintJob job, int state) throws Throwable { 194 eventually(() -> assertEquals(state, job.getInfo().getState())); 197 eventually(() -> assertTrue(job.isQueued())); 200 eventually(() -> assertTrue(job.isStarted())); 203 eventually(() -> assertTrue(job.isBlocked())); 206 eventually(() -> assertTrue(job.isCompleted())); 209 eventually(() -> assertTrue(job.isFailed())); 212 eventually(() -> assertTrue(job.isCancelled()));
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2228/ |
D | poc.c | 73 ipp_t *job = ippNew(); in main() local 74 if (!job) { in main() 77 ippReadFile(file_desc, job); in main() 79 if (job) { in main() 80 free(job); in main()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/car/ |
D | GarageModeChecker.java | 19 import android.app.job.JobInfo; 20 import android.app.job.JobParameters; 21 import android.app.job.JobScheduler; 22 import android.app.job.JobService; 102 JobParameters job = (JobParameters) msg.obj; 105 mTaskMap.remove(job.getJobId()); 106 jobFinished(job, false); 110 GarageModeCheckerTask task = new GarageModeCheckerTask(this, job, msg.arg1); 112 mTaskMap.put(job.getJobId(), job); 115 JobParameters runningJob = mTaskMap.get(job.getJobId()); [all …]
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | TestJob.java | 19 import android.app.job.JobInfo; 20 import android.app.job.JobParameters; 21 import android.app.job.JobScheduler; 22 import android.app.job.JobService;
|
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/ |
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()
|
/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;
|
/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/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;
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | TimingConstraintsTest.java | 19 import android.app.job.JobInfo; 20 import android.app.job.JobParameters; 92 JobInfo job = new JobInfo.Builder(ZERO_DELAY_JOB_ID, kJobServiceComponent) in testExplicitZeroLatency() local 98 mJobScheduler.schedule(job); in testExplicitZeroLatency()
|
D | JobWorkItemTest.java | 19 import android.app.job.JobInfo; 20 import android.app.job.JobWorkItem;
|
/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;
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | LocationAccessCheckTest.java | 35 import static com.android.server.job.nano.JobPackageHistoryProto.START_PERIODIC_JOB; 36 import static com.android.server.job.nano.JobPackageHistoryProto.STOP_JOB; 86 import com.android.server.job.nano.JobPackageHistoryProto; 87 import com.android.server.job.nano.JobSchedulerServiceDumpProto; 88 import com.android.server.job.nano.JobSchedulerServiceDumpProto.RegisteredJob; 578 for (RegisteredJob job : dump.registeredJobs) { in resetPermissionController() 579 if (job.dump.sourceUserId == currentUserId) { in resetPermissionController() 580 assertNotEquals(job.dump.sourcePackageName, PERMISSION_CONTROLLER_PKG); in resetPermissionController() 605 for (RegisteredJob job : dump.registeredJobs) { in resetPermissionController() 606 if (job.dump.sourceUserId == currentUserId in resetPermissionController() [all …]
|
/cts/tests/tests/wifi/CtsWifiLocationTestApp/src/android/net/wifi/cts/app/ |
D | TriggerScanAndReturnStatusService.java | 19 import android.app.job.JobParameters; 20 import android.app.job.JobService;
|
D | RetrieveScanResultsAndReturnStatusService.java | 19 import android.app.job.JobParameters; 20 import android.app.job.JobService;
|
D | RetrieveTransportInfoAndReturnStatusService.java | 21 import android.app.job.JobParameters; 22 import android.app.job.JobService;
|
D | RetrieveConnectionInfoAndReturnStatusService.java | 19 import android.app.job.JobParameters; 20 import android.app.job.JobService;
|
D | ScheduleJobActivity.java | 20 import android.app.job.JobInfo; 21 import android.app.job.JobScheduler;
|
/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/hostsidetests/backup/src/android/cts/backup/ |
D | ProfileScheduledJobHostSideTest.java | 25 import com.android.server.job.JobSchedulerServiceDumpProto; 26 import com.android.server.job.JobStatusShortInfoProto; 204 for (JobSchedulerServiceDumpProto.RegisteredJob job : dump.getRegisteredJobsList()) { in isSystemJobScheduled() 205 final JobStatusShortInfoProto info = job.getInfo(); in isSystemJobScheduled()
|
/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()
|