Home
last modified time | relevance | path

Searched refs:jobId (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/android/app/job/
DJobParameters.java32 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()
DIJobCallback.aidl37 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
DJobInfo.java73 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()
DJobService.java164 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()
DIJobScheduler.aidl27 void cancel(int jobId); in cancel() argument
DJobScheduler.java76 public abstract void cancel(int jobId); in cancel() argument
/frameworks/base/core/java/android/app/
DJobSchedulerImpl.java49 public void cancel(int jobId) { in cancel() argument
51 mBinder.cancel(jobId); in cancel()
/frameworks/base/services/core/java/com/android/server/job/
DJobServiceContext.java220 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()
DJobStore.java139 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()
DJobSchedulerService.java231 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/
DJobStatus.java217 public boolean matches(int uid, int jobId) { in matches() argument
218 return this.job.getId() == jobId && this.uId == uid; in matches()