/frameworks/base/apex/jobscheduler/framework/java/android/app/job/ |
D | JobService.java | 61 public boolean onStartJob(JobParameters params) { in onBind() 66 public boolean onStopJob(JobParameters params) { in onBind() 98 public final void jobFinished(JobParameters params, boolean wantsReschedule) { in jobFinished() 134 public abstract boolean onStartJob(JobParameters params); in onStartJob() 167 public abstract boolean onStopJob(JobParameters params); in onStopJob()
|
D | JobServiceEngine.java | 71 public void startJob(JobParameters jobParams) throws RemoteException { in startJob() 80 public void stopJob(JobParameters jobParams) throws RemoteException { in stopJob() 101 final JobParameters params = (JobParameters) msg.obj; in handleMessage() 141 private void ackStartMessage(JobParameters params, boolean workOngoing) { in ackStartMessage() 157 private void ackStopMessage(JobParameters params, boolean reschedule) { in ackStopMessage() 196 public abstract boolean onStartJob(JobParameters params); in onStartJob() 202 public abstract boolean onStopJob(JobParameters params); in onStopJob() 208 public void jobFinished(JobParameters params, boolean needsReschedule) { in jobFinished()
|
D | IJobService.aidl | 19 import android.app.job.JobParameters; 30 void startJob(in JobParameters jobParams); in startJob() 33 void stopJob(in JobParameters jobParams); in stopJob()
|
D | JobParameters.java | 44 public class JobParameters implements Parcelable { class 276 public JobParameters(IBinder callback, int jobId, PersistableBundle extras, in JobParameters() method in JobParameters 503 private JobParameters(Parcel in) { in JobParameters() method in JobParameters 570 …c static final @android.annotation.NonNull Creator<JobParameters> CREATOR = new Creator<JobParamet… 572 public JobParameters createFromParcel(Parcel in) { 573 return new JobParameters(in); 577 public JobParameters[] newArray(int size) { 578 return new JobParameters[size];
|
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/service/ |
D | TestJobService.java | 21 import android.app.job.JobParameters; 83 public boolean onStartJob(JobParameters params) { in onStartJob() 103 public boolean onStopJob(JobParameters params) { in onStopJob() 113 private final SparseArray<JobParameters> jobParamsMap = new SparseArray<JobParameters>(); 132 JobParameters params = jobParamsMap.valueAt(0); in callJobFinished()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncJobService.java | 20 import android.app.job.JobParameters; 41 private static final SparseArray<JobParameters> sJobParamsMap = new SparseArray<>(); 74 public boolean onStartJob(JobParameters params) { in onStartJob() 119 public boolean onStopJob(JobParameters params) { in onStopJob() 164 m.arg1 = params.getInternalStopReasonCode() != JobParameters.INTERNAL_STOP_REASON_CANCELED in onStopJob() 167 m.arg2 = params.getInternalStopReasonCode() == JobParameters.INTERNAL_STOP_REASON_TIMEOUT in onStopJob() 183 JobParameters params = sJobParamsMap.get(jobId); in callJobFinishedInner() 204 public static String jobParametersToString(JobParameters params) { in jobParametersToString()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | DynamicCodeLoggingService.java | 20 import android.app.job.JobParameters; 97 public boolean onStartJob(JobParameters params) { in onStartJob() 118 public boolean onStopJob(JobParameters params) { in onStopJob() 141 private final JobParameters mParams; 143 IdleLoggingThread(JobParameters params) { in IdleLoggingThread() 172 private final JobParameters mParams; 174 AuditWatchingThread(JobParameters params) { in AuditWatchingThread()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobServiceContext.java | 27 import android.app.job.JobParameters; 115 private JobParameters mParams; 168 private int mPendingStopReason = JobParameters.STOP_REASON_UNDEFINED; 257 mParams = new JobParameters(mRunningCallback, job.getJobId(), ji.getExtras(), in executeRunnableJob() 380 void cancelExecutingJobLocked(@JobParameters.StopReason int reason, in cancelExecutingJobLocked() 414 mParams.setStopReason(JobParameters.STOP_REASON_TIMEOUT, in timeoutIfExecutingLocked() 415 JobParameters.INTERNAL_STOP_REASON_TIMEOUT, reason); in timeoutIfExecutingLocked() 430 mParams.setStopReason(JobParameters.STOP_REASON_UNDEFINED, in doJobFinished() 431 JobParameters.INTERNAL_STOP_REASON_SUCCESSFUL_FINISH, in doJobFinished() 463 mParams.setStopReason(JobParameters.STOP_REASON_UNDEFINED, in doDequeueWork() [all …]
|
/frameworks/base/services/core/java/com/android/server/timezone/ |
D | TimeZoneUpdateIdler.java | 20 import android.app.job.JobParameters; 41 public boolean onStartJob(JobParameters params) { in onStartJob() 56 public boolean onStopJob(JobParameters params) { in onStopJob() 58 boolean reschedule = params.getStopReason() != JobParameters.STOP_REASON_CANCELLED_BY_APP; in onStopJob()
|
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/ |
D | BlobStoreIdleJobService.java | 23 import android.app.job.JobParameters; 38 public boolean onStartJob(final JobParameters params) { in onStartJob() 49 public boolean onStopJob(final JobParameters params) { in onStopJob() 52 + JobParameters.getInternalReasonCodeDescription( in onStopJob()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | FullBackupJob.java | 22 import android.app.job.JobParameters; 45 private final SparseArray<JobParameters> mParamsForUser = new SparseArray<>(); 76 JobParameters jobParameters = mParamsForUser.get(userId); in finishBackupPass() 87 public boolean onStartJob(JobParameters params) { in onStartJob() 99 public boolean onStopJob(JobParameters params) { in onStopJob()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | BackgroundRestrictionsTest.java | 29 import android.app.job.JobParameters; 87 final JobParameters params = intent.getParcelableExtra(JOB_PARAMS_EXTRA_KEY); 94 mTestJobStatus.stopReason = JobParameters.STOP_REASON_UNDEFINED; 146 JobParameters.STOP_REASON_BACKGROUND_RESTRICTION)); in testPowerExemption() 157 JobParameters.STOP_REASON_BACKGROUND_RESTRICTION)); in testPowerExemption() 175 awaitJobStop(DEFAULT_WAIT_TIMEOUT, JobParameters.STOP_REASON_UNDEFINED)); in testFeatureFlag() 213 private boolean awaitJobStop(long timeout, @JobParameters.StopReason int expectedStopReason) 218 && (expectedStopReason == JobParameters.STOP_REASON_UNDEFINED
|
D | MockPriorityJobService.java | 20 import android.app.job.JobParameters; 37 public boolean onStartJob(JobParameters params) { in onStartJob() 45 public boolean onStopJob(JobParameters params) { in onStopJob() 50 if (reason == JobParameters.STOP_REASON_PREEMPT) { in onStopJob()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/restrictions/ |
D | JobRestriction.java | 20 import android.app.job.JobParameters; 41 JobRestriction(JobSchedulerService service, @JobParameters.StopReason int reason, in JobRestriction() 72 @JobParameters.StopReason
|
D | ThermalStatusRestriction.java | 19 import android.app.job.JobParameters; 37 super(service, JobParameters.STOP_REASON_DEVICE_STATE, in ThermalStatusRestriction() 38 JobParameters.INTERNAL_STOP_REASON_DEVICE_THERMAL); in ThermalStatusRestriction()
|
/frameworks/base/services/tests/servicestests/test-apps/JobTestApp/src/com/android/servicestests/apps/jobtestapp/ |
D | TestJobService.java | 20 import android.app.job.JobParameters; 34 public boolean onStartJob(JobParameters params) { in onStartJob() 43 public boolean onStopJob(JobParameters params) { in onStopJob()
|
/frameworks/base/services/core/java/com/android/server/ |
D | PruneInstantAppsJobService.java | 20 import android.app.job.JobParameters; 50 public boolean onStartJob(JobParameters params) { in onStartJob() 61 public boolean onStopJob(JobParameters params) { in onStopJob()
|
D | MountServiceIdler.java | 23 import android.app.job.JobParameters; 41 private JobParameters mJobParams; 58 public boolean onStartJob(JobParameters params) { in onStartJob() 82 public boolean onStopJob(JobParameters params) { in onStopJob()
|
D | PreloadsFileCacheExpirationJobService.java | 20 import android.app.job.JobParameters; 75 public boolean onStartJob(JobParameters params) { in onStartJob() 82 public boolean onStopJob(JobParameters params) { in onStopJob()
|
/frameworks/base/services/core/java/com/android/server/camera/ |
D | CameraStatsJobService.java | 20 import android.app.job.JobParameters; 46 public boolean onStartJob(JobParameters params) { in onStartJob() 58 public boolean onStopJob(JobParameters params) { in onStopJob()
|
/frameworks/base/services/core/java/com/android/server/net/watchlist/ |
D | ReportWatchlistJobService.java | 20 import android.app.job.JobParameters; 44 public boolean onStartJob(final JobParameters jobParameters) { in onStartJob() 55 public boolean onStopJob(JobParameters jobParameters) { in onStopJob()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | WriteFallbackSettingsFilesJobService.java | 26 import android.app.job.JobParameters; 37 public boolean onStartJob(final JobParameters params) { in onStartJob() 52 public boolean onStopJob(JobParameters params) { in onStopJob()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | BrightnessIdleJob.java | 21 import android.app.job.JobParameters; 68 public boolean onStartJob(JobParameters params) { in onStartJob() 78 public boolean onStopJob(JobParameters params) { in onStopJob()
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | DiskStatsLoggingService.java | 20 import android.app.job.JobParameters; 57 public boolean onStartJob(JobParameters params) { in onStartJob() 88 public boolean onStopJob(JobParameters params) { in onStopJob() 128 private JobParameters mParams; 155 public void setJobService(JobService jobService, JobParameters params) { in setJobService()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/ |
D | DeletionJobServiceTest.kt | 19 import android.app.job.JobParameters 57 assertFalse(service.onStartJob(mock(JobParameters::class.java))) in testOnStartJob() 64 assertTrue(service.onStopJob(mock(JobParameters::class.java))) in testOnStopJob()
|