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.java83 public Set<EpgChannel> getChannels(Set<Channel> inputChannels, @NonNull String lineupId) { in getChannels()
84 Set<EpgChannel> result = new HashSet<>(); in getChannels()
109 EpgChannel.createEpgChannel( in getChannels()
123 public List<Program> getPrograms(EpgChannel epgChannel) { in getPrograms()
131 public Map<EpgChannel, Collection<Program>> getPrograms( in getPrograms()
132 @NonNull Set<EpgChannel> epgChannels, long duration) { in getPrograms()
136 ImmutableMap.Builder<EpgChannel, Collection<Program>> mapBuilder = ImmutableMap.builder(); in getPrograms()
137 for (EpgChannel epgChannel : epgChannels) { in getPrograms()
147 protected Function<Program, Program> updateWith(final EpgChannel channel) { in updateWith()
/packages/apps/TV/src/com/android/tv/data/epg/
DEpgReader.java41 abstract class EpgChannel { class
42 public static EpgChannel createEpgChannel( in createEpgChannel()
80 Set<EpgChannel> getChannels(Set<Channel> inputChannels, @NonNull String lineupId); in getChannels()
94 List<Program> getPrograms(EpgChannel epgChannel); in getPrograms()
101 Map<EpgChannel, Collection<Program>> getPrograms( in getPrograms()
102 @NonNull Set<EpgChannel> epgChannels, long duration); in getPrograms()
DStubEpgReader.java65 public Set<EpgChannel> getChannels(Set<Channel> inputChannels, @NonNull String lineupId) { in getChannels()
80 public List<Program> getPrograms(EpgChannel epgChannel) { in getPrograms()
85 public Map<EpgChannel, Collection<Program>> getPrograms( in getPrograms()
86 @NonNull Set<EpgChannel> channels, long duration) { in getPrograms()
DEpgFetcherImpl.java59 import com.android.tv.data.epg.EpgReader.EpgChannel;
453 private void batchFetchEpg(Set<EpgReader.EpgChannel> epgChannels, long durationSec) { in batchFetchEpg()
459 for (Iterable<EpgChannel> batch : Iterables.partition(epgChannels, batchSize)) { in batchFetchEpg()
465 private void batchUpdateEpg(Map<EpgReader.EpgChannel, Collection<Program>> allPrograms) { in batchUpdateEpg() argument
466 for (Map.Entry<EpgReader.EpgChannel, Collection<Program>> entry : allPrograms.entrySet()) { in batchUpdateEpg()
666 final Set<EpgReader.EpgChannel> channels = in fetchEpgFor()
686 for (EpgReader.EpgChannel epgChannel : channels) { in fetchEpgFor()
736 private List<Channel> asChannelList(Set<EpgReader.EpgChannel> epgChannels) { in asChannelList()
738 for (EpgReader.EpgChannel epgChannel : epgChannels) { in asChannelList()
839 Set<EpgReader.EpgChannel> newChannels = new HashSet<>(); in onChannelUpdatedDuringScan()
[all …]
DEpgFetchHelper.java167 static void updateNetworkAffiliation(Context context, Set<EpgReader.EpgChannel> channels) { in updateNetworkAffiliation()
172 for (EpgReader.EpgChannel epgChannel : channels) { in updateNetworkAffiliation()