Searched refs:createDummyProgram (Results 1 – 1 of 1) sorted by relevance
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/ |
D | RoutineWatchEvaluatorTest.java | 150 createDummyProgram(todayAtHourMin(0, 0), TimeUnit.HOURS.toMillis(1))); in testProgramTime_createFromProgram() 160 createDummyProgram(todayAtHourMin(23, 30), TimeUnit.HOURS.toMillis(1))); in testProgramTime_createFromProgram() 170 createDummyProgram(tomorrowAtHourMin(0, 0), TimeUnit.HOURS.toMillis(1))); in testProgramTime_createFromProgram() 180 createDummyProgram(tomorrowAtHourMin(23, 30), TimeUnit.HOURS.toMillis(1))); in testProgramTime_createFromProgram() 190 createDummyProgram(todayAtHourMin(18, 0), TimeUnit.HOURS.toMillis(18))); in testProgramTime_createFromProgram() 205 createDummyProgram(todayAtHourMin(21, 0), TimeUnit.HOURS.toMillis(3))); in testCalculateOverlappedIntervalScore() 209 createDummyProgram(todayAtHourMin(22, 0), TimeUnit.HOURS.toMillis(3))); in testCalculateOverlappedIntervalScore() 213 createDummyProgram(tomorrowAtHourMin(0, 0), TimeUnit.HOURS.toMillis(3))); in testCalculateOverlappedIntervalScore() 217 createDummyProgram(tomorrowAtHourMin(20, 0), TimeUnit.HOURS.toMillis(3))); in testCalculateOverlappedIntervalScore() 325 private Program createDummyProgram(Calendar startTime, long programDurationMs) { in createDummyProgram() method in RoutineWatchEvaluatorTest
|