HomeSort by relevance Sort by last modified time
    Searched defs:job (Results 1 - 25 of 436) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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.
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
  /frameworks/base/services/tests/servicestests/src/com/android/server/job/controllers/
JobStatusTest.java 17 package com.android.server.job.controllers;
21 import android.app.job.JobInfo;
26 import com.android.server.job.JobSchedulerService;
71 final JobInfo job = new JobInfo.Builder(101, new ComponentName("foo", "bar")) local
73 return new JobStatus(job, 0, null, -1, 0, 0, null, earliestRunTimeElapsedMillis,
  /cts/tests/tests/print/src/android/print/cts/
InterfaceForAppsTest.java 105 * Create mock service callback for a session. Once the job is queued the test function is
115 android.printservice.PrintJob job = (android.printservice.PrintJob) invocation
121 job.getInfo().getState()));
124 eventually(() -> assertTrue(job.isQueued()));
125 job.start();
128 eventually(() -> assertTrue(job.isQueued()));
131 eventually(() -> assertTrue(job.isQueued()));
132 job.start();
133 job.block("test block");
136 eventually(() -> assertTrue(job.isQueued()))
151 android.printservice.PrintJob job = (android.printservice.PrintJob) invocation external variable declarations
    [all...]
  /external/python/cpython2/PC/VS8.0/
build_pgo.bat 19 set job=%job1% variable
24 if "%1"=="-2" (set job=%job2%) & (set clrpath=%path2%) & shift & goto CheckOpts variable
33 rem remove .pyc files, .pgc files and execute the job
36 %PGI%\python.exe %job%
  /external/python/cpython2/PC/VS9.0/
build_pgo.bat 19 set job=%job1% variable
24 if "%1"=="-2" (set job=%job2%) & (set clrpath=%path2%) & shift & goto CheckOpts variable
33 rem remove .pyc files, .pgc files and execute the job
36 %PGI%\python.exe %job%
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
EclipseLintRunner.java 29 import org.eclipse.core.runtime.jobs.Job;
62 LintJob job = (LintJob) startLint(resources, source, doc, fatalOnly, local
65 job.join();
66 boolean fatal = job.isFatal();
81 * Runs lint and updates the markers. Does not wait for the job to finish -
95 * @return the job running lint in the background.
97 public static Job startLint(
109 * Runs lint and updates the markers. Does not wait for the job to finish -
122 * @return the job running lint in the background.
124 public static Job startLint
136 LintJob job = new LintJob(client, resources, source); local
    [all...]
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowJobScheduler.java 8 import android.app.job.JobInfo;
9 import android.app.job.JobScheduler;
10 import android.app.job.JobWorkItem;
24 public abstract int schedule(JobInfo job);
39 public abstract int enqueue(JobInfo job, JobWorkItem work);
50 public int schedule(JobInfo job) {
51 if (jobsToFail.contains(job.getId())) {
55 scheduledJobs.put(job.getId(), job); local
81 public int enqueue(JobInfo job, JobWorkItem work)
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.hierarchyviewer/src/com/android/ide/eclipse/hierarchyviewer/
HierarchyViewerPluginDirector.java 29 import org.eclipse.core.runtime.jobs.Job;
43 Job job = new Job(taskName) { local
50 job.setPriority(Job.SHORT);
51 job.setRule(mSchedulingRule);
52 job.schedule();
  /frameworks/support/work/workmanager-firebase/src/androidTest/java/androidx/work/impl/background/firebase/
FirebaseJobConverterTest.java 47 import com.firebase.jobdispatcher.Job;
79 Job job = mConverter.convert(workSpec); local
80 assertThat(job.getTag(), is(expectedWorkSpecId));
81 assertThat(job.getLifetime(), is(Lifetime.FOREVER));
82 assertThat(job.getService(), is(FirebaseJobService.class.getName()));
84 JobTrigger.ImmediateTrigger trigger = (JobTrigger.ImmediateTrigger) job.getTrigger();
95 Job job = mConverter.convert(workSpec); local
99 assertThat(job.getRetryStrategy().getInitialBackoff(), is(expectedBackoffDelayDuration))
109 Job job = mConverter.convert(workSpec); local
128 Job job = mConverter.convert(workSpec); local
144 Job job = mConverter.convert(workSpec); local
161 Job job = mConverter.convert(workSpec); local
179 Job job = mConverter.convert(workSpec); local
192 Job job = mConverter.convert(workSpec); local
205 Job job = mConverter.convert(workSpec); local
218 Job job = mConverter.convert(workSpec); local
231 Job job = mConverter.convert(workSpec); local
    [all...]
  /prebuilts/jdk/jdk8/darwin-x86/sample/forkjoin/mergesort/
MergeSort.java 134 ForkJoinTask<Void> job = pool.submit(new MergeSortTask(array, 0, array.length)); local
135 job.join();
  /prebuilts/jdk/jdk8/linux-x86/sample/forkjoin/mergesort/
MergeSort.java 134 ForkJoinTask<Void> job = pool.submit(new MergeSortTask(array, 0, array.length)); local
135 job.join();
  /external/mesa3d/src/gallium/drivers/vc4/
vc4_context.c 47 struct vc4_job *job = entry->data; local
48 vc4_job_submit(vc4, job);
82 struct vc4_job *job = entry->data; local
83 if (job->key.zsbuf && job->key.zsbuf->texture == prsc)
84 job->resolve &= ~(PIPE_CLEAR_DEPTH | PIPE_CLEAR_STENCIL);
vc4_emit.c 30 struct vc4_job *job = vc4->job; local
32 struct vc4_cl_out *bcl = cl_start(&job->bcl);
54 maxx = MIN2(vp_maxx, job->draw_width);
55 maxy = MIN2(vp_maxy, job->draw_height);
69 job->draw_min_x = MIN2(job->draw_min_x, minx);
70 job->draw_min_y = MIN2(job->draw_min_y, miny);
71 job->draw_max_x = MAX2(job->draw_max_x, maxx)
    [all...]
  /external/mesa3d/src/intel/vulkan/tests/
state_pool_test_helper.h 26 struct job { struct
36 struct job *job = void_job; local
38 const unsigned chunk_size = 1 << (job->id % STATES_PER_THREAD_LOG2);
47 states[i] = anv_state_pool_alloc(job->pool, 16, 16);
53 anv_state_pool_free(job->pool, states[i]);
  /external/tensorflow/tensorflow/python/framework/
device.py 36 # Place the operations on device "GPU:0" in the "ps" job.
37 device_spec = DeviceSpec(job="ps", device_type="GPU", device_index=0)
39 # Both my_var and squared_var will be placed on /job:ps/device:GPU:0.
50 with tf.device(DeviceSpec(job="train", )):
51 with tf.device(DeviceSpec(job="ps", device_type="GPU", device_index=0):
52 # Nodes created here will be assigned to /job:ps/device:GPU:0.
54 # Nodes created here will be assigned to /job:train/device:GPU:1.
60 * Job: The job name.
67 def __init__(self, job=None, replica=None, task=None, device_type=None
98 def job(self): member in class:DeviceSpec
102 def job(self, job): member in class:DeviceSpec
    [all...]
  /frameworks/base/core/java/android/app/job/
JobScheduler.java 17 package android.app.job;
38 * See {@link android.app.job.JobInfo} for more description of the types of jobs that can be run
41 * system will execute this job on your application's {@link android.app.job.JobService}.
42 * You identify the service component that implements the logic for your job when you
44 * {@link android.app.job.JobInfo.Builder#JobInfo.Builder(int,android.content.ComponentName)}.
48 * and defer them as much as possible. Typically if you don't specify a deadline on a job, it
51 * While a job is running, the system holds a wakelock on behalf of your app. For this reason,
53 * duration of the job.
72 * if the run-time for your job is too short, or perhaps the system can't resolve th
    [all...]
JobService.java 17 package android.app.job;
24 * <p>Entry point for the callback from the {@link android.app.job.JobScheduler}.</p>
27 * you will implement your job logic.</p>
28 * <p>This service executes each incoming job on a {@link android.os.Handler} running on your
32 * {@link #onStopJob(android.app.job.JobParameters)}, which is meant to inform you that the
39 * Job services must be protected with this permission:
48 * <p>If a job service is declared in the manifest but not protected with this
75 * Call this to inform the JobScheduler that the job has finished its work. When the
76 * system receives this message, it releases the wakelock being held for the job.
78 * You can request that the job be scheduled again by passing {@code true} a
    [all...]
  /frameworks/base/services/core/java/com/android/server/job/controllers/
StateController.java 17 package com.android.server.job.controllers;
23 import com.android.server.job.JobSchedulerService;
24 import com.android.server.job.JobSchedulerService.Constants;
25 import com.android.server.job.StateChangedListener;
50 * Implement the logic here to decide whether a job should be tracked by this controller.
57 * Optionally implement logic here to prepare the job to be executed.
67 * Called when a new job is being created to reschedule an old failed job.
  /packages/apps/StorageManager/src/com/android/storagemanager/automatic/
AutomaticStorageBroadcastReceiver.java 19 import android.app.job.JobInfo;
20 import android.app.job.JobScheduler;
29 * schedule an automatic storage management job. Automatic storage management jobs are only
45 JobInfo job = new JobInfo.Builder(AUTOMATIC_STORAGE_JOB_ID, component) local
50 jobScheduler.schedule(job);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
RunInLocale.java 27 protected abstract T job(final Resources res); method in class:RunInLocale
30 * Execute {@link #job(Resources)} method in specified system locale exclusively.
34 * @return the value returned from {@link #job(Resources)}.
40 return job(res);
46 return job(res);
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
CapsModeUtilsTests.java 56 final RunInLocale<SpacingAndPunctuations> job = new RunInLocale<SpacingAndPunctuations>() { local
58 protected SpacingAndPunctuations job(final Resources res) {
63 SpacingAndPunctuations sp = job.runInLocale(res, Locale.ENGLISH);
94 sp = job.runInLocale(res, Locale.FRENCH);
101 sp = job.runInLocale(res, Locale.GERMAN);
107 sp = job.runInLocale(res, Locale.ENGLISH);
115 sp = job.runInLocale(res, LocaleUtils.constructLocaleFromString("hy_AM"));
129 sp = job.runInLocale(res, Locale.ENGLISH);
140 sp = job.runInLocale(res, LocaleUtils.constructLocaleFromString("el"));
DictionaryInfoUtilsTests.java 31 final RunInLocale<SpacingAndPunctuations> job = new RunInLocale<SpacingAndPunctuations>() { local
33 protected SpacingAndPunctuations job(final Resources res) {
38 final SpacingAndPunctuations sp = job.runInLocale(res, Locale.ENGLISH);
  /prebuilts/go/darwin-x86/src/regexp/
backtrack.go 19 // A job is an entry on the backtracker's job stack. It holds
21 type job struct { type
39 jobs []job
79 b.jobs = make([]job, 0, 256)
115 // push pushes (pc, pos, arg) onto the job stack if it should be
121 b.jobs = append(b.jobs, job{pc: pc, arg: arg, pos: pos})
133 // Pop job off the stack.
  /prebuilts/go/linux-x86/src/regexp/
backtrack.go 19 // A job is an entry on the backtracker's job stack. It holds
21 type job struct { type
39 jobs []job
79 b.jobs = make([]job, 0, 256)
115 // push pushes (pc, pos, arg) onto the job stack if it should be
121 b.jobs = append(b.jobs, job{pc: pc, arg: arg, pos: pos})
133 // Pop job off the stack.

Completed in 1600 milliseconds

1 2 3 4 5 6 7 8 91011>>