Home
last modified time | relevance | path

Searched refs:JobParameters (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/content/
DSyncJobService.java19 import android.app.job.JobParameters;
35 private SparseArray<JobParameters> jobParamsMap = new SparseArray<JobParameters>();
65 public boolean onStartJob(JobParameters params) { in onStartJob()
86 public boolean onStopJob(JobParameters params) { in onStopJob()
103 m.arg1 = params.getStopReason() != JobParameters.REASON_CANCELED ? 1 : 0; in onStopJob()
105 m.arg2 = params.getStopReason() == JobParameters.REASON_TIMEOUT ? 1 : 0; in onStopJob()
113 JobParameters params = jobParamsMap.get(jobId); in callJobFinished()
/frameworks/base/core/java/android/app/job/
DJobParameters.java35 public class JobParameters implements Parcelable { class
61 public JobParameters(IBinder callback, int jobId, PersistableBundle extras, in JobParameters() method in JobParameters
233 private JobParameters(Parcel in) { in JobParameters() method in JobParameters
280 public static final Creator<JobParameters> CREATOR = new Creator<JobParameters>() {
282 public JobParameters createFromParcel(Parcel in) {
283 return new JobParameters(in);
287 public JobParameters[] newArray(int size) {
288 return new JobParameters[size];
DJobServiceEngine.java74 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()
DJobService.java70 public boolean onStartJob(JobParameters params) { in onBind()
75 public boolean onStopJob(JobParameters params) { in onBind()
93 public abstract boolean onStartJob(JobParameters params); in onStartJob()
113 public abstract boolean onStopJob(JobParameters params); in onStopJob()
134 public final void jobFinished(JobParameters params, boolean needsReschedule) { in jobFinished()
DIJobService.aidl19 import android.app.job.JobParameters;
29 void startJob(in JobParameters jobParams); in startJob()
31 void stopJob(in JobParameters jobParams); in stopJob()
DJobParameters.aidl19 parcelable JobParameters;
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/service/
DTestJobService.java21 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/backup/java/com/android/server/backup/
DFullBackupJob.java20 import android.app.job.JobParameters;
35 JobParameters mParams;
60 public boolean onStartJob(JobParameters params) { in onStartJob()
67 public boolean onStopJob(JobParameters params) { in onStopJob()
DKeyValueBackupJob.java21 import android.app.job.JobParameters;
100 public boolean onStartJob(JobParameters params) { in onStartJob()
118 public boolean onStopJob(JobParameters params) { in onStopJob()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DMockPriorityJobService.java20 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()
/frameworks/base/services/core/java/com/android/server/
DMountServiceIdler.java23 import android.app.job.JobParameters;
40 private JobParameters mJobParams;
57 public boolean onStartJob(JobParameters params) { in onStartJob()
81 public boolean onStopJob(JobParameters params) { in onStopJob()
DPruneInstantAppsJobService.java20 import android.app.job.JobParameters;
49 public boolean onStartJob(JobParameters params) { in onStartJob()
58 public boolean onStopJob(JobParameters params) { in onStopJob()
DPreloadsFileCacheExpirationJobService.java20 import android.app.job.JobParameters;
75 public boolean onStartJob(JobParameters params) { in onStartJob()
82 public boolean onStopJob(JobParameters params) { in onStopJob()
/frameworks/base/services/core/java/com/android/server/storage/
DDiskStatsLoggingService.java20 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/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DProvisionObserver.java20 import android.app.job.JobParameters;
48 public boolean onStartJob(JobParameters jobParameters) { in onStartJob()
74 public boolean onStopJob(JobParameters jobParameters) { in onStopJob()
/frameworks/base/services/core/java/com/android/server/pm/
DBackgroundDexOptService.java23 import android.app.job.JobParameters;
155 private boolean runPostBootUpdate(final JobParameters jobParams, in runPostBootUpdate()
171 private void postBootUpdate(JobParameters jobParams, PackageManagerService pm, in postBootUpdate()
227 private boolean runIdleOptimization(final JobParameters jobParams, in runIdleOptimization()
361 public boolean onStartJob(JobParameters params) { in onStartJob()
396 public boolean onStopJob(JobParameters params) { in onStopJob()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoService.java20 import android.app.job.JobParameters;
54 public boolean onStartJob(JobParameters params) { in onStartJob()
101 public boolean onStopJob(JobParameters jobParameters) { in onStopJob()
/frameworks/base/services/core/java/com/android/server/job/
DJobServiceContext.java21 import android.app.job.JobParameters;
102 private JobParameters mParams;
217 mParams = new JobParameters(mRunningCallback, job.getJobId(), ji.getExtras(), in executeRunnableJob()
266 doCancelLocked(JobParameters.REASON_PREEMPT, "cancelled due to preemption"); in preemptExecutingJobLocked()
291 mParams.setStopReason(JobParameters.REASON_TIMEOUT); in timeoutIfExecutingLocked()
511 if (arg1 == JobParameters.REASON_PREEMPT) { in doCancelLocked()
661 mParams.setStopReason(JobParameters.REASON_TIMEOUT); in handleOpTimeoutLocked()
DJobSchedulerService.java36 import android.app.job.JobParameters;
817 stopJobOnServiceContextLocked(cancelled, JobParameters.REASON_CANCELED, reason); in cancelJobImplLocked()
847 jsc.cancelExecutingJobLocked(JobParameters.REASON_DEVICE_IDLE, in onDeviceIdleStateChanged()
1291 JobParameters.REASON_CONSTRAINTS_NOT_SATISFIED, in stopNonReadyActiveJobsLocked()
/frameworks/support/compat/java/android/support/v4/app/
DJobIntentService.java21 import android.app.job.JobParameters;
240 JobParameters mParams;
271 public boolean onStartJob(JobParameters params) { in onStartJob()
280 public boolean onStopJob(JobParameters params) { in onStopJob()
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/
DMainActivity.java21 import android.app.job.JobParameters;
179 public void onReceivedStartJob(JobParameters params) { in onReceivedStartJob()
/frameworks/base/
DAndroid.mk749 frameworks/base/core/java/android/app/job/JobParameters.aidl \
Dpreloaded-classes661 android.app.job.JobParameters
662 android.app.job.JobParameters$1
Dcompiled-classes-phone629 android.app.job.JobParameters
630 android.app.job.JobParameters$1
/frameworks/base/services/
Dprofile-classes223 Landroid/app/job/JobParameters;
224 Landroid/app/job/JobParameters$1;

12