Home
last modified time | relevance | path

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

/packages/apps/TV/src/com/android/tv/data/epg/
DEpgFetcher.java402 Program oldProgram = oldProgramsIndex < oldPrograms.size() in updateEpg() local
406 if (oldProgram != null) { in updateEpg()
407 if (oldProgram.equals(newProgram)) { in updateEpg()
411 } else if (isSameTitleAndOverlap(oldProgram, newProgram)) { in updateEpg()
416 TvContract.buildProgramUri(oldProgram.getId())) in updateEpg()
421 } else if (oldProgram.getEndTimeUtcMillis() in updateEpg()
426 TvContract.buildProgramUri(oldProgram.getId())) 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()
[all …]