/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | JobStatus.java | 17 package com.android.server.job.controllers; 19 import android.app.job.JobInfo; 44 final JobInfo job; field in JobStatus 76 private JobStatus(JobInfo job, int uId, int numFailures) { in JobStatus() argument 77 this.job = job; in JobStatus() 79 this.name = job.getService().flattenToShortString(); in JobStatus() 85 public JobStatus(JobInfo job, int uId) { in JobStatus() argument 86 this(job, uId, 0); in JobStatus() 90 if (job.isPeriodic()) { in JobStatus() 92 latestRunTimeElapsedMillis = elapsedNow + job.getIntervalMillis(); in JobStatus() [all …]
|
D | TimeController.java | 17 package com.android.server.job.controllers; 28 import com.android.server.job.JobSchedulerService; 29 import com.android.server.job.StateChangedListener; 91 public synchronized void maybeStartTrackingJob(JobStatus job) { in maybeStartTrackingJob() argument 92 if (job.hasTimingDelayConstraint() || job.hasDeadlineConstraint()) { in maybeStartTrackingJob() 93 maybeStopTrackingJob(job); in maybeStartTrackingJob() 97 if (ts.getLatestRunTimeElapsed() < job.getLatestRunTimeElapsed()) { in maybeStartTrackingJob() 102 it.add(job); in maybeStartTrackingJob() 104 job.hasTimingDelayConstraint() ? job.getEarliestRunTime() : Long.MAX_VALUE, in maybeStartTrackingJob() 105 job.hasDeadlineConstraint() ? job.getLatestRunTimeElapsed() : Long.MAX_VALUE); in maybeStartTrackingJob() [all …]
|
D | StateController.java | 17 package com.android.server.job.controllers; 21 import com.android.server.job.JobSchedulerService; 22 import com.android.server.job.StateChangedListener;
|
D | ConnectivityController.java | 17 package com.android.server.job.controllers; 31 import com.android.server.job.JobSchedulerService; 32 import com.android.server.job.StateChangedListener;
|
D | IdleController.java | 17 package com.android.server.job.controllers; 32 import com.android.server.job.JobSchedulerService; 33 import com.android.server.job.StateChangedListener;
|
D | BatteryController.java | 17 package com.android.server.job.controllers; 32 import com.android.server.job.JobSchedulerService; 33 import com.android.server.job.StateChangedListener;
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobSchedulerService.java | 17 package com.android.server.job; 26 import android.app.job.JobInfo; 27 import android.app.job.JobScheduler; 28 import android.app.job.JobService; 29 import android.app.job.IJobScheduler; 52 import com.android.server.job.controllers.BatteryController; 53 import com.android.server.job.controllers.ConnectivityController; 54 import com.android.server.job.controllers.IdleController; 55 import com.android.server.job.controllers.JobStatus; 56 import com.android.server.job.controllers.StateController; [all …]
|
D | JobServiceContext.java | 17 package com.android.server.job; 20 import android.app.job.JobParameters; 21 import android.app.job.IJobCallback; 22 import android.app.job.IJobService; 42 import com.android.server.job.controllers.JobStatus; 148 boolean executeRunnableJob(JobStatus job) { in executeRunnableJob() argument 155 mRunningJob = job; in executeRunnableJob() 156 mParams = new JobParameters(this, job.getJobId(), job.getExtras(), in executeRunnableJob() 157 !job.isConstraintsSatisfied()); in executeRunnableJob() 162 final Intent intent = new Intent().setComponent(job.getServiceComponent()); in executeRunnableJob() [all …]
|
D | StateChangedListener.java | 17 package com.android.server.job; 19 import com.android.server.job.controllers.JobStatus;
|
D | JobCompletedListener.java | 17 package com.android.server.job; 19 import com.android.server.job.controllers.JobStatus;
|
D | JobStore.java | 17 package com.android.server.job; 20 import android.app.job.JobInfo; 36 import com.android.server.job.controllers.JobStatus; 370 final JobInfo job = jobStatus.getJob(); in writeExecutionCriteriaToXml() local 373 out.attribute(null, "period", Long.toString(job.getIntervalMillis())); in writeExecutionCriteriaToXml() 395 out.attribute(null, "backoff-policy", Integer.toString(job.getBackoffPolicy())); in writeExecutionCriteriaToXml() 396 … out.attribute(null, "initial-backoff", Long.toString(job.getInitialBackoffMillis())); in writeExecutionCriteriaToXml() 398 if (job.isPeriodic()) { in writeExecutionCriteriaToXml()
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | DispatchThread.java | 50 public void runJob(Runnable job) { in runJob() argument 60 mJobQueue.add(job); in runJob() 73 public void runJobSync(final Runnable job, Object waitLock, long timeoutMs, String jobMsg) { in runJobSync() argument 78 runJob(job); in runJobSync() 112 Runnable job = null; in run() local 123 job = mJobQueue.poll(); in run() 126 if (job == null) { in run() 135 job.run(); in run()
|
/frameworks/base/core/java/android/app/ |
D | JobSchedulerImpl.java | 20 import android.app.job.JobInfo; 21 import android.app.job.JobScheduler; 22 import android.app.job.IJobScheduler; 40 public int schedule(JobInfo job) { in schedule() argument 42 return mBinder.schedule(job); in schedule()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | BackgroundDexOptService.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; 51 JobInfo job = new JobInfo.Builder(BACKGROUND_DEXOPT_JOB, sDexoptServiceName) in schedule() local 55 js.schedule(job); in schedule()
|
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/service/ |
D | TestJobService.java | 19 import android.app.job.JobInfo; 20 import android.app.job.JobScheduler; 21 import android.app.job.JobParameters; 22 import android.app.job.JobService; 120 public void scheduleJob(JobInfo job) { in scheduleJob() argument 121 Log.d(TAG, "Scheduling job " + job); in scheduleJob() 124 tm.schedule(job); in scheduleJob()
|
/frameworks/base/core/java/android/app/job/ |
D | IJobScheduler.aidl | 17 package android.app.job; 19 import android.app.job.JobInfo; 26 int schedule(in JobInfo job); in schedule() argument
|
D | JobParameters.java | 17 package android.app.job; 19 import android.app.job.IJobCallback; 20 import android.app.job.IJobCallback.Stub;
|
D | IJobService.aidl | 17 package android.app.job; 19 import android.app.job.JobParameters;
|
D | JobScheduler.java | 17 package android.app.job; 68 public abstract int schedule(JobInfo job); in schedule() argument
|
D | JobInfo.aidl | 17 package android.app.job;
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | FullBackupJob.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;
|
/frameworks/base/services/core/java/com/android/server/ |
D | MountServiceIdler.java | 22 import android.app.job.JobInfo; 23 import android.app.job.JobParameters; 24 import android.app.job.JobScheduler; 25 import android.app.job.JobService;
|
/frameworks/base/docs/html/training/printing/ |
D | html-docs.jd | 17 <li><a href="#print-job">Create a Print Job</a></li> 29 a page from the web, create a print job and hand it off to Android's print services.</p> 46 <li>Create a {@link android.webkit.WebViewClient} that starts a print job after 86 <strong>Note:</strong> Make sure your call for generating a print job happens in the {@link 94 {@link android.webkit.WebView} object so that is it not garbage collected before the print job 127 <li>An instance of {@link android.webkit.WebView} can only process one print job at a time.</li> 143 <h2 id="print-job">Create a Print Job</h2> 148 job. The following example illustrates how to perform these steps:</p> 160 // Create a print job with name and adapter instance 165 // Save the job object for later status checking [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | JobStoreTest.java | 1 package com.android.server.job; 6 import android.app.job.JobInfo; 7 import android.app.job.JobInfo.Builder; 14 import com.android.server.job.controllers.JobStatus;
|
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/ |
D | MainActivity.java | 20 import android.app.job.JobInfo; 21 import android.app.job.JobParameters; 22 import android.app.job.JobScheduler;
|