Searched refs:oldProgram (Results 1 – 1 of 1) sorted by relevance
94 Program oldProgram = in updateEpgData() local100 if (oldProgram != null) { in updateEpgData()101 if (oldProgram.equals(newProgram)) { in updateEpgData()105 } else if (hasSameTitleAndOverlap(oldProgram, newProgram)) { in updateEpgData()111 TvContract.buildProgramUri(oldProgram.getId())) in updateEpgData()116 } else if (oldProgram.getEndTimeUtcMillis() < newProgram.getEndTimeUtcMillis()) { in updateEpgData()121 TvContract.buildProgramUri(oldProgram.getId())) in updateEpgData()235 private static boolean hasSameTitleAndOverlap(Program oldProgram, Program newProgram) { in hasSameTitleAndOverlap() argument240 return TextUtils.equals(oldProgram.getTitle(), newProgram.getTitle()) in hasSameTitleAndOverlap()241 && oldProgram.getStartTimeUtcMillis() <= newProgram.getEndTimeUtcMillis() in hasSameTitleAndOverlap()[all …]