Home
last modified time | relevance | path

Searched refs:getTrainingInterval (Results 1 – 8 of 8) sorted by relevance

/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/scheduling/
DSchedulingUtil.java85 trainerOptions.getTrainingInterval() != null in getEarliestRuntimeForInitialSchedule()
87 trainerOptions.getTrainingInterval().getSchedulingMode()) in getEarliestRuntimeForInitialSchedule()
96 trainerOptions.getTrainingInterval() == null in getEarliestRuntimeForInitialSchedule()
98 : trainerOptions.getTrainingInterval().getMinimumIntervalMillis(), in getEarliestRuntimeForInitialSchedule()
124 trainingOptions.getTrainingInterval() != null in getEarliestRuntimeForExistingTask()
126 trainingOptions.getTrainingInterval().getSchedulingMode()) in getEarliestRuntimeForExistingTask()
DFederatedComputeJobManager.java150 buildTrainingIntervalOptions(newTaskOptions.getTrainingInterval()); in trainingIntervalChanged()
217 trainingOptions.getTrainingInterval())) in onTrainerStartCalled()
246 buildTrainingIntervalOptions(trainingOptions.getTrainingInterval())) in onTrainerStartCalled()
533 newTaskOptions.getTrainingInterval()); in detectKeyParametersChanged()
/packages/modules/OnDevicePersonalization/tests/frameworktests/src/android/federatedcompute/common/
DTrainingOptionsTest.java48 assertThat(options.getTrainingInterval()).isEqualTo(TRAINING_INTERVAL); in testFederatedTask()
103 assertThat(options.getTrainingInterval()).isNull(); in testNullTrainingIntervalIsAllowed()
/packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/
DFederatedComputeScheduler.java73 convertTrainingInterval(params.getTrainingInterval()); in schedule()
215 public TrainingInterval getTrainingInterval() { in getTrainingInterval() method in FederatedComputeScheduler.Params
/packages/modules/OnDevicePersonalization/tests/cts/endtoend/src/com/android/ondevicepersonalization/cts/e2e/
DDataClassesTest.java177 assertEquals(5, params.getTrainingInterval().getMinimumInterval().toSeconds()); in testFederatedComputeSchedulerParams()
179 params.getTrainingInterval().getSchedulingMode()); in testFederatedComputeSchedulerParams()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/federatedcompute/
DFederatedComputeServiceImpl.java149 .setTrainingInterval(trainingOptions.getTrainingInterval()) in handleSchedule()
/packages/modules/OnDevicePersonalization/framework/java/android/federatedcompute/common/
DTrainingOptions.java120 public @Nullable TrainingInterval getTrainingInterval() { in getTrainingInterval() method in TrainingOptions
/packages/modules/OnDevicePersonalization/framework/api/
Dcurrent.txt105 … @NonNull public android.adservices.ondevicepersonalization.TrainingInterval getTrainingInterval();