Searched refs:cachedPrograms (Results 1 – 1 of 1) sorted by relevance
283 ArrayList<Program> cachedPrograms = mChannelIdProgramCache.get(channelId); in getPrograms() local284 if (cachedPrograms == null) { in getPrograms()287 int startIndex = getProgramIndexAt(cachedPrograms, startTime); in getPrograms()289 cachedPrograms.subList(startIndex, cachedPrograms.size())); in getPrograms()378 ArrayList<Program> cachedPrograms = mChannelIdProgramCache.remove(channelId); in removePreviousProgramsAndUpdateCurrentProgramInCache() local379 if (cachedPrograms == null) { in removePreviousProgramsAndUpdateCurrentProgramInCache()382 ListIterator<Program> i = cachedPrograms.listIterator(); in removePreviousProgramsAndUpdateCurrentProgramInCache()415 if (cachedPrograms.isEmpty()) { in removePreviousProgramsAndUpdateCurrentProgramInCache()418 cachedPrograms.add(currentProgram); in removePreviousProgramsAndUpdateCurrentProgramInCache()420 mChannelIdProgramCache.put(channelId, cachedPrograms); in removePreviousProgramsAndUpdateCurrentProgramInCache()