Searched refs:newProgram (Results 1 – 1 of 1) sorted by relevance
404 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() argument495 return Objects.equals(oldProgram.getTitle(), newProgram.getTitle()) in isSameTitleAndOverlap()496 && oldProgram.getStartTimeUtcMillis() <= newProgram.getEndTimeUtcMillis() in isSameTitleAndOverlap()497 && newProgram.getStartTimeUtcMillis() <= oldProgram.getEndTimeUtcMillis(); in isSameTitleAndOverlap()