/frameworks/base/apex/jobscheduler/framework/java/android/app/job/ |
D | JobService.java | 117 public boolean onStartJob(JobParameters params) { in onBind() 122 public boolean onStopJob(JobParameters params) { in onBind() 128 public long getTransferredDownloadBytes(@NonNull JobParameters params, in onBind() 139 public long getTransferredUploadBytes(@NonNull JobParameters params, in onBind() 149 public void onNetworkChanged(@NonNull JobParameters params) { in onBind() 188 public final void jobFinished(JobParameters params, boolean wantsReschedule) { in jobFinished() 224 public abstract boolean onStartJob(JobParameters params); in onStartJob() 264 public abstract boolean onStopJob(JobParameters params); in onStopJob() 283 public void onNetworkChanged(@NonNull JobParameters params) { in onNetworkChanged() 293 public final void updateEstimatedNetworkBytes(@NonNull JobParameters params, in updateEstimatedNetworkBytes() [all …]
|
D | JobServiceEngine.java | 98 public void getTransferredDownloadBytes(@NonNull JobParameters jobParams, in getTransferredDownloadBytes() 111 public void getTransferredUploadBytes(@NonNull JobParameters jobParams, in getTransferredUploadBytes() 124 public void startJob(JobParameters jobParams) throws RemoteException { in startJob() 133 public void onNetworkChanged(JobParameters jobParams) throws RemoteException { in onNetworkChanged() 143 public void stopJob(JobParameters jobParams) throws RemoteException { in stopJob() 166 final JobParameters params = (JobParameters) msg.obj; in handleMessage() 177 final JobParameters params = (JobParameters) msg.obj; in handleMessage() 188 final JobParameters params = (JobParameters) msg.obj; in handleMessage() 205 final JobParameters params = (JobParameters) args.arg1; in handleMessage() 219 final JobParameters params = (JobParameters) args.arg1; in handleMessage() [all …]
|
D | IJobService.aidl | 19 import android.app.job.JobParameters; 31 void startJob(in JobParameters jobParams); in startJob() 34 void stopJob(in JobParameters jobParams); in stopJob() 36 void onNetworkChanged(in JobParameters jobParams); in onNetworkChanged() 38 void getTransferredDownloadBytes(in JobParameters jobParams, in JobWorkItem jobWorkItem); in getTransferredDownloadBytes() 40 void getTransferredUploadBytes(in JobParameters jobParams, in JobWorkItem jobWorkItem); in getTransferredUploadBytes()
|
D | JobParameters.java | 45 public class JobParameters implements Parcelable { class 311 public JobParameters(IBinder callback, String namespace, int jobId, PersistableBundle extras, in JobParameters() method in JobParameters 574 private JobParameters(Parcel in) { in JobParameters() method in JobParameters 650 …c static final @android.annotation.NonNull Creator<JobParameters> CREATOR = new Creator<JobParamet… 652 public JobParameters createFromParcel(Parcel in) { 653 return new JobParameters(in); 657 public JobParameters[] newArray(int size) { 658 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/companion/java/com/android/server/companion/association/ |
D | InactiveAssociationsRemovalService.java | 22 import android.app.job.JobParameters; 46 public boolean onStartJob(final JobParameters params) { in onStartJob() 57 public boolean onStopJob(final JobParameters params) { in onStopJob() 60 + JobParameters.getInternalReasonCodeDescription( 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/tests/mockingservicestests/src/com/android/server/job/ |
D | JobSchedulerServiceTest.java | 56 import android.app.job.JobParameters; 226 JobParameters.STOP_REASON_UNDEFINED, JobParameters.INTERNAL_STOP_REASON_UNKNOWN, in tearDown() 394 mService.maybeProcessBuggyJob(jobUij, JobParameters.INTERNAL_STOP_REASON_TIMEOUT); in testGetMinJobExecutionGuaranteeMs_timeoutSafeguards_disabled() 409 mService.maybeProcessBuggyJob(jobUij, JobParameters.INTERNAL_STOP_REASON_UNKNOWN); in testGetMinJobExecutionGuaranteeMs_timeoutSafeguards_disabled() 422 mService.maybeProcessBuggyJob(jobEj, JobParameters.INTERNAL_STOP_REASON_TIMEOUT); in testGetMinJobExecutionGuaranteeMs_timeoutSafeguards_disabled() 437 mService.maybeProcessBuggyJob(jobEj, JobParameters.INTERNAL_STOP_REASON_UNKNOWN); in testGetMinJobExecutionGuaranteeMs_timeoutSafeguards_disabled() 450 mService.maybeProcessBuggyJob(jobReg, JobParameters.INTERNAL_STOP_REASON_TIMEOUT); in testGetMinJobExecutionGuaranteeMs_timeoutSafeguards_disabled() 465 mService.maybeProcessBuggyJob(jobReg, JobParameters.INTERNAL_STOP_REASON_UNKNOWN); in testGetMinJobExecutionGuaranteeMs_timeoutSafeguards_disabled() 514 mService.maybeProcessBuggyJob(jobUij, JobParameters.INTERNAL_STOP_REASON_TIMEOUT); in testGetMinJobExecutionGuaranteeMs_timeoutSafeguards_enabled() 528 mService.maybeProcessBuggyJob(jobUij, JobParameters.INTERNAL_STOP_REASON_UNKNOWN); in testGetMinJobExecutionGuaranteeMs_timeoutSafeguards_enabled() [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | FullBackupJob.java | 22 import android.app.job.JobParameters; 46 private final SparseArray<JobParameters> mParamsForUser = new SparseArray<>(); 82 JobParameters jobParameters = mParamsForUser.get(userId); in finishBackupPass() 93 public boolean onStartJob(JobParameters params) { in onStartJob() 105 public boolean onStopJob(JobParameters params) { in onStopJob()
|
/frameworks/base/services/core/java/com/android/server/ |
D | SmartStorageMaintIdler.java | 20 import android.app.job.JobParameters; 39 private JobParameters mJobParams; 55 public boolean onStartJob(JobParameters params) { in onStartJob() 74 public boolean onStopJob(JobParameters params) { in onStopJob()
|
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()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | MockBiasJobService.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/services/core/java/com/android/server/pm/ |
D | DynamicCodeLoggingService.java | 20 import android.app.job.JobParameters; 102 public boolean onStartJob(JobParameters params) { in onStartJob() 123 public boolean onStopJob(JobParameters params) { in onStopJob() 167 private final JobParameters mParams; 169 IdleLoggingThread(JobParameters params) { in IdleLoggingThread() 199 private final JobParameters mParams; 201 AuditWatchingThread(JobParameters params) { in AuditWatchingThread()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/restrictions/ |
D | JobRestriction.java | 20 import android.app.job.JobParameters; 44 protected JobRestriction(JobSchedulerService service, @JobParameters.StopReason int stopReason, in JobRestriction() 84 @JobParameters.StopReason
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ReviewNotificationPermissionsJobService.java | 20 import android.app.job.JobParameters; 55 public boolean onStartJob(JobParameters params) { in onStartJob() 69 public boolean onStopJob(JobParameters params) { in onStopJob()
|
/frameworks/base/services/tests/selinux/src/com/android/server/selinux/ |
D | SelinuxAuditLogsJobTest.java | 28 import android.app.job.JobParameters; 47 private final JobParameters mParams = createJobParameters(666); 125 private static JobParameters createJobParameters(int jobId) { in createJobParameters() 126 JobParameters jobParameters = mock(JobParameters.class); in createJobParameters()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/ |
D | DeletionJobServiceTest.kt | 19 import android.app.job.JobParameters 58 val params = mock(JobParameters::class.java) in testOnStartJob() 62 assertFalse(service.onStartJob(mock(JobParameters::class.java))) in testOnStartJob() 69 assertTrue(service.onStopJob(mock(JobParameters::class.java))) in testOnStopJob()
|
/frameworks/base/services/core/java/com/android/server/camera/ |
D | CameraStatsJobService.java | 20 import android.app.job.JobParameters; 45 public boolean onStartJob(JobParameters params) { in onStartJob() 57 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 | 27 import android.app.job.JobParameters; 38 public boolean onStartJob(final JobParameters params) { in onStartJob() 54 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/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobServiceContext.java | 34 import android.app.job.JobParameters; 163 private JobParameters mParams; 225 private int mPendingStopReason = JobParameters.STOP_REASON_UNDEFINED; 235 private int mDeathMarkStopReason = JobParameters.STOP_REASON_UNDEFINED; 369 mParams = new JobParameters(mRunningCallback, job.getNamespace(), job.getJobId(), in executeRunnableJob() 620 void cancelExecutingJobLocked(@JobParameters.StopReason int reason, in cancelExecutingJobLocked() 630 void markForProcessDeathLocked(@JobParameters.StopReason int reason, in markForProcessDeathLocked() 646 if (mParams.getStopReason() == JobParameters.STOP_REASON_UNDEFINED) { in markForProcessDeathLocked() 747 mParams.setStopReason(JobParameters.STOP_REASON_UNDEFINED, in doJobFinished() 748 JobParameters.INTERNAL_STOP_REASON_SUCCESSFUL_FINISH, in doJobFinished() [all …]
|
/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()
|