Home
last modified time | relevance | path

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

/packages/apps/TV/src/com/android/tv/data/epg/
DEpgFetcher.java404 Program newProgram = newPrograms.get(newProgramsIndex); in updateEpg()
407 if (oldProgram.equals(newProgram)) { in updateEpg()
411 } else if (isSameTitleAndOverlap(oldProgram, newProgram)) { in updateEpg()
417 .withValues(toContentValues(newProgram)) in updateEpg()
422 < newProgram.getEndTimeUtcMillis()) { in updateEpg()
443 .withValues(toContentValues(newProgram)) in updateEpg()
490 private boolean isSameTitleAndOverlap(Program oldProgram, Program newProgram) { in isSameTitleAndOverlap() argument
495 return Objects.equals(oldProgram.getTitle(), newProgram.getTitle()) in isSameTitleAndOverlap()
496 && oldProgram.getStartTimeUtcMillis() <= newProgram.getEndTimeUtcMillis() in isSameTitleAndOverlap()
497 && newProgram.getStartTimeUtcMillis() <= oldProgram.getEndTimeUtcMillis(); in isSameTitleAndOverlap()