Home
last modified time | relevance | path

Searched refs:getJobId (Results 1 – 25 of 109) sorted by relevance

12345

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DBackgroundJobsManager.java279 jobScheduler.cancel(CONSENT_NOTIFICATION_JOB.getJobId()); in unscheduleAllBackgroundJobs()
283 jobScheduler.cancel(ENCRYPTION_KEY_PERIODIC_JOB.getJobId()); in unscheduleAllBackgroundJobs()
296 jobScheduler.cancel(MEASUREMENT_EVENT_MAIN_REPORTING_JOB.getJobId()); in unscheduleMeasurementBackgroundJobs()
297 jobScheduler.cancel(MEASUREMENT_DELETE_EXPIRED_JOB.getJobId()); in unscheduleMeasurementBackgroundJobs()
298 jobScheduler.cancel(MEASUREMENT_DELETE_UNINSTALLED_JOB.getJobId()); in unscheduleMeasurementBackgroundJobs()
299 jobScheduler.cancel(MEASUREMENT_ATTRIBUTION_JOB.getJobId()); in unscheduleMeasurementBackgroundJobs()
300 jobScheduler.cancel(MEASUREMENT_ATTRIBUTION_FALLBACK_JOB.getJobId()); in unscheduleMeasurementBackgroundJobs()
301 jobScheduler.cancel(MEASUREMENT_EVENT_FALLBACK_REPORTING_JOB.getJobId()); in unscheduleMeasurementBackgroundJobs()
302 jobScheduler.cancel(MEASUREMENT_AGGREGATE_MAIN_REPORTING_JOB.getJobId()); in unscheduleMeasurementBackgroundJobs()
303 jobScheduler.cancel(MEASUREMENT_AGGREGATE_FALLBACK_REPORTING_JOB.getJobId()); in unscheduleMeasurementBackgroundJobs()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/common/src/com/android/adservices/spe/
DAdServicesJobServiceFactoryTest.java110 .that(mFactory.getJobWorkerInstance(MDD_MAINTENANCE_PERIODIC_TASK_JOB.getJobId())) in testGetJobInstance()
113 .that(mFactory.getJobWorkerInstance(MDD_CHARGING_PERIODIC_TASK_JOB.getJobId())) in testGetJobInstance()
118 MDD_CELLULAR_CHARGING_PERIODIC_TASK_JOB.getJobId())) in testGetJobInstance()
121 .that(mFactory.getJobWorkerInstance(MDD_WIFI_CHARGING_PERIODIC_TASK_JOB.getJobId())) in testGetJobInstance()
125 .that(mFactory.getJobWorkerInstance(TOPICS_EPOCH_JOB.getJobId())) in testGetJobInstance()
128 .that(mFactory.getJobWorkerInstance(FLEDGE_BACKGROUND_FETCH_JOB.getJobId())) in testGetJobInstance()
133 MEASUREMENT_ASYNC_REGISTRATION_FALLBACK_JOB.getJobId())) in testGetJobInstance()
154 mFactory.rescheduleJobWithLegacyMethod(MDD_MAINTENANCE_PERIODIC_TASK_JOB.getJobId()); in testRescheduleJobWithLegacyMethod()
156 mFactory.rescheduleJobWithLegacyMethod(MDD_CHARGING_PERIODIC_TASK_JOB.getJobId()); in testRescheduleJobWithLegacyMethod()
158 mFactory.rescheduleJobWithLegacyMethod(MDD_CELLULAR_CHARGING_PERIODIC_TASK_JOB.getJobId()); in testRescheduleJobWithLegacyMethod()
[all …]
DAdServicesJobServiceTest.java146 when(mMockParameters.getJobId()).thenReturn(jobId); in testOnStartJob_rescheduleWithLegacyMethod()
190 MDD_WIFI_CHARGING_PERIODIC_TASK_JOB.getJobId())) in testShouldRescheduleWithLegacyMethod_firstBatch_shouldReschedule()
194 MDD_MAINTENANCE_PERIODIC_TASK_JOB.getJobId())) in testShouldRescheduleWithLegacyMethod_firstBatch_shouldReschedule()
198 MDD_CHARGING_PERIODIC_TASK_JOB.getJobId())) in testShouldRescheduleWithLegacyMethod_firstBatch_shouldReschedule()
202 MDD_CELLULAR_CHARGING_PERIODIC_TASK_JOB.getJobId())) in testShouldRescheduleWithLegacyMethod_firstBatch_shouldReschedule()
212 MDD_WIFI_CHARGING_PERIODIC_TASK_JOB.getJobId())) in testShouldRescheduleWithLegacyMethod_firstBatch_shouldNotReschedule()
216 MDD_MAINTENANCE_PERIODIC_TASK_JOB.getJobId())) in testShouldRescheduleWithLegacyMethod_firstBatch_shouldNotReschedule()
220 MDD_CHARGING_PERIODIC_TASK_JOB.getJobId())) in testShouldRescheduleWithLegacyMethod_firstBatch_shouldNotReschedule()
224 MDD_CELLULAR_CHARGING_PERIODIC_TASK_JOB.getJobId())) in testShouldRescheduleWithLegacyMethod_firstBatch_shouldNotReschedule()
256 TOPICS_EPOCH_JOB.getJobId())) in testShouldRescheduleWithLegacyMethod_secondBatch()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DBackgroundJobsManagerTest.java522 verify(mJobScheduler).cancel(MAINTENANCE_JOB.getJobId()); in testUnscheduleAllBackgroundJobs()
523 verify(mJobScheduler).cancel(TOPICS_EPOCH_JOB.getJobId()); in testUnscheduleAllBackgroundJobs()
524 verify(mJobScheduler).cancel(MEASUREMENT_EVENT_MAIN_REPORTING_JOB.getJobId()); in testUnscheduleAllBackgroundJobs()
525 verify(mJobScheduler).cancel(MEASUREMENT_DELETE_EXPIRED_JOB.getJobId()); in testUnscheduleAllBackgroundJobs()
526 verify(mJobScheduler).cancel(MEASUREMENT_DELETE_UNINSTALLED_JOB.getJobId()); in testUnscheduleAllBackgroundJobs()
527 verify(mJobScheduler).cancel(MEASUREMENT_ATTRIBUTION_JOB.getJobId()); in testUnscheduleAllBackgroundJobs()
528 verify(mJobScheduler).cancel(MEASUREMENT_ATTRIBUTION_FALLBACK_JOB.getJobId()); in testUnscheduleAllBackgroundJobs()
529 verify(mJobScheduler).cancel(MEASUREMENT_EVENT_FALLBACK_REPORTING_JOB.getJobId()); in testUnscheduleAllBackgroundJobs()
530 verify(mJobScheduler).cancel(MEASUREMENT_AGGREGATE_MAIN_REPORTING_JOB.getJobId()); in testUnscheduleAllBackgroundJobs()
531 verify(mJobScheduler).cancel(MEASUREMENT_AGGREGATE_FALLBACK_REPORTING_JOB.getJobId()); in testUnscheduleAllBackgroundJobs()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/spe/
DAdServicesJobService.java55 int jobId = params.getJobId(); in onStartJob()
107 return (jobId == MDD_WIFI_CHARGING_PERIODIC_TASK_JOB.getJobId() in isFirstBatchPilotJobDisabledForSpe()
108 || jobId == MDD_MAINTENANCE_PERIODIC_TASK_JOB.getJobId() in isFirstBatchPilotJobDisabledForSpe()
109 || jobId == MDD_CHARGING_PERIODIC_TASK_JOB.getJobId() in isFirstBatchPilotJobDisabledForSpe()
110 || jobId == MDD_CELLULAR_CHARGING_PERIODIC_TASK_JOB.getJobId()) in isFirstBatchPilotJobDisabledForSpe()
115 if ((jobId == TOPICS_EPOCH_JOB.getJobId() && !flags.getSpeOnEpochJobEnabled()) in isSecondBatchPilotJobDisabledForSpe()
116 || (jobId == FLEDGE_BACKGROUND_FETCH_JOB.getJobId() in isSecondBatchPilotJobDisabledForSpe()
118 || (jobId == MEASUREMENT_ASYNC_REGISTRATION_FALLBACK_JOB.getJobId() in isSecondBatchPilotJobDisabledForSpe()
DAdServicesJobInfo.java102 AdServicesJobInfo::getJobId,
108 .collect(Collectors.toMap(AdServicesJobInfo::getJobId, Function.identity()));
129 public int getJobId() { in getJobId() method in AdServicesJobInfo
DAdServicesStatsdJobServiceLogger.java41 stats.getJobId(), in logExecutionReportedStats()
53 stats.getJobId(), in logSchedulingReportedStats()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/download/
DMddJob.java185 jobScheduler.cancel(MDD_MAINTENANCE_PERIODIC_TASK_JOB.getJobId()); in unscheduleAllJobs()
186 jobScheduler.cancel(MDD_CHARGING_PERIODIC_TASK_JOB.getJobId()); in unscheduleAllJobs()
187 jobScheduler.cancel(MDD_CELLULAR_CHARGING_PERIODIC_TASK_JOB.getJobId()); in unscheduleAllJobs()
188 jobScheduler.cancel(MDD_WIFI_CHARGING_PERIODIC_TASK_JOB.getJobId()); in unscheduleAllJobs()
220 logger.recordOnSchedulingLegacy(MDD_MAINTENANCE_PERIODIC_TASK_JOB.getJobId(), resultCode); in logJobSchedulingLegacy()
221 logger.recordOnSchedulingLegacy(MDD_CHARGING_PERIODIC_TASK_JOB.getJobId(), resultCode); in logJobSchedulingLegacy()
223 MDD_CELLULAR_CHARGING_PERIODIC_TASK_JOB.getJobId(), resultCode); in logJobSchedulingLegacy()
224 logger.recordOnSchedulingLegacy(MDD_WIFI_CHARGING_PERIODIC_TASK_JOB.getJobId(), resultCode); in logJobSchedulingLegacy()
278 return MDD_MAINTENANCE_PERIODIC_TASK_JOB.getJobId(); in getMddTaskJobId()
280 return MDD_CHARGING_PERIODIC_TASK_JOB.getJobId(); in getMddTaskJobId()
[all …]
DMddJobService.java191 LogUtil.e(t, "Failed to handle JobService: " + params.getJobId()); in onStartJob()
288 jobScheduler.cancel(MDD_MAINTENANCE_PERIODIC_TASK_JOB.getJobId()); in unscheduleAllJobs()
289 jobScheduler.cancel(MDD_CHARGING_PERIODIC_TASK_JOB.getJobId()); in unscheduleAllJobs()
290 jobScheduler.cancel(MDD_CELLULAR_CHARGING_PERIODIC_TASK_JOB.getJobId()); in unscheduleAllJobs()
291 jobScheduler.cancel(MDD_WIFI_CHARGING_PERIODIC_TASK_JOB.getJobId()); in unscheduleAllJobs()
407 return MDD_MAINTENANCE_PERIODIC_TASK_JOB.getJobId(); in getMddTaskJobId()
409 return MDD_CHARGING_PERIODIC_TASK_JOB.getJobId(); in getMddTaskJobId()
411 return MDD_CELLULAR_CHARGING_PERIODIC_TASK_JOB.getJobId(); in getMddTaskJobId()
413 return MDD_WIFI_CHARGING_PERIODIC_TASK_JOB.getJobId(); in getMddTaskJobId()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/training/
DFederatedJobService.java42 int jobId = params.getJobId(); in onStartJob()
53 worker.startTrainingRun(params.getJobId(), new OnJobFinishedCallback(params, this)); in onStartJob()
60 LogUtil.d(TAG, "Federated computation job %d is done!", params.getJobId()); in onStartJob()
71 TAG, t, "Failed to handle computation job: %d", params.getJobId()); in onStartJob()
95 mParams.getJobId()); in callJobFinished()
99 mParams.getJobId(), in callJobFinished()
108 int jobId = params.getJobId(); in onStopJob()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/kanon/
DKAnonSignJoinBackgroundJobService.java90 FLEDGE_KANON_SIGN_JOIN_BACKGROUND_JOB.getJobId(), in onStartJob()
101 FLEDGE_KANON_SIGN_JOIN_BACKGROUND_JOB.getJobId(), in onStartJob()
114 .recordOnStopJob(params, FLEDGE_KANON_SIGN_JOIN_BACKGROUND_JOB.getJobId(), false); in onStopJob()
123 jobScheduler.cancel(FLEDGE_KANON_SIGN_JOIN_BACKGROUND_JOB.getJobId()); in skipAndCancelBackgroundJob()
128 .recordJobSkipped(FLEDGE_KANON_SIGN_JOIN_BACKGROUND_JOB.getJobId(), skipReason); in skipAndCancelBackgroundJob()
146 if (jobScheduler.getPendingJob(FLEDGE_KANON_SIGN_JOIN_BACKGROUND_JOB.getJobId()) == null in scheduleIfNeeded()
160 FLEDGE_KANON_SIGN_JOIN_BACKGROUND_JOB.getJobId(), in schedule()
/packages/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/
DDishService.java44 LOG.d("Job " + job.getJobId() + " done!");
45 mTaskMap.remove(job.getJobId());
51 mTaskMap.put(job.getJobId(), job);
54 JobParameters job1 = mTaskMap.get(job.getJobId());
58 mTaskMap.remove(job.getJobId());
99 LOG.d("jobId " + mJobParameter.getJobId() + ": Washing dish " in doInBackground()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadJobService.java58 final int id = params.getJobId(); in onStartJob()
83 final int id = params.getJobId(); in onStopJob()
100 final int id = params.getJobId(); in jobFinishedInternal()
103 mActiveThreads.remove(params.getJobId()); in jobFinishedInternal()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/rootcts/
DCustomAudienceBackgroundFetchTest.java67 assertThat(mBackgroundJobHelper.runJob(FLEDGE_BACKGROUND_FETCH_JOB.getJobId())) in testAdSelection_withInvalidFields_backgroundJobUpdatesSuccessfully()
94 assertThat(mBackgroundJobHelper.runJob(FLEDGE_BACKGROUND_FETCH_JOB.getJobId())) in testAdSelection_withInvalidAds_backgroundJobUpdateFails()
122 assertThat(mBackgroundJobHelper.runJob(FLEDGE_BACKGROUND_FETCH_JOB.getJobId())) in testAdSelection_withHighLatencyBackend_backgroundJobFails()
153 assertThat(mBackgroundJobHelper.runJob(FLEDGE_BACKGROUND_FETCH_JOB.getJobId())) in testAdSelection_withOverlyLargeDailyUpdate_backgroundJobFails()
184 assertThat(mBackgroundJobHelper.runJob(FLEDGE_BACKGROUND_FETCH_JOB.getJobId())) in testAdSelection_withLongRunningJob_backgroundJobFails()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/
DMddJobTest.java208 verify(mMockJobScheduler).cancel(MDD_MAINTENANCE_PERIODIC_TASK_JOB.getJobId()); in testUnscheduleAllMddJobs()
209 verify(mMockJobScheduler).cancel(MDD_CHARGING_PERIODIC_TASK_JOB.getJobId()); in testUnscheduleAllMddJobs()
210 verify(mMockJobScheduler).cancel(MDD_CELLULAR_CHARGING_PERIODIC_TASK_JOB.getJobId()); in testUnscheduleAllMddJobs()
211 verify(mMockJobScheduler).cancel(MDD_WIFI_CHARGING_PERIODIC_TASK_JOB.getJobId()); in testUnscheduleAllMddJobs()
234 .recordOnSchedulingLegacy(MDD_MAINTENANCE_PERIODIC_TASK_JOB.getJobId(), resultCode); in testLogJobSchedulingLegacy()
236 .recordOnSchedulingLegacy(MDD_CHARGING_PERIODIC_TASK_JOB.getJobId(), resultCode); in testLogJobSchedulingLegacy()
239 MDD_CELLULAR_CHARGING_PERIODIC_TASK_JOB.getJobId(), resultCode); in testLogJobSchedulingLegacy()
242 MDD_WIFI_CHARGING_PERIODIC_TASK_JOB.getJobId(), resultCode); in testLogJobSchedulingLegacy()
/packages/modules/NetworkStack/src/com/android/networkstack/ipmemorystore/
DRegularMaintenanceJobService.java58 public int getJobId() { in getJobId() method in RegularMaintenanceJobService.InterruptMaintenance
82 final InterruptMaintenance im = new InterruptMaintenance(params.getJobId()); in onStartJob()
126 final int jobId = params.getJobId(); in onStopJob()
128 if (im.getJobId() == jobId) { in onStopJob()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/
DReportingJobService.java77 .recordOnStartJob(MEASUREMENT_REPORTING_JOB.getJobId()); in onStartJob()
99 MEASUREMENT_REPORTING_JOB.getJobId(), in onStartJob()
119 .recordOnStopJob(params, MEASUREMENT_REPORTING_JOB.getJobId(), shouldRetry); in onStopJob()
169 jobScheduler.getPendingJob(MEASUREMENT_REPORTING_JOB.getJobId()); in scheduleIfNeeded()
275 jobScheduler.cancel(MEASUREMENT_REPORTING_JOB.getJobId());
281 .recordJobSkipped(MEASUREMENT_REPORTING_JOB.getJobId(), skipReason);
294 MEASUREMENT_REPORTING_JOB.getJobId(),
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/encryption/
DBackgroundKeyFetchJobService.java85 LogUtil.d(TAG, "BackgroundKeyFetchJobService.onStartJob %d", params.getJobId()); in onStartJob()
107 params.getJobId(), in onStartJob()
124 params.getJobId()); in onStartJob()
164 LogUtil.d(TAG, "BackgroundKeyFetchJobService.onStopJob %d", params.getJobId()); in onStopJob()
/packages/modules/ExtServices/java/tests/src/android/ext/services/common/
DAdServicesAppsearchDeleteJobTest.java181 doReturn(0).when(jobParameters).getJobId(); in onCancelJob_shouldNotReschedule()
283 doReturn(AdServicesAppsearchDeleteJob.JOB_ID).when(jobParameters).getJobId(); in onStartJob_disabledJob()
312 doReturn(AdServicesAppsearchDeleteJob.JOB_ID).when(jobParameters).getJobId(); in onStartJob_onDoNothing()
339 doReturn(AdServicesAppsearchDeleteJob.JOB_ID).when(jobParameters).getJobId(); in onStartJob_enabledJob_firstTimeOta_appsearchDataNotFound()
376 doReturn(AdServicesAppsearchDeleteJob.JOB_ID).when(jobParameters).getJobId(); in onStartJob_enabledJob_firstTimeOta_appsearchDataFound()
414 doReturn(AdServicesAppsearchDeleteJob.JOB_ID).when(jobParameters).getJobId(); in onStartJob_enabledJob_minMinutesFromOTAPassed_shouldDelete()
470 doReturn(AdServicesAppsearchDeleteJob.JOB_ID).when(jobParameters).getJobId(); in onStartJob_enabledJob_deleteDbsException_shouldNotCancel()
528 doReturn(AdServicesAppsearchDeleteJob.JOB_ID).when(jobParameters).getJobId(); in onStartJob_enabledJob_deleteDbsException_onMaxAttempts_shouldCancel()
585 doReturn(AdServicesAppsearchDeleteJob.JOB_ID).when(jobParameters).getJobId(); in onStartJob_enabledJob_minMinutesToCheckAdServicesNotPassed_shouldDoNothing()
636 doReturn(AdServicesAppsearchDeleteJob.JOB_ID).when(jobParameters).getJobId(); in onStartJob_enabledJob_adservicesDisabled_shouldNotDelete()
[all …]
/packages/modules/ExtServices/java/src/android/ext/services/common/
DAdServicesAppsearchDeleteJob.java99 int jobId = params.getJobId(); in onStartJob()
110 + " cancelling job id: " + params.getJobId()); in onStartJob()
197 + params.getJobId()); in deleteAppsearchData()
218 + "job id " + params.getJobId()); in onStopJob()
368 int jobId = params.getJobId(); in cancelPeriodicJob()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/statsd/joblogging/
DFederatedComputeStatsdJobServiceLogger.java35 stats.getJobId(), in logExecutionReportedStats()
47 stats.getJobId(), in logSchedulingReportedStats()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/statsd/joblogging/
DOdpStatsdJobServiceLogger.java35 stats.getJobId(), in logExecutionReportedStats()
47 stats.getJobId(), in logSchedulingReportedStats()
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/spe/framework/
DAbstractJobService.java102 int jobId = params.getJobId(); in onStartJob()
141 int jobId = params.getJobId(); in onStopJob()
197 int jobId = params.getJobId(); in skipAndCancelBackgroundJob()
289 params.getJobId()); in skipForJobInfoNotConfigured()
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/
DImsEntitlementPollingService.java115 int jobId = params.getJobId(); in onStartJob()
134 int jobId = params.getJobId(); in onStopJob()
182 int jobId = JobManager.getPureJobId(mParams.getJobId()); in doInBackground()
196 Log.d(TAG, "JobId:" + mParams.getJobId() + "- Task done."); in onPostExecute()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/
DEpochJob.java82 .recordOnSchedulingLegacy(TOPICS_EPOCH_JOB.getJobId(), resultCode); in schedule()
93 .setJobId(TOPICS_EPOCH_JOB.getJobId()) in createDefaultJobSpec()

12345