Home
last modified time | relevance | path

Searched refs:EpgChannel (Results 1 – 5 of 5) sorted by relevance

/packages/apps/TV/tests/common/src/com/android/tv/testing/
DFakeEpgReader.java78 public Set<EpgChannel> getChannels(Set<Channel> inputChannels, @NonNull String lineupId) { in getChannels()
79 Set<EpgChannel> result = new HashSet<>(); in getChannels()
104 EpgChannel.createEpgChannel( in getChannels()
118 public List<Program> getPrograms(EpgChannel epgChannel) { in getPrograms()
126 public Map<EpgChannel, Collection<Program>> getPrograms( in getPrograms()
127 @NonNull Set<EpgChannel> epgChannels, long duration) { in getPrograms()
131 ImmutableMap.Builder<EpgChannel, Collection<Program>> mapBuilder = ImmutableMap.builder(); in getPrograms()
132 for (EpgChannel epgChannel : epgChannels) { in getPrograms()
142 protected Function<Program, Program> updateWith(final EpgChannel channel) { in updateWith()
/packages/apps/TV/src/com/android/tv/data/epg/
DEpgReader.java38 abstract class EpgChannel { class
39 public static EpgChannel createEpgChannel(Channel channel, String epgChannelId, in createEpgChannel()
77 Set<EpgChannel> getChannels(Set<Channel> inputChannels, @NonNull String lineupId); in getChannels()
91 List<Program> getPrograms(EpgChannel epgChannel); in getPrograms()
98 Map<EpgChannel, Collection<Program>> getPrograms( in getPrograms()
99 @NonNull Set<EpgChannel> epgChannels, long duration); in getPrograms()
DStubEpgReader.java61 public Set<EpgChannel> getChannels(Set<Channel> inputChannels, @NonNull String lineupId) { in getChannels()
76 public List<Program> getPrograms(EpgChannel epgChannel) { in getPrograms()
81 public Map<EpgChannel, Collection<Program>> getPrograms( in getPrograms()
82 @NonNull Set<EpgChannel> channels, long duration) { in getPrograms()
DEpgFetcherImpl.java467 private void batchFetchEpg(Set<EpgReader.EpgChannel> epgChannels, long durationSec) { in batchFetchEpg()
472 Set<EpgReader.EpgChannel> batch = new HashSet<>(QUERY_CHANNEL_COUNT); in batchFetchEpg()
473 for (EpgReader.EpgChannel epgChannel : epgChannels) { in batchFetchEpg()
486 private void batchUpdateEpg(Map<EpgReader.EpgChannel, Collection<Program>> allPrograms) { in batchUpdateEpg() argument
487 for (Map.Entry<EpgReader.EpgChannel, Collection<Program>> entry : allPrograms.entrySet()) { in batchUpdateEpg()
686 final Set<EpgReader.EpgChannel> channels = in fetchEpgFor()
706 for (EpgReader.EpgChannel epgChannel : channels) { in fetchEpgFor()
756 private List<Channel> asChannelList(Set<EpgReader.EpgChannel> epgChannels) { in asChannelList()
758 for (EpgReader.EpgChannel epgChannel : epgChannels) { in asChannelList()
859 Set<EpgReader.EpgChannel> newChannels = new HashSet<>(); in onChannelUpdatedDuringScan()
[all …]
DEpgFetchHelper.java164 static void updateNetworkAffiliation(Context context, Set<EpgReader.EpgChannel> channels) { in updateNetworkAffiliation()
169 for (EpgReader.EpgChannel epgChannel : channels) { in updateNetworkAffiliation()