Searched refs:createDummyProgram (Results 1 – 2 of 2) sorted by relevance
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/ |
D | RoutineWatchEvaluatorTest.java | 121 createDummyProgram(todayAtHourMin(0, 0), TimeUnit.HOURS.toMillis(1))); in testProgramTime_createFromProgram() 127 createDummyProgram(todayAtHourMin(23, 30), TimeUnit.HOURS.toMillis(1))); in testProgramTime_createFromProgram() 133 createDummyProgram(tomorrowAtHourMin(0, 0), TimeUnit.HOURS.toMillis(1))); in testProgramTime_createFromProgram() 139 createDummyProgram(tomorrowAtHourMin(23, 30), TimeUnit.HOURS.toMillis(1))); in testProgramTime_createFromProgram() 145 createDummyProgram(todayAtHourMin(18, 0), TimeUnit.HOURS.toMillis(18))); in testProgramTime_createFromProgram() 155 createDummyProgram(todayAtHourMin(21, 0), TimeUnit.HOURS.toMillis(3))); in testCalculateOverlappedIntervalScore() 158 createDummyProgram(todayAtHourMin(22, 0), TimeUnit.HOURS.toMillis(3))); in testCalculateOverlappedIntervalScore() 161 createDummyProgram(tomorrowAtHourMin(0, 0), TimeUnit.HOURS.toMillis(3))); in testCalculateOverlappedIntervalScore() 164 createDummyProgram(tomorrowAtHourMin(20, 0), TimeUnit.HOURS.toMillis(3))); in testCalculateOverlappedIntervalScore() 257 private Program createDummyProgram(Calendar startTime, long programDurationMs) { in createDummyProgram() method in RoutineWatchEvaluatorTest
|
/packages/apps/TV/src/com/android/tv/data/ |
D | ProgramDataManager.java | 299 key = createDummyProgram(time, time); in getProgramIndexAt() 403 i.set(createDummyProgram(cachedProgram.getStartTimeUtcMillis(), in removePreviousProgramsAndUpdateCurrentProgramInCache() 411 i.add(createDummyProgram(currentProgram.getEndTimeUtcMillis(), in removePreviousProgramsAndUpdateCurrentProgramInCache() 733 private Program createDummyProgram(long startTimeMs, long endTimeMs) { in createDummyProgram() method in ProgramDataManager
|