Home
last modified time | relevance | path

Searched refs:schedulingReason (Results 1 – 11 of 11) sorted by relevance

/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/data/
DFederatedTrainingTask.java159 public abstract int schedulingReason(); in schedulingReason() method in FederatedTrainingTask
217 public abstract Builder schedulingReason(int schedulingReason); in schedulingReason() method in FederatedTrainingTask.Builder
270 values.put(FederatedTrainingTaskColumns.SCHEDULING_REASON, schedulingReason()); in addToDatabase()
385 int schedulingReason = in readFederatedTrainingTasksFromDatabase() local
389 if (!cursor.isNull(schedulingReason)) { in readFederatedTrainingTasksFromDatabase()
390 trainingTaskBuilder.schedulingReason(schedulingReason); in readFederatedTrainingTasksFromDatabase()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/scheduling/
DFederatedComputeJobManagerTest.java196 .schedulingReason(SchedulingReason.SCHEDULING_REASON_NEW_TASK) in testOnTrainerStartCalledSuccess()
257 .schedulingReason(SchedulingReason.SCHEDULING_REASON_NEW_TASK) in testOnTrainerStartCalledFailureDueToTaskLimit()
284 .schedulingReason(SchedulingReason.SCHEDULING_REASON_NEW_TASK) in testOnTrainerStartCalled_firstTime()
291 .schedulingReason(SchedulingReason.SCHEDULING_REASON_NEW_TASK) in testOnTrainerStartCalled_firstTime()
342 .schedulingReason(SchedulingReason.SCHEDULING_REASON_NEW_TASK) in testOnTrainerStartCalledFLWithInterval()
380 .schedulingReason(SchedulingReason.SCHEDULING_REASON_NEW_TASK) in testOnTrainerStartCalled_multipleTimes_sameParams()
430 .schedulingReason(SchedulingReason.SCHEDULING_REASON_NEW_TASK) in testOnTrainerStartCalled_multipleTimes_sameParamsFLWithIntervalLargerThanServerMax()
473 .schedulingReason(SchedulingReason.SCHEDULING_REASON_NEW_TASK) in testOnTrainerStartCalled_multipleTimes_sameParamsFLWithIntervalDifferentMax()
508 .schedulingReason(SchedulingReason.SCHEDULING_REASON_NEW_TASK) in testOnTrainerStartCalled_multipleTimes_sameParamsFLWithIntervalDifferentMax()
548 .schedulingReason(SchedulingReason.SCHEDULING_REASON_NEW_TASK) in testOnTrainerStartCalled_fLCustomerSpecifiedIntervalSmallerThanDefinedMin()
[all …]
DFederatedComputeLearningJobScheduleOrchestratorTest.java103 .schedulingReason(SCHEDULING_REASON_NEW_TASK) in checkAndScheduleTest()
119 .schedulingReason(SCHEDULING_REASON_NEW_TASK) in checkAndScheduleTest()
DJobSchedulerHelperTest.java76 .schedulingReason(SCHEDULING_REASON)
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/data/
DDataTestUtil.java36 assertThat(task1.schedulingReason()).isEqualTo(task2.schedulingReason()); in isEqualTask()
DFederatedTrainingTaskTest.java156 assertThat(trainingTask.schedulingReason()).isEqualTo(SCHEDULING_REASON); in buildFederatedTrainingTask()
190 .schedulingReason(SCHEDULING_REASON) in createFederatedTrainingTaskWithAllFields()
209 .schedulingReason(SCHEDULING_REASON) in createFederatedTrainingTaskWithRequiredFields()
DFederatedTrainingTaskDaoTest.java368 .schedulingReason(SchedulingReason.SCHEDULING_REASON_NEW_TASK) in createDefaultFederatedTrainingTask()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/scheduling/
DFederatedComputeJobManager.java213 .schedulingReason(SchedulingReason.SCHEDULING_REASON_NEW_TASK) in onTrainerStartCalled()
279 newTaskBuilder.schedulingReason( in onTrainerStartCalled()
282 : existingTask.schedulingReason()); in onTrainerStartCalled()
474 newTaskBuilder.schedulingReason( in rescheduleFederatedTaskAfterTraining()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/training/
DResultCallbackHelperTest.java87 .schedulingReason(SCHEDULING_REASON)
DEligibilityDeciderTest.java458 .schedulingReason(SchedulingReason.SCHEDULING_REASON_NEW_TASK) in createDefaultFederatedTrainingTask()
DFederatedComputeWorkerTest.java285 .schedulingReason(SchedulingReason.SCHEDULING_REASON_NEW_TASK)