/frameworks/base/core/java/android/app/job/ |
D | JobParameters.java | 32 private final int jobId; field in JobParameters 38 public JobParameters(IBinder callback, int jobId, PersistableBundle extras, in JobParameters() argument 40 this.jobId = jobId; in JobParameters() 50 return jobId; in getJobId() 78 jobId = in.readInt(); in JobParameters() 91 dest.writeInt(jobId); in writeToParcel()
|
D | IJobCallback.aidl | 37 void acknowledgeStartMessage(int jobId, boolean ongoing); in acknowledgeStartMessage() argument 44 void acknowledgeStopMessage(int jobId, boolean reschedule); in acknowledgeStopMessage() argument 52 void jobFinished(int jobId, boolean reschedule); in jobFinished() argument
|
D | JobInfo.java | 73 private final int jobId; field in JobInfo 93 return jobId; in getId() 208 jobId = in.readInt(); in JobInfo() 226 jobId = b.mJobId; in JobInfo() 250 out.writeInt(jobId); in writeToParcel() 281 return "(job:" + jobId + "/" + service.flattenToShortString() + ")"; in toString() 315 public Builder(int jobId, ComponentName jobService) { in Builder() argument 317 mJobId = jobId; in Builder()
|
D | JobService.java | 164 final int jobId = params.getJobId(); in ackStartMessage() local 167 callback.acknowledgeStartMessage(jobId, workOngoing); in ackStartMessage() 180 final int jobId = params.getJobId(); in ackStopMessage() local 183 callback.acknowledgeStopMessage(jobId, reschedule); in ackStopMessage()
|
D | IJobScheduler.aidl | 27 void cancel(int jobId); in cancel() argument
|
D | JobScheduler.java | 76 public abstract void cancel(int jobId); in cancel() argument
|
/frameworks/base/core/java/android/app/ |
D | JobSchedulerImpl.java | 49 public void cancel(int jobId) { in cancel() argument 51 mBinder.cancel(jobId); in cancel()
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobServiceContext.java | 220 public void jobFinished(int jobId, boolean reschedule) { in jobFinished() argument 224 mCallbackHandler.obtainMessage(MSG_CALLBACK, jobId, reschedule ? 1 : 0) in jobFinished() 229 public void acknowledgeStopMessage(int jobId, boolean reschedule) { in acknowledgeStopMessage() argument 233 mCallbackHandler.obtainMessage(MSG_CALLBACK, jobId, reschedule ? 1 : 0) in acknowledgeStopMessage() 238 public void acknowledgeStartMessage(int jobId, boolean ongoing) { in acknowledgeStartMessage() argument 242 mCallbackHandler.obtainMessage(MSG_CALLBACK, jobId, ongoing ? 1 : 0).sendToTarget(); in acknowledgeStartMessage()
|
D | JobStore.java | 139 public boolean containsJobIdForUid(int jobId, int uId) { in containsJobIdForUid() argument 142 if (ts.getUid() == uId && ts.getJobId() == jobId) { in containsJobIdForUid() 218 public JobStatus getJobByUidAndJobId(int uid, int jobId) { in getJobByUidAndJobId() argument 222 if (ts.getUid() == uid && ts.getJobId() == jobId) { in getJobByUidAndJobId() 616 int jobId = Integer.valueOf(parser.getAttributeValue(null, "jobid")); in buildBuilderFromXml() local 621 return new JobInfo.Builder(jobId, cname); in buildBuilderFromXml()
|
D | JobSchedulerService.java | 231 public void cancelJob(int uid, int jobId) { in cancelJob() argument 234 toCancel = mJobs.getJobByUidAndJobId(uid, jobId); in cancelJob() 802 public void cancel(int jobId) throws RemoteException { in cancel() argument 807 JobSchedulerService.this.cancelJob(uid, jobId); in cancel()
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | JobStatus.java | 217 public boolean matches(int uid, int jobId) { in matches() argument 218 return this.job.getId() == jobId && this.uId == uid; in matches()
|