HomeSort by relevance Sort by last modified time
    Searched refs:JobParameters (Results 1 - 25 of 40) sorted by null

1 2

  /frameworks/base/core/java/android/app/job/
JobParameters.aidl 19 parcelable JobParameters;
IJobService.aidl 19 import android.app.job.JobParameters;
29 void startJob(in JobParameters jobParams);
31 void stopJob(in JobParameters jobParams);
JobParameters.java 30 public class JobParameters implements Parcelable {
53 public JobParameters(IBinder callback, int jobId, PersistableBundle extras,
127 private JobParameters(Parcel in) {
158 public static final Creator<JobParameters> CREATOR = new Creator<JobParameters>() {
160 public JobParameters createFromParcel(Parcel in) {
161 return new JobParameters(in);
165 public JobParameters[] newArray(int size) {
166 return new JobParameters[size];
JobService.java 35 * are responsible for overriding {@link JobService#onStartJob(JobParameters)}, which is where
41 * {@link #onStopJob(android.app.job.JobParameters)}, which is meant to inform you that the
65 * {@link #onStartJob(android.app.job.JobParameters)}.
69 * Message that will result in a call to {@link #onStopJob(android.app.job.JobParameters)}.
95 public void startJob(JobParameters jobParams) throws RemoteException {
105 public void stopJob(JobParameters jobParams) throws RemoteException {
139 final JobParameters params = (JobParameters) msg.obj;
179 private void ackStartMessage(JobParameters params, boolean workOngoing) {
195 private void ackStopMessage(JobParameters params, boolean reschedule)
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/
CameraContentJobService.java 21 import android.app.job.JobParameters;
48 public boolean onStartJob(JobParameters params) {
55 public boolean onStopJob(JobParameters params) {
69 private JobParameters mExecutedJobParameters;
79 public JobParameters getLastJobParameters() {
95 private void notifyExecution(JobParameters params) {
  /cts/tests/JobScheduler/src/android/jobscheduler/
MockJobService.java 20 import android.app.job.JobParameters;
46 public boolean onStartJob(JobParameters params) {
54 public boolean onStopJob(JobParameters params) {
69 private JobParameters mExecutedJobParameters;
78 public JobParameters getLastJobParameters() {
100 private void notifyExecution(JobParameters params) {
TriggerContentJobService.java 21 import android.app.job.JobParameters;
47 JobParameters mRunningParams;
69 public boolean onStartJob(JobParameters params) {
87 public boolean onStopJob(JobParameters params) {
102 private JobParameters mExecutedJobParameters;
116 public JobParameters getLastJobParameters() {
157 private void notifyExecution(JobParameters params) {
  /packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/job/
DishService.java 18 import android.app.job.JobParameters;
39 private SparseArray<JobParameters> mTaskMap = new SparseArray<JobParameters>();
42 JobParameters job = (JobParameters) msg.obj;
55 JobParameters job1 = mTaskMap.get(job.getJobId());
69 public boolean onStopJob(JobParameters jobParameters) {
70 Log.d(TAG, "onStopJob " + jobParameters);
71 Message msg = mHandler.obtainMessage(MSG_CANCEL_JOB, 0, 0, jobParameters);
    [all...]
  /developers/build/prebuilts/gradle/JobScheduler/Application/src/main/java/com/example/android/jobscheduler/service/
TestJobService.java 21 import android.app.job.JobParameters;
74 public boolean onStartJob(JobParameters params) {
87 public boolean onStopJob(JobParameters params) {
98 private final LinkedList<JobParameters> jobParamsMap = new LinkedList<JobParameters>();
118 JobParameters params = jobParamsMap.poll();
  /developers/samples/android/background/JobScheduler/Application/src/main/java/com/example/android/jobscheduler/service/
TestJobService.java 21 import android.app.job.JobParameters;
74 public boolean onStartJob(JobParameters params) {
87 public boolean onStopJob(JobParameters params) {
98 private final LinkedList<JobParameters> jobParamsMap = new LinkedList<JobParameters>();
118 JobParameters params = jobParamsMap.poll();
  /development/samples/browseable/JobScheduler/src/com.example.android.jobscheduler/service/
TestJobService.java 21 import android.app.job.JobParameters;
74 public boolean onStartJob(JobParameters params) {
87 public boolean onStopJob(JobParameters params) {
98 private final LinkedList<JobParameters> jobParamsMap = new LinkedList<JobParameters>();
118 JobParameters params = jobParamsMap.poll();
  /frameworks/base/services/core/java/com/android/server/content/
SyncJobService.java 19 import android.app.job.JobParameters;
35 private SparseArray<JobParameters> jobParamsMap = new SparseArray<JobParameters>();
65 public boolean onStartJob(JobParameters params) {
86 public boolean onStopJob(JobParameters params) {
103 m.arg1 = params.getStopReason() != JobParameters.REASON_CANCELED ? 1 : 0;
105 m.arg2 = params.getStopReason() == JobParameters.REASON_TIMEOUT ? 1 : 0;
113 JobParameters params = jobParamsMap.get(jobId);
  /frameworks/base/services/backup/java/com/android/server/backup/
FullBackupJob.java 20 import android.app.job.JobParameters;
35 JobParameters mParams;
60 public boolean onStartJob(JobParameters params) {
67 public boolean onStopJob(JobParameters params) {
KeyValueBackupJob.java 21 import android.app.job.JobParameters;
100 public boolean onStartJob(JobParameters params) {
118 public boolean onStopJob(JobParameters params) {
  /frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/service/
TestJobService.java 21 import android.app.job.JobParameters;
83 public boolean onStartJob(JobParameters params) {
102 public boolean onStopJob(JobParameters params) {
112 private final SparseArray<JobParameters> jobParamsMap = new SparseArray<JobParameters>();
131 JobParameters params = jobParamsMap.valueAt(0);
  /frameworks/base/services/core/java/com/android/server/
MountServiceIdler.java 23 import android.app.job.JobParameters;
40 private JobParameters mJobParams;
57 public boolean onStartJob(JobParameters params) {
81 public boolean onStopJob(JobParameters params) {
  /frameworks/base/services/tests/servicestests/src/com/android/server/job/
MockPriorityJobService.java 20 import android.app.job.JobParameters;
37 public boolean onStartJob(JobParameters params) {
45 public boolean onStopJob(JobParameters params) {
50 if (reason == JobParameters.REASON_PREEMPT) {
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
DownloadJobService.java 23 import android.app.job.JobParameters;
57 public boolean onStartJob(JobParameters params) {
78 public boolean onStopJob(JobParameters params) {
95 public void jobFinishedInternal(JobParameters params, boolean needsReschedule) {
DownloadIdleService.java 24 import android.app.job.JobParameters;
59 private JobParameters mParams;
61 public IdleRunnable(JobParameters params) {
74 public boolean onStartJob(JobParameters params) {
80 public boolean onStopJob(JobParameters params) {
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/jobscheduler/
MockJobService.java 20 import android.app.job.JobParameters;
46 public boolean onStartJob(JobParameters params) {
54 public boolean onStopJob(JobParameters params) {
  /development/samples/ApiDemos/src/com/example/android/apis/content/
MediaContentJob.java 20 import android.app.job.JobParameters;
49 JobParameters mRunningParams;
81 public boolean onStartJob(JobParameters params) {
113 public boolean onStopJob(JobParameters params) {
PhotosContentJob.java 23 import android.app.job.JobParameters;
85 JobParameters mRunningParams;
116 public boolean onStartJob(JobParameters params) {
208 public boolean onStopJob(JobParameters params) {
  /frameworks/base/services/core/java/com/android/server/pm/
BackgroundDexOptService.java 23 import android.app.job.JobParameters;
116 private boolean runPostBootUpdate(final JobParameters jobParams,
168 private boolean runIdleOptimization(final JobParameters jobParams,
211 public boolean onStartJob(JobParameters params) {
240 public boolean onStopJob(JobParameters params) {
  /frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
NekoService.java 20 import android.app.job.JobParameters;
54 public boolean onStartJob(JobParameters params) {
100 public boolean onStopJob(JobParameters jobParameters) {
  /cts/tests/JobScheduler/src/android/jobscheduler/cts/
TimingConstraintsTest.java 20 import android.app.job.JobParameters;
60 * {@link JobParameters#isOverrideDeadlineExpired()} returns the correct value.
80 * {@link JobParameters#isOverrideDeadlineExpired()} returns the correct value.
95 " JobParameters#isOverrideDeadlineExpired=false",

Completed in 803 milliseconds

1 2