Home
last modified time | relevance | path

Searched defs:jobId (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/core/java/android/app/job/
DIJobCallback.aidl39 void acknowledgeStartMessage(int jobId, boolean ongoing); in acknowledgeStartMessage()
46 void acknowledgeStopMessage(int jobId, boolean reschedule); in acknowledgeStopMessage()
50 JobWorkItem dequeueWork(int jobId); in dequeueWork()
54 boolean completeWork(int jobId, int workId); in completeWork()
62 void jobFinished(int jobId, boolean reschedule); in jobFinished()
DIJobScheduler.aidl30 void cancel(int jobId); in cancel()
33 JobInfo getPendingJob(int jobId); in getPendingJob()
DJobScheduler.java153 public abstract void cancel(int jobId); in cancel()
174 public abstract @Nullable JobInfo getPendingJob(int jobId); in getPendingJob()
DJobServiceEngine.java146 final int jobId = params.getJobId(); in ackStartMessage() local
162 final int jobId = params.getJobId(); in ackStopMessage() local
DJobParameters.java62 private final int jobId; field in JobParameters
77 public JobParameters(IBinder callback, int jobId, PersistableBundle extras, in JobParameters()
DJobInfo.java285 private final int jobId; field in JobInfo
1006 public Builder(int jobId, @NonNull ComponentName jobService) { in Builder()
/frameworks/base/services/core/java/com/android/server/content/
DSyncJobService.java88 final int jobId = params.getJobId(); in onStartJob() local
123 final int jobId = params.getJobId(); in onStopJob() local
173 public void callJobFinished(int jobId, boolean needsReschedule, String why) { in callJobFinished()
190 public void markSyncStarted(int jobId) { in markSyncStarted()
DSyncOperation.java100 public int jobId; field in SyncOperation
DSyncManager.java260 private boolean isJobIdInUseLockedH(int jobId, List<JobInfo> pendingJobs) { in isJobIdInUseLockedH()
3287 private ActiveSyncContext findActiveSyncContextH(int jobId) { in findActiveSyncContextH()
/frameworks/base/services/core/java/com/android/server/job/
DJobServiceContext.java149 public void acknowledgeStartMessage(int jobId, boolean ongoing) { in acknowledgeStartMessage()
154 public void acknowledgeStopMessage(int jobId, boolean reschedule) { in acknowledgeStopMessage()
159 public JobWorkItem dequeueWork(int jobId) { in dequeueWork()
164 public boolean completeWork(int jobId, int workId) { in completeWork()
169 public void jobFinished(int jobId, boolean reschedule) { in jobFinished()
328 boolean timeoutIfExecutingLocked(String pkgName, int userId, boolean matchJobId, int jobId, in timeoutIfExecutingLocked()
343 void doJobFinished(JobCallback cb, int jobId, boolean reschedule) { in doJobFinished()
347 void doAcknowledgeStopMessage(JobCallback cb, int jobId, boolean reschedule) { in doAcknowledgeStopMessage()
351 void doAcknowledgeStartMessage(JobCallback cb, int jobId, boolean ongoing) { in doAcknowledgeStartMessage()
355 JobWorkItem doDequeueWork(JobCallback cb, int jobId) { in doDequeueWork()
[all …]
DJobSchedulerShellCommand.java94 private boolean printError(int errCode, String pkgName, int userId, int jobId) { in printError()
157 final int jobId = Integer.parseInt(getNextArgRequired()); in runJob() local
204 final int jobId = jobIdStr != null ? Integer.parseInt(jobIdStr) : -1; in timeout() local
240 final int jobId = jobIdStr != null ? Integer.parseInt(jobIdStr) : -1; in cancelJob() local
328 final int jobId = Integer.parseInt(jobIdStr); in getJobState() local
DJobSchedulerService.java924 public JobInfo getPendingJob(int uid, int jobId) { in getPendingJob()
1002 public boolean cancelJob(int uid, int jobId, int callingUid) { in cancelJob()
2633 public JobInfo getPendingJob(int jobId) throws RemoteException { in getPendingJob()
2657 public void cancel(int jobId) throws RemoteException { in cancel()
2730 int executeRunCommand(String pkgName, int userId, int jobId, boolean force) { in executeRunCommand()
2766 boolean hasJobId, int jobId) { in executeTimeoutCommand()
2793 boolean hasJobId, int jobId) { in executeCancelCommand()
2872 int getJobState(PrintWriter pw, String pkgName, int userId, int jobId) { in getJobState()
DJobStore.java281 public JobStatus getJobByUidAndJobId(int uid, int jobId) { in getJobByUidAndJobId()
882 int jobId = Integer.parseInt(parser.getAttributeValue(null, "jobid")); in buildBuilderFromXml() local
1138 public JobStatus get(int uid, int jobId) { in get()
DJobPackageTracker.java63 public void addEvent(int cmd, int uid, String tag, int jobId, int stopReason, in addEvent()
/frameworks/base/core/java/android/app/
DJobSchedulerImpl.java69 public void cancel(int jobId) { in cancel()
94 public JobInfo getPendingJob(int jobId) { in getPendingJob()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DMockPriorityJobService.java78 public int jobId; field in MockPriorityJobService.TestEnvironment.Event
83 public Event(int event, int jobId) { in Event()
DJobSetTest.java72 private JobStatus getJobStatusWithCallinUid(int jobId, int callingUid) { in getJobStatusWithCallinUid()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemjob/
DSystemJobScheduler.java84 int jobId = info != null ? info.systemId : mIdGenerator.nextJobSchedulerIdWithRange( in schedule() local
123 public void scheduleInternal(WorkSpec workSpec, int jobId) { in scheduleInternal()
DSystemJobInfoConverter.java69 JobInfo convert(WorkSpec workSpec, int jobId) { in convert()
/frameworks/support/compat/src/main/java/androidx/core/app/
DJobIntentService.java122 void ensureJobId(int jobId) { in ensureJobId()
331 JobWorkEnqueuer(Context context, ComponentName cn, int jobId) { in JobWorkEnqueuer()
499 public static void enqueueWork(@NonNull Context context, @NonNull Class cls, int jobId, in enqueueWork()
516 int jobId, @NonNull Intent work) { in enqueueWork()
528 int jobId) { in getWorkEnqueuer()
/frameworks/base/services/tests/servicestests/test-apps/JobTestApp/src/com/android/servicestests/apps/jobtestapp/
DTestJobActivity.java50 final int jobId = intent.getIntExtra(EXTRA_JOB_ID_KEY, hashCode()); in onCreate() local
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DProvisionObserver.java94 int jobId; in isDeferredForProvision() local
/frameworks/base/services/core/java/com/android/server/job/controllers/
DJobStatus.java981 public boolean matches(int uid, int jobId) { in matches()