Home
last modified time | relevance | path

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

/packages/apps/TV/tests/unit/src/com/android/tv/data/
DGenreItemTest.java39 assertNull(GenreItems.getCanonicalGenre(GenreItems.ID_ALL_CHANNELS)); in testGetCanonicalGenre()
47 assertEquals(GenreItems.ID_ALL_CHANNELS, GenreItems.getId(null)); in testGetId_base()
48 assertEquals(GenreItems.ID_ALL_CHANNELS, GenreItems.getId(INVALID_GENRE)); in testGetId_base()
64 assertEquals(GenreItems.ID_ALL_CHANNELS, GenreItems.getId(Genres.ARTS)); in testGetId_lmp_mr1()
65 assertEquals(GenreItems.ID_ALL_CHANNELS, GenreItems.getId(Genres.ENTERTAINMENT)); in testGetId_lmp_mr1()
66 assertEquals(GenreItems.ID_ALL_CHANNELS, GenreItems.getId(Genres.LIFE_STYLE)); in testGetId_lmp_mr1()
67 assertEquals(GenreItems.ID_ALL_CHANNELS, GenreItems.getId(Genres.MUSIC)); in testGetId_lmp_mr1()
68 assertEquals(GenreItems.ID_ALL_CHANNELS, GenreItems.getId(Genres.PREMIER)); in testGetId_lmp_mr1()
69 assertEquals(GenreItems.ID_ALL_CHANNELS, GenreItems.getId(Genres.TECH_SCIENCE)); in testGetId_lmp_mr1()
DProgramTest.java52 assertHasGenre(program, GenreItems.ID_ALL_CHANNELS, true); in testNoGenres()
63 assertHasGenre(program, GenreItems.ID_ALL_CHANNELS, true); in testFamilyGenre()
74 assertHasGenre(program, GenreItems.ID_ALL_CHANNELS, true); in testFamilyComedyGenre()
85 assertHasGenre(program, GenreItems.ID_ALL_CHANNELS, true); in testOtherGenre()
/packages/apps/TV/src/com/android/tv/data/
DGenreItems.java30 public static final int ID_ALL_CHANNELS = 0; field in GenreItems
118 return ID_ALL_CHANNELS;
125 return ID_ALL_CHANNELS;
DProgram.java250 if (genreId == GenreItems.ID_ALL_CHANNELS) { in hasGenre()
454 if (genreId == GenreItems.ID_ALL_CHANNELS) { in setCanonicalGenres()
/packages/apps/TV/src/com/android/tv/guide/
DProgramManager.java176 private int mSelectedGenreId = GenreItems.ID_ALL_CHANNELS;
339 mGenreChannelList.set(GenreItems.ID_ALL_CHANNELS, mChannels); in buildGenreFilters()
347 mSelectedGenreId = GenreItems.ID_ALL_CHANNELS; in buildGenreFilters()
389 mSelectedGenreId = GenreItems.ID_ALL_CHANNELS; in updateChannels()
DProgramGuide.java139 private int mLastRequestedGenreId = GenreItems.ID_ALL_CHANNELS;
485 mLastRequestedGenreId = GenreItems.ID_ALL_CHANNELS; in show()