/packages/modules/AdServices/adservices/tests/unittest/service-core/common/src/com/android/adservices/spe/ |
D | AdServicesJobServiceFactoryTest.java | 152 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/ |
D | MddJobService.java | 230 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/ |
D | AdServicesJobServiceFactory.java | 197 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/ |
D | PolicyJobScheduler.java | 120 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/ |
D | KAnonSignJoinBackgroundJobServiceTest.java | 223 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/ |
D | ReportingJobService.java | 141 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()
|
D | VerboseDebugReportingJobService.java | 114 public static void scheduleIfNeeded(Context context, boolean forceSchedule) { in scheduleIfNeeded() argument 131 if (forceSchedule || !jobInfo.equals(scheduledJob)) { in scheduleIfNeeded()
|
D | EventFallbackReportingJobService.java | 154 public static void scheduleIfNeeded(Context context, boolean forceSchedule) { in scheduleIfNeeded() argument 172 if (forceSchedule || !jobInfo.equals(scheduledJob)) { in scheduleIfNeeded()
|
D | DebugReportingJobService.java | 114 public static void scheduleIfNeeded(Context context, boolean forceSchedule) { in scheduleIfNeeded() argument 131 if (forceSchedule || !job.equals(scheduledJobInfo)) { in scheduleIfNeeded()
|
D | VerboseDebugReportingFallbackJobService.java | 132 public static void scheduleIfNeeded(Context context, boolean forceSchedule) { in scheduleIfNeeded() argument 150 if (forceSchedule || !jobInfo.equals(scheduledJob)) { in scheduleIfNeeded()
|
D | EventReportingJobService.java | 147 public static void scheduleIfNeeded(Context context, boolean forceSchedule) { in scheduleIfNeeded() argument 165 if (forceSchedule || !jobInfo.equals(scheduledJob)) { in scheduleIfNeeded()
|
D | AggregateFallbackReportingJobService.java | 173 public static void scheduleIfNeeded(Context context, boolean forceSchedule) { in scheduleIfNeeded() argument 191 if (forceSchedule || !jobInfo.equals(scheduledJob)) { in scheduleIfNeeded()
|
D | ImmediateAggregateReportingJobService.java | 158 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/ |
D | DeleteUninstalledJobService.java | 113 public static void scheduleIfNeeded(Context context, boolean forceSchedule) { in scheduleIfNeeded() argument 131 if (forceSchedule || !jobInfo.equals(scheduledJob)) { in scheduleIfNeeded()
|
D | DeleteExpiredJobService.java | 131 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/ |
D | KAnonSignJoinManager.java | 136 boolean forceSchedule = false; in processNewMessages() 137 KAnonSignJoinBackgroundJobService.scheduleIfNeeded(mContext, forceSchedule); in processNewMessages()
|
D | KAnonSignJoinBackgroundJobService.java | 143 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/ |
D | EncryptionKeyJobService.java | 107 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/ |
D | FederatedComputeJobServiceFactoryTest.java | 115 boolean forceSchedule = true; in testRescheduleJobWithLegacyMethod() 121 sContext, mMockFlags, forceSchedule)); in testRescheduleJobWithLegacyMethod()
|
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/sharedlibrary/spe/ |
D | OdpJobServiceFactoryTest.java | 115 boolean forceSchedule = true; in testRescheduleJobWithLegacyMethod() 121 sContext, forceSchedule)); in testRescheduleJobWithLegacyMethod()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/cobalt/ |
D | CobaltJobService.java | 168 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/ |
D | OdpJobServiceFactory.java | 173 boolean forceSchedule = true; in rescheduleJobWithLegacyMethod() 178 OnDevicePersonalizationMaintenanceJobService.schedule(context, forceSchedule); in rescheduleJobWithLegacyMethod()
|
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/sharedlibrary/spe/ |
D | FederatedComputeJobServiceFactory.java | 177 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/ |
D | ScheduleCustomAudienceUpdateJobService.java | 156 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/ |
D | PeriodicEncodingJobService.java | 156 public static void scheduleIfNeeded(Context context, Flags flags, boolean forceSchedule) { in scheduleIfNeeded() argument 177 || forceSchedule in scheduleIfNeeded()
|