Home
last modified time | relevance | path

Searched refs:forceSchedule (Results 1 – 25 of 40) sorted by relevance

12

/packages/modules/AdServices/adservices/tests/unittest/service-core/common/src/com/android/adservices/spe/
DAdServicesJobServiceFactoryTest.java152 boolean forceSchedule = true; in testRescheduleJobWithLegacyMethod()
155 verify(() -> MddJobService.scheduleIfNeeded(forceSchedule)); in testRescheduleJobWithLegacyMethod()
157 verify(() -> MddJobService.scheduleIfNeeded(forceSchedule), times(2)); in testRescheduleJobWithLegacyMethod()
159 verify(() -> MddJobService.scheduleIfNeeded(forceSchedule), times(3)); in testRescheduleJobWithLegacyMethod()
161 verify(() -> MddJobService.scheduleIfNeeded(forceSchedule), times(4)); in testRescheduleJobWithLegacyMethod()
164 verify(() -> EpochJobService.scheduleIfNeeded(forceSchedule)); in testRescheduleJobWithLegacyMethod()
166 verify(() -> BackgroundFetchJobService.scheduleIfNeeded(mMockFlags, forceSchedule)); in testRescheduleJobWithLegacyMethod()
169 verify(() -> AsyncRegistrationFallbackJobService.scheduleIfNeeded(forceSchedule)); in testRescheduleJobWithLegacyMethod()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/download/
DMddJobService.java230 public static int scheduleIfNeeded(boolean forceSchedule) { in scheduleIfNeeded() argument
248 forceSchedule, in scheduleIfNeeded()
255 forceSchedule, in scheduleIfNeeded()
262 forceSchedule, in scheduleIfNeeded()
269 forceSchedule, in scheduleIfNeeded()
307 boolean forceSchedule, in scheduleIfNeededMddSingleTask() argument
333 if (job != null && !forceSchedule) { in scheduleIfNeededMddSingleTask()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/spe/
DAdServicesJobServiceFactory.java197 boolean forceSchedule = true; in rescheduleJobWithLegacyMethod()
202 EpochJobService.scheduleIfNeeded(forceSchedule); in rescheduleJobWithLegacyMethod()
205 BackgroundFetchJobService.scheduleIfNeeded(mFlags, forceSchedule); in rescheduleJobWithLegacyMethod()
211 MddJobService.scheduleIfNeeded(forceSchedule); in rescheduleJobWithLegacyMethod()
214 AsyncRegistrationFallbackJobService.scheduleIfNeeded(forceSchedule); in rescheduleJobWithLegacyMethod()
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/spe/scheduling/
DPolicyJobScheduler.java120 boolean forceSchedule = jobSpec.getShouldForceSchedule(); in scheduleJob()
152 logcatJobScheduledInfo(jobInfoToSchedule, existingJobInfo, jobName, forceSchedule); in scheduleJob()
160 if (!forceSchedule && existingJobInfo.equals(jobInfoToSchedule)) { in scheduleJob()
168 logcatJobScheduledInfo(jobInfoToSchedule, existingJobInfo, jobName, forceSchedule); in scheduleJob()
273 boolean forceSchedule) { in logcatJobScheduledInfo() argument
281 if (forceSchedule) { in logcatJobScheduledInfo()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/kanon/
DKAnonSignJoinBackgroundJobServiceTest.java223 boolean forceSchedule = false; in testScheduleIfNeeded_skipsIfAlreadyScheduled()
228 any(), eq(forceSchedule))); in testScheduleIfNeeded_skipsIfAlreadyScheduled()
230 KAnonSignJoinBackgroundJobService.scheduleIfNeeded(CONTEXT, forceSchedule); in testScheduleIfNeeded_skipsIfAlreadyScheduled()
246 boolean forceSchedule = true; in testScheduleIfNeeded_withForceScheduleTrue_schedules()
251 any(), eq(forceSchedule))); in testScheduleIfNeeded_withForceScheduleTrue_schedules()
254 KAnonSignJoinBackgroundJobService.scheduleIfNeeded(CONTEXT, forceSchedule); in testScheduleIfNeeded_withForceScheduleTrue_schedules()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/
DReportingJobService.java141 public static void scheduleIfNeeded(Context context, boolean forceSchedule) { in scheduleIfNeeded() argument
172 getNextExecutionTime(forceSchedule, latestReportTimeInBatch, minExecutionWindowEnd); in scheduleIfNeeded()
174 if (forceSchedule in scheduleIfNeeded()
184 boolean forceSchedule, long latestReportTimeInBatch, long minExecutionWindowEnd) { in getNextExecutionTime() argument
185 return forceSchedule in getNextExecutionTime()
DVerboseDebugReportingJobService.java114 public static void scheduleIfNeeded(Context context, boolean forceSchedule) { in scheduleIfNeeded() argument
131 if (forceSchedule || !jobInfo.equals(scheduledJob)) { in scheduleIfNeeded()
DEventFallbackReportingJobService.java154 public static void scheduleIfNeeded(Context context, boolean forceSchedule) { in scheduleIfNeeded() argument
172 if (forceSchedule || !jobInfo.equals(scheduledJob)) { in scheduleIfNeeded()
DDebugReportingJobService.java114 public static void scheduleIfNeeded(Context context, boolean forceSchedule) { in scheduleIfNeeded() argument
131 if (forceSchedule || !job.equals(scheduledJobInfo)) { in scheduleIfNeeded()
DVerboseDebugReportingFallbackJobService.java132 public static void scheduleIfNeeded(Context context, boolean forceSchedule) { in scheduleIfNeeded() argument
150 if (forceSchedule || !jobInfo.equals(scheduledJob)) { in scheduleIfNeeded()
DEventReportingJobService.java147 public static void scheduleIfNeeded(Context context, boolean forceSchedule) { in scheduleIfNeeded() argument
165 if (forceSchedule || !jobInfo.equals(scheduledJob)) { in scheduleIfNeeded()
DAggregateFallbackReportingJobService.java173 public static void scheduleIfNeeded(Context context, boolean forceSchedule) { in scheduleIfNeeded() argument
191 if (forceSchedule || !jobInfo.equals(scheduledJob)) { in scheduleIfNeeded()
DImmediateAggregateReportingJobService.java158 public static void scheduleIfNeeded(Context context, boolean forceSchedule) { in scheduleIfNeeded() argument
176 if (forceSchedule || !jobInfo.equals(scheduledJobInfo)) { in scheduleIfNeeded()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DDeleteUninstalledJobService.java113 public static void scheduleIfNeeded(Context context, boolean forceSchedule) { in scheduleIfNeeded() argument
131 if (forceSchedule || !jobInfo.equals(scheduledJob)) { in scheduleIfNeeded()
DDeleteExpiredJobService.java131 public static void scheduleIfNeeded(Context context, boolean forceSchedule) { in scheduleIfNeeded() argument
148 if (forceSchedule || !jobInfo.equals(scheduledJob)) { in scheduleIfNeeded()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/kanon/
DKAnonSignJoinManager.java136 boolean forceSchedule = false; in processNewMessages()
137 KAnonSignJoinBackgroundJobService.scheduleIfNeeded(mContext, forceSchedule); in processNewMessages()
DKAnonSignJoinBackgroundJobService.java143 public static void scheduleIfNeeded(@NonNull Context context, boolean forceSchedule) { in scheduleIfNeeded() argument
147 || forceSchedule) { in scheduleIfNeeded()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/encryptionkey/
DEncryptionKeyJobService.java107 public static boolean scheduleIfNeeded(Context context, boolean forceSchedule) { in scheduleIfNeeded() argument
123 if (forceSchedule || !jobInfo.equals(scheduledJob)) { in scheduleIfNeeded()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/sharedlibrary/spe/
DFederatedComputeJobServiceFactoryTest.java115 boolean forceSchedule = true; in testRescheduleJobWithLegacyMethod()
121 sContext, mMockFlags, forceSchedule)); in testRescheduleJobWithLegacyMethod()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/sharedlibrary/spe/
DOdpJobServiceFactoryTest.java115 boolean forceSchedule = true; in testRescheduleJobWithLegacyMethod()
121 sContext, forceSchedule)); in testRescheduleJobWithLegacyMethod()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/cobalt/
DCobaltJobService.java168 public static boolean scheduleIfNeeded(Context context, boolean forceSchedule) { in scheduleIfNeeded() argument
184 if (job != null && !forceSchedule) { in scheduleIfNeeded()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/sharedlibrary/spe/
DOdpJobServiceFactory.java173 boolean forceSchedule = true; in rescheduleJobWithLegacyMethod()
178 OnDevicePersonalizationMaintenanceJobService.schedule(context, forceSchedule); in rescheduleJobWithLegacyMethod()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/sharedlibrary/spe/
DFederatedComputeJobServiceFactory.java177 boolean forceSchedule = true; in rescheduleJobWithLegacyMethod()
182 DeleteExpiredJobService.scheduleJobIfNeeded(context, mFlags, forceSchedule); in rescheduleJobWithLegacyMethod()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/
DScheduleCustomAudienceUpdateJobService.java156 public static void scheduleIfNeeded(Context context, Flags flags, boolean forceSchedule) { in scheduleIfNeeded() argument
172 || forceSchedule) { in scheduleIfNeeded()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/signals/
DPeriodicEncodingJobService.java156 public static void scheduleIfNeeded(Context context, Flags flags, boolean forceSchedule) { in scheduleIfNeeded() argument
177 || forceSchedule in scheduleIfNeeded()

12