Home
last modified time | relevance | path

Searched refs:lastRunEndTime (Results 1 – 6 of 6) sorted by relevance

/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/data/
DFederatedTrainingTask.java130 public abstract Long lastRunEndTime(); in lastRunEndTime() method in FederatedTrainingTask
134 return lastRunEndTime() == null ? 0 : lastRunEndTime(); in getLastRunEndTime()
207 public abstract Builder lastRunEndTime(@Nullable Long lastRunEndTime); in lastRunEndTime() argument
265 if (lastRunEndTime() != null) { in addToDatabase()
266 values.put(FederatedTrainingTaskColumns.LAST_RUN_END_TIME, lastRunEndTime()); in addToDatabase()
370 .lastRunEndTime( in readFederatedTrainingTasksFromDatabase()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/data/
DDataTestUtil.java34 assertThat(task1.lastRunEndTime()).isEqualTo(task2.lastRunEndTime()); in isEqualTask()
DFederatedTrainingTaskTest.java119 assertThat(storedFederatedTrainingTask.lastRunEndTime()).isEqualTo(0); in readAndWrite_onlyRequiredFields()
154 assertThat(trainingTask.lastRunEndTime()).isEqualTo(LAST_RUN_END_TIME); in buildFederatedTrainingTask()
188 .lastRunEndTime(LAST_RUN_END_TIME) in createFederatedTrainingTaskWithAllFields()
DFederatedTrainingTaskDaoTest.java366 .lastRunEndTime(LAST_RUN_END_TIME) in createDefaultFederatedTrainingTask()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/scheduling/
DFederatedComputeJobManagerTest.java926 .lastRunEndTime(3000L) in testRescheduleFLTask_didnotContribute_oneOff()
986 .lastRunEndTime(3000L) // Match the time of calling onTrainingCompleted() in testRescheduleFLTask_success_recurrent_userDefinedInterval()
1041 .lastRunEndTime(3000L) // Match the time of calling onTrainingCompleted() in testRescheduleFLTask_recurrent_userDefinedInterval_NotGeneric()
1103 .lastRunEndTime(3000L) // Match the time of calling onTrainingCompleted() in testRescheduleFLTask_recurrent_serverDefinedInterval()
1163 .lastRunEndTime(3000L) // Match the time of calling onTrainingCompleted() in testRescheduleFLTask_recurrent_didnotContribute()
1318 .lastRunEndTime(3000L) // Match the time of calling onTrainingCompleted() in testRescheduleFLTask_recurrent_rescheduleCountReset()
1361 .lastRunEndTime(3000L) // Match the time of calling onTrainingCompleted() in testRescheduleFLTask_recurrent_rescheduleCountReset()
1530 .lastRunEndTime(0L) in basicFLTrainingTaskBuilder()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/scheduling/
DFederatedComputeJobManager.java242 newTaskBuilder.intervalOptions(null).lastRunStartTime(null).lastRunEndTime(null); in onTrainerStartCalled()
472 .lastRunEndTime(nowMillis) in rescheduleFederatedTaskAfterTraining()