Home
last modified time | relevance | path

Searched refs:lineupId (Results 1 – 6 of 6) sorted by relevance

/packages/apps/TV/src/com/android/tv/data/epg/
DEpgFetcherImpl.java385 private void clearUnusedLineups(@Nullable String lineupId) { in clearUnusedLineups() argument
391 if (!TextUtils.equals(lineupId, lineup.getId())) { in clearUnusedLineups()
502 private int getMatchedChannelCount(String lineupId, Set<Channel> currentChannels) { in getMatchedChannelCount() argument
515 numbers.retainAll(mEpgReader.getChannelNumbers(lineupId)); in getMatchedChannelCount()
632 String lineupId = EpgFetchHelper.getLastLineupId(mContext); in fetchEpgForBuiltInTuner() local
633 lineupId = lineupId == null ? pickBestLineupId(mCurrentChannels) : lineupId; in fetchEpgForBuiltInTuner()
634 if (lineupId != null) { in fetchEpgForBuiltInTuner()
635 Log.i(TAG, "Selecting the lineup " + lineupId); in fetchEpgForBuiltInTuner()
638 EpgFetchHelper.setLastLineupId(mContext, lineupId); in fetchEpgForBuiltInTuner()
639 clearUnusedLineups(lineupId); in fetchEpgForBuiltInTuner()
[all …]
DEpgReader.java74 List<String> getChannelNumbers(@NonNull String lineupId); in getChannelNumbers() argument
80 Set<EpgChannel> getChannels(Set<Channel> inputChannels, @NonNull String lineupId); in getChannels() argument
83 void preloadChannels(@NonNull String lineupId); in preloadChannels() argument
87 void clearCachedChannels(@NonNull String lineupId); in clearCachedChannels() argument
DStubEpgReader.java60 public List<String> getChannelNumbers(@NonNull String lineupId) { in getChannelNumbers() argument
65 public Set<EpgChannel> getChannels(Set<Channel> inputChannels, @NonNull String lineupId) { in getChannels() argument
70 public void preloadChannels(@NonNull String lineupId) { in preloadChannels() argument
75 public void clearCachedChannels(@NonNull String lineupId) { in clearCachedChannels() argument
DEpgFetchHelper.java251 static synchronized void setLastLineupId(Context context, String lineupId) { in setLastLineupId() argument
253 if (lineupId == null) { in setLastLineupId()
257 sLastLineupId = lineupId; in setLastLineupId()
260 .putString(KEY_LAST_LINEUP_ID, lineupId) in setLastLineupId()
/packages/apps/TV/partner_support/src/com/google/android/tv/partner/support/
DEpgInput.java30 public static EpgInput createEpgChannel(long id, String inputId, String lineupId) { in createEpgChannel() argument
31 return new AutoValue_EpgInput(id, inputId, lineupId); in createEpgChannel()
37 String lineupId = contentValues.getAsString(EpgContract.EpgInputs.COLUMN_LINEUP_ID); in createEpgChannel() local
38 return createEpgChannel(id, inputId, lineupId); in createEpgChannel()
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DFakeEpgReader.java78 public List<String> getChannelNumbers(@NonNull String lineupId) { in getChannelNumbers() argument
83 public Set<EpgChannel> getChannels(Set<Channel> inputChannels, @NonNull String lineupId) { in getChannels() argument
85 List<Channel> lineupChannels = lineup2Channels.get(lineupId); in getChannels()
117 public void preloadChannels(@NonNull String lineupId) {} in preloadChannels() argument
120 public void clearCachedChannels(@NonNull String lineupId) {} in clearCachedChannels() argument