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/
DEpgFetchHelper.java91 Program oldProgram = in updateEpgData() local
97 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() argument
237 return TextUtils.equals(oldProgram.getTitle(), newProgram.getTitle()) in hasSameTitleAndOverlap()
238 && oldProgram.getStartTimeUtcMillis() <= newProgram.getEndTimeUtcMillis() in hasSameTitleAndOverlap()
[all …]