Home
last modified time | relevance | path

Searched refs:ID_ALL_CHANNELS (Results 1 – 7 of 7) sorted by relevance

/packages/apps/TV/tests/robotests/src/com/android/tv/data/
DGenreItemTest.java47 assertThat(GenreItems.getCanonicalGenre(GenreItems.ID_ALL_CHANNELS)).isNull(); in testGetCanonicalGenre()
56 assertThat(GenreItems.getId(null)).isEqualTo(GenreItems.ID_ALL_CHANNELS); in testGetId_base()
57 assertThat(GenreItems.getId(INVALID_GENRE)).isEqualTo(GenreItems.ID_ALL_CHANNELS); in testGetId_base()
74 assertThat(GenreItems.getId(Genres.ARTS)).isEqualTo(GenreItems.ID_ALL_CHANNELS); in testGetId_lmp_mr1()
76 .isEqualTo(GenreItems.ID_ALL_CHANNELS); in testGetId_lmp_mr1()
77 assertThat(GenreItems.getId(Genres.LIFE_STYLE)).isEqualTo(GenreItems.ID_ALL_CHANNELS); in testGetId_lmp_mr1()
78 assertThat(GenreItems.getId(Genres.MUSIC)).isEqualTo(GenreItems.ID_ALL_CHANNELS); in testGetId_lmp_mr1()
79 assertThat(GenreItems.getId(Genres.PREMIER)).isEqualTo(GenreItems.ID_ALL_CHANNELS); in testGetId_lmp_mr1()
80 assertThat(GenreItems.getId(Genres.TECH_SCIENCE)).isEqualTo(GenreItems.ID_ALL_CHANNELS); in testGetId_lmp_mr1()
DProgramTest.java67 assertHasGenre(program, GenreItems.ID_ALL_CHANNELS, true); in testNoGenres()
77 assertHasGenre(program, GenreItems.ID_ALL_CHANNELS, true); in testFamilyGenre()
88 assertHasGenre(program, GenreItems.ID_ALL_CHANNELS, true); in testFamilyComedyGenre()
98 assertHasGenre(program, GenreItems.ID_ALL_CHANNELS, true); in testOtherGenre()
/packages/apps/TV/src/com/android/tv/data/
DGenreItems.java25 public static final int ID_ALL_CHANNELS = 0; field in GenreItems
81 return ID_ALL_CHANNELS; in getId()
88 return ID_ALL_CHANNELS; in getId()
DProgramImpl.java407 if (genreId == GenreItems.ID_ALL_CHANNELS) { in hasGenre()
/packages/apps/TV/src/com/android/tv/guide/
DProgramManager.java77 private int mSelectedGenreId = GenreItems.ID_ALL_CHANNELS;
442 mSelectedGenreId = GenreItems.ID_ALL_CHANNELS; in updateChannels()
455 mSelectedGenreId = GenreItems.ID_ALL_CHANNELS; in setChannels()
547 mGenreChannelList.set(GenreItems.ID_ALL_CHANNELS, mChannels); in buildGenreFilters()
555 mSelectedGenreId = GenreItems.ID_ALL_CHANNELS; in buildGenreFilters()
DProgramGuide.java152 private int mLastRequestedGenreId = GenreItems.ID_ALL_CHANNELS;
546 mLastRequestedGenreId = GenreItems.ID_ALL_CHANNELS; in show()
/packages/apps/TV/src/com/android/tv/util/
DUtils.java772 if (genreId == GenreItems.ID_ALL_CHANNELS) { in getCanonicalGenreIds()