Searched defs:jobs (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/services/
H A DFileOperationServiceTest.java96 mJobFactory.jobs.get(0).fail(ALPHA_DOC);
139 mJobFactory.jobs.get(0).fail(ALPHA_DOC);
151 mJobFactory.jobs.get(0).fail(ALPHA_DOC);
152 mJobFactory.jobs.get(1).fail(GAMMA_DOC);
187 final List<TestJob> jobs = new ArrayList<>(); field in class:FileOperationServiceTest.TestJobFactory
190 for (TestJob job : jobs) {
196 assertEquals(expected, jobs.size());
208 jobs.add(job);
/frameworks/base/services/core/java/com/android/server/job/
H A DJobSchedulerService.java90 * Responsible for taking jobs representing work to be performed by a client app, and determining
93 * Implements logic for scheduling, and rescheduling jobs. The JobSchedulerService knows nothing
94 * about constraints, or the state of active jobs. It receives callbacks from the various
95 * controllers and completed jobs and operates accordingly.
106 /** The maximum number of concurrent jobs we run at one time. */
108 /** Enforce a per-app limit on scheduled jobs? */
110 /** The maximum number of jobs that we allow an unprivileged app to schedule */
116 /** Master list of jobs. */
127 * Track Services that have currently active or pending jobs. The index is provided by
131 /** List of controllers that will notify this service of updates to jobs
868 noteJobsPending(List<JobStatus> jobs) argument
875 noteJobsNonpending(List<JobStatus> jobs) argument
[all...]

Completed in 187 milliseconds