/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncJobService.java | 102 final int jobId = params.getJobId(); in onStartJob() local 103 sJobParamsMap.put(jobId, params); in onStartJob() 105 sStartedSyncs.delete(jobId); in onStartJob() 106 sJobStartUptimes.put(jobId, SystemClock.uptimeMillis()); in onStartJob() 136 final int jobId = params.getJobId(); in onStopJob() local 137 sJobParamsMap.remove(jobId); in onStopJob() 139 final long startUptime = sJobStartUptimes.get(jobId); in onStopJob() 148 if (readyToSync && !sStartedSyncs.get(jobId)) { in onStopJob() 149 wtf("Job " + jobId + " didn't start: " in onStopJob() 156 sStartedSyncs.delete(jobId); in onStopJob() [all …]
|
D | SyncOperation.java | 114 public int jobId; field in SyncOperation 155 this.jobId = NO_JOB_ID; in SyncOperation() 166 mImmutableExtras, allowParallelSyncs, false, jobId /* sourcePeriodicId */, in createOneTimeSyncOperation() 253 jobInfoExtras.putInt("jobId", jobId); in toJobInfoExtras() 326 op.jobId = jobExtras.getInt("jobId"); in maybeCreateFromJobExtras() 401 sb.append("JobId=").append(jobId) in dump()
|
D | SyncManager.java | 263 private boolean isJobIdInUseLockedH(int jobId, List<JobInfo> pendingJobs) { in isJobIdInUseLockedH() argument 266 if (job.getId() == jobId) { in isJobIdInUseLockedH() 272 if (asc.mSyncOperation.jobId == jobId) { in isJobIdInUseLockedH() 1622 if (syncOperation.jobId == SyncOperation.NO_JOB_ID) { in scheduleSyncOperationH() 1623 syncOperation.jobId = getUnusedJobIdH(); in scheduleSyncOperationH() 1640 JobInfo.Builder b = new JobInfo.Builder(syncOperation.jobId, in scheduleSyncOperationH() 2069 res = Long.compare(op1.jobId, op2.jobId); 3004 ActiveSyncContext asc = findActiveSyncContextH(op.jobId); in handleSyncMessage() 3058 payload.activeSyncContext.mSyncOperation.jobId, false, in handleSyncMessage() 3108 currentSyncContext.mSyncOperation.jobId, false, in handleSyncMessage() [all …]
|
/frameworks/base/apex/jobscheduler/framework/java/android/app/job/ |
D | IJobCallback.aidl | 40 void acknowledgeStartMessage(int jobId, boolean ongoing); in acknowledgeStartMessage() argument 48 void acknowledgeStopMessage(int jobId, boolean reschedule); in acknowledgeStopMessage() argument 53 JobWorkItem dequeueWork(int jobId); in dequeueWork() argument 58 boolean completeWork(int jobId, int workId); in completeWork() argument 67 void jobFinished(int jobId, boolean reschedule); in jobFinished() argument
|
D | JobParameters.java | 271 private final int jobId; field in JobParameters 289 public JobParameters(IBinder callback, int jobId, PersistableBundle extras, in JobParameters() argument 293 this.jobId = jobId; in JobParameters() 310 return jobId; in getJobId() 517 jobId = in.readInt(); in JobParameters() 557 dest.writeInt(jobId); in writeToParcel()
|
D | JobServiceEngine.java | 143 final int jobId = params.getJobId(); in ackStartMessage() local 146 callback.acknowledgeStartMessage(jobId, workOngoing); in ackStartMessage() 159 final int jobId = params.getJobId(); in ackStopMessage() local 162 callback.acknowledgeStopMessage(jobId, reschedule); in ackStopMessage()
|
D | IJobScheduler.aidl | 32 void cancel(int jobId); in cancel() argument 35 JobInfo getPendingJob(int jobId); in getPendingJob() argument
|
D | UserVisibleJobSummary.java | 36 @NonNull String sourcePackageName, int jobId) { in UserVisibleJobSummary() argument 40 mJobId = jobId; in UserVisibleJobSummary()
|
D | JobScheduler.java | 200 public abstract void cancel(int jobId); in cancel() argument 221 public abstract @Nullable JobInfo getPendingJob(int jobId); in getPendingJob() argument
|
D | JobInfo.java | 409 private final int jobId; field in JobInfo 445 return jobId; in getId() 753 if (jobId != j.jobId) { in equals() 843 int hashCode = jobId; in hashCode() 887 jobId = in.readInt(); in JobInfo() 926 jobId = b.mJobId; in JobInfo() 964 out.writeInt(jobId); in writeToParcel() 1017 return "(job:" + jobId + "/" + service.flattenToShortString() + ")"; in toString() 1157 public Builder(int jobId, @NonNull ComponentName jobService) { in Builder() argument 1159 mJobId = jobId; in Builder()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | MockBiasJobService.java | 78 public int jobId; field in MockBiasJobService.TestEnvironment.Event 83 public Event(int event, int jobId) { in Event() argument 85 this.jobId = jobId; in Event() 92 return otherEvent.event == event && otherEvent.jobId == jobId; in equals()
|
D | BackgroundRestrictionsTest.java | 93 mTestJobStatus.jobId = params.getJobId(); 98 mTestJobStatus.jobId = params.getJobId(); 208 return (mTestJobStatus.jobId == mTestJobId) && mTestJobStatus.running; in awaitJobStart() 217 return (mTestJobStatus.jobId == mTestJobId) && !mTestJobStatus.running 233 int jobId; 239 stopReason = jobId = 0;
|
D | JobSetTest.java | 76 private JobStatus getJobStatusWithCallinUid(int jobId, int callingUid) { in getJobStatusWithCallinUid() argument 77 final JobInfo jobInfo = new JobInfo.Builder(jobId, mComponent) in getJobStatusWithCallinUid()
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | DataMaintenanceService.java | 45 int jobId = getJobId(userId); in scheduleJob() local 47 if (jobScheduler.getPendingJob(jobId) == null) { in scheduleJob() 49 JobInfo newJob = new JobInfo.Builder(jobId, component) in scheduleJob() 89 private static @UserIdInt int getUserId(int jobId) { in getUserId() argument 90 return jobId - BASE_JOB_ID; in getUserId()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobSchedulerShellCommand.java | 99 private boolean printError(int errCode, String pkgName, int userId, int jobId) { in printError() argument 113 pw.print(jobId); in printError() 123 pw.print(jobId); in printError() 173 final int jobId = Integer.parseInt(getNextArgRequired()); in runJob() local 177 int ret = mInternal.executeRunCommand(pkgName, userId, jobId, satisfied, force); in runJob() 178 if (printError(ret, pkgName, userId, jobId)) { in runJob() 220 final int jobId = jobIdStr != null ? Integer.parseInt(jobIdStr) : -1; in timeout() local 224 return mInternal.executeTimeoutCommand(pw, pkgName, userId, jobIdStr != null, jobId); in timeout() 256 final int jobId = jobIdStr != null ? Integer.parseInt(jobIdStr) : -1; in cancelJob() local 260 return mInternal.executeCancelCommand(pw, pkgName, userId, jobIdStr != null, jobId); in cancelJob() [all …]
|
D | JobServiceContext.java | 190 public void acknowledgeStartMessage(int jobId, boolean ongoing) { in acknowledgeStartMessage() argument 191 doAcknowledgeStartMessage(this, jobId, ongoing); in acknowledgeStartMessage() 195 public void acknowledgeStopMessage(int jobId, boolean reschedule) { in acknowledgeStopMessage() argument 196 doAcknowledgeStopMessage(this, jobId, reschedule); in acknowledgeStopMessage() 200 public JobWorkItem dequeueWork(int jobId) { in dequeueWork() argument 201 return doDequeueWork(this, jobId); in dequeueWork() 205 public boolean completeWork(int jobId, int workId) { in completeWork() argument 206 return doCompleteWork(this, jobId, workId); in completeWork() 210 public void jobFinished(int jobId, boolean reschedule) { in jobFinished() argument 211 doJobFinished(this, jobId, reschedule); in jobFinished() [all …]
|
/frameworks/base/services/tests/servicestests/test-apps/JobTestApp/src/com/android/servicestests/apps/jobtestapp/ |
D | TestJobActivity.java | 50 final int jobId = intent.getIntExtra(EXTRA_JOB_ID_KEY, hashCode()); in onCreate() local 51 JobInfo.Builder jobBuilder = new JobInfo.Builder(jobId, jobServiceComponent) in onCreate() 57 Log.e(TAG, "Could not schedule job " + jobId); in onCreate() 59 Log.d(TAG, "Successfully scheduled job with id " + jobId); in onCreate()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsIdleService.java | 76 private static void scheduleJobInternal(Context context, JobInfo pruneJob, int jobId) { in scheduleJobInternal() argument 78 final JobInfo pendingPruneJob = jobScheduler.getPendingJob(jobId); in scheduleJobInternal() 81 jobScheduler.cancel(jobId); // cancel any previously scheduled prune job in scheduleJobInternal() 94 private static void cancelJobInternal(Context context, int jobId) { in cancelJobInternal() argument 97 jobScheduler.cancel(jobId); in cancelJobInternal()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | DynamicCodeLoggingService.java | 99 int jobId = params.getJobId(); in onStartJob() local 101 Log.d(TAG, "onStartJob " + jobId); in onStartJob() 103 switch (jobId) { in onStartJob() 120 int jobId = params.getJobId(); in onStopJob() local 122 Log.d(TAG, "onStopJob " + jobId); in onStopJob() 124 switch (jobId) { in onStopJob()
|
/frameworks/base/apex/jobscheduler/framework/java/android/app/ |
D | JobSchedulerImpl.java | 75 public void cancel(int jobId) { in cancel() argument 77 mBinder.cancel(jobId); in cancel() 100 public JobInfo getPendingJob(int jobId) { in getPendingJob() argument 102 return mBinder.getPendingJob(jobId); in getPendingJob()
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | ProvisionObserver.java | 93 int jobId; in isDeferredForProvision() local 96 jobId = PROVISION_OBSERVER_REEVALUATION_JOB_ID; in isDeferredForProvision() 103 final JobInfo job = new JobInfo.Builder(jobId, in isDeferredForProvision()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | StateControllerTest.java | 135 private JobStatus createJobStatus(String testTag, int jobId) { in createJobStatus() argument 136 JobInfo jobInfo = new JobInfo.Builder(jobId, in createJobStatus() 138 .setMinimumLatency(Math.abs(jobId) + 1) in createJobStatus()
|
D | BatteryControllerTest.java | 177 private JobInfo.Builder createBaseJobInfoBuilder(int jobId) { in createBaseJobInfoBuilder() argument 178 return new JobInfo.Builder(jobId, new ComponentName(mContext, "TestBatteryJobService")); in createBaseJobInfoBuilder() 181 private JobInfo.Builder createBaseJobInfoBuilder(int jobId, String pkgName) { in createBaseJobInfoBuilder() argument 182 return new JobInfo.Builder(jobId, new ComponentName(pkgName, "TestBatteryJobService")); in createBaseJobInfoBuilder()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/ |
D | AuxiliaryPersistenceWrapper.kt | 115 val jobId = DELETE_FILE_JOB_ID + context.userId in getJobForContext() constant 118 return JobInfo.Builder(jobId, componentName) in getJobForContext()
|
/frameworks/base/tests/JobSchedulerPerfTests/src/com/android/frameworks/perftests/job/ |
D | JobStorePerfTests.java | 147 private static JobStatus createJobStatus(String testTag, int jobId) { in createJobStatus() argument 148 JobInfo jobInfo = new JobInfo.Builder(jobId, in createJobStatus()
|