Searched refs:oldProgram (Results 1 – 1 of 1) sorted by relevance
91 Program oldProgram = in updateEpgData() local97 if (oldProgram != null) { in updateEpgData()98 if (oldProgram.equals(newProgram)) { in updateEpgData()102 } else if (hasSameTitleAndOverlap(oldProgram, newProgram)) { in updateEpgData()108 TvContract.buildProgramUri(oldProgram.getId())) in updateEpgData()113 } else if (oldProgram.getEndTimeUtcMillis() < newProgram.getEndTimeUtcMillis()) { in updateEpgData()118 TvContract.buildProgramUri(oldProgram.getId())) in updateEpgData()232 private static boolean hasSameTitleAndOverlap(Program oldProgram, Program newProgram) { in hasSameTitleAndOverlap() argument237 return TextUtils.equals(oldProgram.getTitle(), newProgram.getTitle()) in hasSameTitleAndOverlap()238 && oldProgram.getStartTimeUtcMillis() <= newProgram.getEndTimeUtcMillis() in hasSameTitleAndOverlap()[all …]