/frameworks/base/core/java/android/app/job/ |
JobInfo.aidl | 17 package android.app.job;
|
JobParameters.aidl | 17 package android.app.job;
|
JobWorkItem.aidl | 17 package android.app.job;
|
IJobService.aidl | 17 package android.app.job; 19 import android.app.job.JobParameters; 24 * service implementation will extend android.app.job.JobService. 28 /** Begin execution of application's job. */ 30 /** Stop execution of application's job. */
|
IJobScheduler.aidl | 17 package android.app.job; 19 import android.app.job.JobInfo; 20 import android.app.job.JobWorkItem; 27 int schedule(in JobInfo job); 28 int enqueue(in JobInfo job, in JobWorkItem work); 29 int scheduleAsPackage(in JobInfo job, String packageName, int userId, String tag);
|
IJobCallback.aidl | 17 package android.app.job; 19 import android.app.job.JobWorkItem; 27 * which Job Service instance is reporting. 35 * @param jobId Unique integer used to identify this job. 36 * @param ongoing True to indicate that the client is processing the job. False if the job is 43 * @param jobId Unique integer used to identify this job. 44 * @param reschedule Whether or not to reschedule this job. 48 * Called to deqeue next work item for the job. 52 * Called to report that job has completed processing a work item [all...] |
/external/syslinux/gpxe/src/include/gpxe/ |
job.h | 6 * Job control interfaces 15 /** Job progress */ 36 /** Job control interface operations */ 38 /** Job completed 40 * @v job Job control interface 41 * @v rc Overall job status code 43 void ( * done ) ( struct job_interface *job, int rc ); 44 /** Abort job 46 * @v job Job control interfac [all...] |
/frameworks/base/services/core/java/com/android/server/job/ |
JobCompletedListener.java | 17 package com.android.server.job; 19 import com.android.server.job.controllers.JobStatus; 22 * Used for communication between {@link com.android.server.job.JobServiceContext} and the 23 * {@link com.android.server.job.JobSchedulerService}. 27 * Callback for when a job is completed. 28 * @param needsReschedule Whether the implementing class should reschedule this job.
|
JobSchedulerInternal.java | 17 package com.android.server.job; 19 import android.app.job.JobInfo;
|
StateChangedListener.java | 17 package com.android.server.job; 19 import com.android.server.job.controllers.JobStatus; 22 * Interface through which a {@link com.android.server.job.controllers.StateController} informs 23 * the {@link com.android.server.job.JobSchedulerService} that there are some tasks potentially
|
/external/autotest/client/bin/ |
profiler.py | 5 def __init__(self, job): 6 self.job = job
|
harness_unittest.py | 20 job = object() 24 harness_standalone.harness_standalone.expect_new(job, harness_args) 25 harness.select(None, job, harness_args) 30 job = object() 34 harness_standalone.harness_standalone.expect_new(job, harness_args) 35 harness.select('standalone', job, harness_args)
|
harness_standalone.py | 14 job 15 The job object for this job 18 def __init__(self, job, harness_args): 20 job 21 The job object for this job 24 self.setup(job
|
/external/syslinux/gpxe/src/core/ |
job.c | 23 #include <gpxe/job.h> 27 * Job control interfaces 31 void job_done ( struct job_interface *job, int rc ) { 32 struct job_interface *dest = job_get_dest ( job ); 34 job_unplug ( job ); 39 void job_kill ( struct job_interface *job ) { 40 struct job_interface *dest = job_get_dest ( job ); 42 job_unplug ( job ); 47 void job_progress ( struct job_interface *job, 49 struct job_interface *dest = job_get_dest ( job ); [all...] |
/external/toolchain-utils/automation/server/ |
job_executer.py | 9 from automation.common import job 22 self.job = job_to_execute 27 self.name = '%s-%s' % (self.__class__.__name__, self.job.id) 30 self._executer = LoggingCommandExecuter(self.job.dry_run) 35 self.job.primary_machine.hostname, 36 self.job.primary_machine.username, 40 raise job.JobFailure(fail_msg, exit_code) 47 raise job.JobFailure(fail_msg, exit_code) 53 self._logger.debug('Cleaning up %r work directory.', self.job) 54 self._RunRemotely(cmd.RmTree(self.job.work_dir), 'Cleanup workdir failed.' [all...] |
/packages/services/BuiltInPrintService/src/com/android/bips/ |
JobQueue.java | 25 /** Manages a job queue, ensuring only one job is printed at a time */ 30 /** Queue a print job for printing at the next available opportunity */ 31 void print(LocalPrintJob job) { 32 mJobs.add(job); 36 /** Cancel a previously queued job */ 38 // If a job hasn't started, kill it instantly. 39 for (LocalPrintJob job : mJobs) { 40 if (job.getPrintJobId().equals(id)) { 41 mJobs.remove(job); [all...] |
/frameworks/base/core/java/android/app/ |
JobSchedulerImpl.java | 20 import android.app.job.JobInfo; 21 import android.app.job.JobScheduler; 22 import android.app.job.IJobScheduler; 23 import android.app.job.JobWorkItem; 42 public int schedule(JobInfo job) { 44 return mBinder.schedule(job); 51 public int enqueue(JobInfo job, JobWorkItem work) { 53 return mBinder.enqueue(job, work); 60 public int scheduleAsPackage(JobInfo job, String packageName, int userId, String tag) { 62 return mBinder.scheduleAsPackage(job, packageName, userId, tag) [all...] |
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
TimeController.java | 17 package com.android.server.job.controllers; 28 import com.android.server.job.JobSchedulerService; 29 import com.android.server.job.StateChangedListener; 38 * This class sets an alarm for the next expiring job, and determines whether a job's minimum 45 private final String DEADLINE_TAG = "*job.deadline*"; 47 private final String DELAY_TAG = "*job.delay*"; 74 * Check if the job has a timing constraint, and if so determine where to insert it in our 78 public void maybeStartTrackingJobLocked(JobStatus job, JobStatus lastJob) { 79 if (job.hasTimingDelayConstraint() || job.hasDeadlineConstraint()) 163 JobStatus job = it.next(); local 206 final JobStatus job = it.next(); local [all...] |
/cts/tests/tests/print/src/android/print/cts/ |
InterfaceForAppsTest.java | 97 * Create mock service callback for a session. Once the job is queued the test function is 107 android.printservice.PrintJob job = (android.printservice.PrintJob) invocation 113 job.getInfo().getState())); 116 eventually(() -> assertTrue(job.isQueued())); 117 job.start(); 120 eventually(() -> assertTrue(job.isQueued())); 123 eventually(() -> assertTrue(job.isQueued())); 124 job.start(); 125 job.block("test block"); 128 eventually(() -> assertTrue(job.isQueued())) 143 android.printservice.PrintJob job = (android.printservice.PrintJob) invocation external variable declarations [all...] |
/external/autotest/client/site_tests/platform_CryptohomeTPMReOwn/ |
platform_CryptohomeTPMReOwn.py | 30 self.job.set_state("client_status", "Success") 33 self.job.set_state("client_status", "Success") 47 self.job.set_state("client_status", error_msg) 54 self.job.set_state("client_status", error_msg) 63 self.job.set_state("client_status", error_msg) 65 self.job.set_state("client_status", "Success") 77 self.job.set_state("client_status", error_msg) 84 self.job.set_state("client_status", error_msg) 90 self.job.set_state("client_status", error_msg) 93 self.job.set_state("client_status", "Success" [all...] |
/external/autotest/frontend/health/ |
utils_unittest.py | 62 job = models.Job(job_idx=1) 66 early_pass = models.Test(job=job, status=GOOD_STATUS, 71 late_pass = models.Test(job=job, status=GOOD_STATUS, 84 job = models.Job(job_idx=1) 88 passing_test = models.Test(job=job, status=GOOD_STATUS [all...] |
/external/toolchain-utils/automation/clients/helper/ |
jobs.py | 3 from automation.common import job 8 to_return = job.Job(label, command, timeout)
|
/packages/apps/Contacts/src/com/android/contacts/ |
ContactsJobService.java | 18 import android.app.job.JobParameters; 19 import android.app.job.JobService; 22 * Service to run {@link android.app.job.JobScheduler} jobs.
|
/external/autotest/server/cros/clique_lib/ |
clique_dut_log_collector.py | 14 def log_collector_dut_worker(dut, job): 23 @param job: Autotest job object. 26 # Set the job on the host object for log collection. 27 host.job = job 37 def collect_logs(self, dut_objects, job): 43 @param job: Autotest job object. 51 args=(dut, job)) [all...] |
/external/toybox/toys/pending/ |
crond.c | 49 } JOB; 53 struct double_list *job, *var; member in struct:_cronfile 212 JOB *j; 265 j = xzalloc(sizeof(JOB)); 280 dlist_add_nomalloc((struct double_list **)&cfile->job, (struct double_list *)j); 296 static void free_jobs(JOB **jlist) 298 JOB *j = dlist_pop(jlist); 329 JOB *jstart, *jlist = (JOB *)list->job; 507 JOB *job, *jstart; local 540 JOB *job, *jstart; local 591 JOB *job, *jstart; local [all...] |