Home
last modified time | relevance | path

Searched refs:schedulingMode (Results 1 – 5 of 5) sorted by relevance

/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/scheduling/
DSchedulingUtil.java57 if (interval.schedulingMode() == SchedulingMode.RECURRENT && hasContributed) { in getEarliestRuntimeForFCReschedule()
84 int schedulingMode = in getEarliestRuntimeForInitialSchedule() local
89 if (schedulingMode != SchedulingMode.RECURRENT) { in getEarliestRuntimeForInitialSchedule()
99 schedulingMode, in getEarliestRuntimeForInitialSchedule()
123 int schedulingMode = in getEarliestRuntimeForExistingTask() local
129 sanitizeMinimumLatencyMillis(existingTaskMinLatencyMillis, schedulingMode, flags); in getEarliestRuntimeForExistingTask()
152 long unsanitizedMillis, int schedulingMode, Flags flags) { in sanitizeMinimumLatencyMillis() argument
155 if (schedulingMode == SchedulingMode.RECURRENT) { in sanitizeMinimumLatencyMillis()
170 public static int convertSchedulingMode(@TrainingInterval.SchedulingMode int schedulingMode) { in convertSchedulingMode() argument
171 if (schedulingMode == TrainingInterval.SCHEDULING_MODE_RECURRENT) { in convertSchedulingMode()
[all …]
DFederatedComputeJobManager.java459 && intervalOptions.schedulingMode() == SchedulingMode.ONE_TIME in rescheduleFederatedTaskAfterTraining()
505 } else if (intervalOptions.schedulingMode() == SchedulingMode.RECURRENT) { in checkRescheduleLimitsExceeded()
/packages/modules/OnDevicePersonalization/framework/java/android/federatedcompute/common/
DTrainingInterval.java81 @SchedulingMode int schedulingMode, long minimumIntervalMillis) { in TrainingInterval()
82 this.mSchedulingMode = schedulingMode; in TrainingInterval()
99 schedulingMode != SCHEDULING_MODE_RECURRENT || minimumIntervalMillis > 0, in TrainingInterval()
169 int schedulingMode = in.readInt(); in TrainingInterval() local
172 this.mSchedulingMode = schedulingMode; in TrainingInterval()
/packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/
DTrainingInterval.java94 @SchedulingMode int schedulingMode, @NonNull Duration minimumInterval) { in TrainingInterval()
95 this.mSchedulingMode = schedulingMode; in TrainingInterval()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/scheduling/
DFederatedComputeJobManagerTest.java1546 int schedulingMode, long intervalMillis) { in createTrainingIntervalOptionsAsRoot() argument
1547 byte[] intervalOptions = createTrainingIntervalOptions(schedulingMode, intervalMillis); in createTrainingIntervalOptionsAsRoot()
1552 private static byte[] createTrainingIntervalOptions(int schedulingMode, long intervalMillis) { in createTrainingIntervalOptions() argument
1556 builder, schedulingMode, intervalMillis)); in createTrainingIntervalOptions()