/frameworks/base/core/java/android/app/job/ |
D | JobService.java | 61 public boolean onStartJob(JobParameters params) { in onBind() 66 public boolean onStopJob(JobParameters params) { in onBind() 97 public final void jobFinished(JobParameters params, boolean wantsReschedule) { in jobFinished() 133 public abstract boolean onStartJob(JobParameters params); in onStartJob() 156 public abstract boolean onStopJob(JobParameters params); in onStopJob()
|
D | JobServiceEngine.java | 74 public void startJob(JobParameters jobParams) throws RemoteException { in startJob() 83 public void stopJob(JobParameters jobParams) throws RemoteException { in stopJob() 104 final JobParameters params = (JobParameters) msg.obj; in handleMessage() 144 private void ackStartMessage(JobParameters params, boolean workOngoing) { in ackStartMessage() 160 private void ackStopMessage(JobParameters params, boolean reschedule) { in ackStopMessage() 199 public abstract boolean onStartJob(JobParameters params); in onStartJob() 205 public abstract boolean onStopJob(JobParameters params); in onStopJob() 212 public void jobFinished(JobParameters params, boolean needsReschedule) { in jobFinished()
|
D | JobParameters.java | 36 public class JobParameters implements Parcelable { class 81 public JobParameters(IBinder callback, int jobId, PersistableBundle extras, in JobParameters() method in JobParameters 285 private JobParameters(Parcel in) { in JobParameters() method in JobParameters 346 …c static final @android.annotation.NonNull Creator<JobParameters> CREATOR = new Creator<JobParamet… 348 public JobParameters createFromParcel(Parcel in) { 349 return new JobParameters(in); 353 public JobParameters[] newArray(int size) { 354 return new JobParameters[size];
|
D | IJobService.aidl | 19 import android.app.job.JobParameters; 30 void startJob(in JobParameters jobParams); in startJob() 33 void stopJob(in JobParameters jobParams); in stopJob()
|
D | JobParameters.aidl | 19 parcelable JobParameters;
|
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/service/ |
D | TestJobService.java | 21 import android.app.job.JobParameters; 83 public boolean onStartJob(JobParameters params) { in onStartJob() 103 public boolean onStopJob(JobParameters params) { in onStopJob() 113 private final SparseArray<JobParameters> jobParamsMap = new SparseArray<JobParameters>(); 132 JobParameters params = jobParamsMap.valueAt(0); in callJobFinished()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncJobService.java | 20 import android.app.job.JobParameters; 41 private static final SparseArray<JobParameters> sJobParamsMap = new SparseArray<>(); 74 public boolean onStartJob(JobParameters params) { in onStartJob() 119 public boolean onStopJob(JobParameters params) { in onStopJob() 164 m.arg1 = params.getStopReason() != JobParameters.REASON_CANCELED ? 1 : 0; in onStopJob() 166 m.arg2 = params.getStopReason() == JobParameters.REASON_TIMEOUT ? 1 : 0; in onStopJob() 181 JobParameters params = sJobParamsMap.get(jobId); in callJobFinishedInner() 202 public static String jobParametersToString(JobParameters params) { in jobParametersToString()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | DynamicCodeLoggingService.java | 20 import android.app.job.JobParameters; 97 public boolean onStartJob(JobParameters params) { in onStartJob() 118 public boolean onStopJob(JobParameters params) { in onStopJob() 141 private final JobParameters mParams; 143 IdleLoggingThread(JobParameters params) { in IdleLoggingThread() 172 private final JobParameters mParams; 174 AuditWatchingThread(JobParameters params) { in AuditWatchingThread()
|
D | BackgroundDexOptService.java | 23 import android.app.job.JobParameters; 179 private boolean runPostBootUpdate(final JobParameters jobParams, in runPostBootUpdate() 195 private void postBootUpdate(JobParameters jobParams, PackageManagerService pm, in postBootUpdate() 251 private boolean runIdleOptimization(final JobParameters jobParams, in runIdleOptimization() 582 public boolean onStartJob(JobParameters params) { in onStartJob() 617 public boolean onStopJob(JobParameters params) { in onStopJob()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | FullBackupJob.java | 20 import android.app.job.JobParameters; 43 private final SparseArray<JobParameters> mParamsForUser = new SparseArray<>(); 74 JobParameters jobParameters = mParamsForUser.get(userId); in finishBackupPass() 85 public boolean onStartJob(JobParameters params) { in onStartJob() 97 public boolean onStopJob(JobParameters params) { in onStopJob()
|
D | KeyValueBackupJob.java | 23 import android.app.job.JobParameters; 138 public boolean onStartJob(JobParameters params) { in onStartJob() 157 public boolean onStopJob(JobParameters params) { in onStopJob()
|
/frameworks/base/services/core/java/com/android/server/timezone/ |
D | TimeZoneUpdateIdler.java | 22 import android.app.job.JobParameters; 41 public boolean onStartJob(JobParameters params) { in onStartJob() 56 public boolean onStopJob(JobParameters params) { in onStopJob() 58 boolean reschedule = params.getStopReason() != JobParameters.REASON_CANCELED; in onStopJob()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | MockPriorityJobService.java | 20 import android.app.job.JobParameters; 37 public boolean onStartJob(JobParameters params) { in onStartJob() 45 public boolean onStopJob(JobParameters params) { in onStopJob() 50 if (reason == JobParameters.REASON_PREEMPT) { in onStopJob()
|
D | BackgroundRestrictionsTest.java | 29 import android.app.job.JobParameters; 86 final JobParameters params = intent.getParcelableExtra(JOB_PARAMS_EXTRA_KEY); 93 mTestJobStatus.stopReason = JobParameters.REASON_CANCELED; 198 mTestJobStatus.stopReason == JobParameters.REASON_CONSTRAINTS_NOT_SATISFIED;
|
/frameworks/base/services/tests/servicestests/test-apps/JobTestApp/src/com/android/servicestests/apps/jobtestapp/ |
D | TestJobService.java | 20 import android.app.job.JobParameters; 34 public boolean onStartJob(JobParameters params) { in onStartJob() 43 public boolean onStopJob(JobParameters params) { in onStopJob()
|
/frameworks/base/services/core/java/com/android/server/ |
D | MountServiceIdler.java | 23 import android.app.job.JobParameters; 41 private JobParameters mJobParams; 58 public boolean onStartJob(JobParameters params) { in onStartJob() 82 public boolean onStopJob(JobParameters params) { in onStopJob()
|
D | PruneInstantAppsJobService.java | 20 import android.app.job.JobParameters; 50 public boolean onStartJob(JobParameters params) { in onStartJob() 61 public boolean onStopJob(JobParameters params) { in onStopJob()
|
D | PreloadsFileCacheExpirationJobService.java | 20 import android.app.job.JobParameters; 75 public boolean onStartJob(JobParameters params) { in onStartJob() 82 public boolean onStopJob(JobParameters params) { in onStopJob()
|
D | ZramWriteback.java | 20 import android.app.job.JobParameters; 136 public boolean onStartJob(JobParameters params) { in onStartJob() 161 public boolean onStopJob(JobParameters params) { in onStopJob()
|
/frameworks/base/services/core/java/com/android/server/camera/ |
D | CameraStatsJobService.java | 20 import android.app.job.JobParameters; 46 public boolean onStartJob(JobParameters params) { in onStartJob() 58 public boolean onStopJob(JobParameters params) { in onStopJob()
|
/frameworks/base/services/core/java/com/android/server/net/watchlist/ |
D | ReportWatchlistJobService.java | 20 import android.app.job.JobParameters; 44 public boolean onStartJob(final JobParameters jobParameters) { in onStartJob() 55 public boolean onStopJob(JobParameters jobParameters) { in onStopJob()
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | DiskStatsLoggingService.java | 20 import android.app.job.JobParameters; 57 public boolean onStartJob(JobParameters params) { in onStartJob() 88 public boolean onStopJob(JobParameters params) { in onStopJob() 128 private JobParameters mParams; 155 public void setJobService(JobService jobService, JobParameters params) { in setJobService()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | BrightnessIdleJob.java | 21 import android.app.job.JobParameters; 68 public boolean onStartJob(JobParameters params) { in onStartJob() 78 public boolean onStopJob(JobParameters params) { in onStopJob()
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | ProvisionObserver.java | 20 import android.app.job.JobParameters; 47 public boolean onStartJob(JobParameters jobParameters) { in onStartJob() 73 public boolean onStopJob(JobParameters jobParameters) { in onStopJob()
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobServiceContext.java | 25 import android.app.job.JobParameters; 109 private JobParameters mParams; 224 mParams = new JobParameters(mRunningCallback, job.getJobId(), ji.getExtras(), in executeRunnableJob() 320 doCancelLocked(JobParameters.REASON_PREEMPT, "cancelled due to preemption"); in preemptExecutingJobLocked() 347 mParams.setStopReason(JobParameters.REASON_TIMEOUT, reason); in timeoutIfExecutingLocked() 583 if (arg1 == JobParameters.REASON_PREEMPT) { in doCancelLocked() 737 mParams.setStopReason(JobParameters.REASON_TIMEOUT, "client timed out"); in handleOpTimeoutLocked()
|