Home
last modified time | relevance | path

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

/packages/apps/TV/src/com/android/tv/dvr/data/
DRecordedProgram.java294 public Builder setCanonicalGenres(String canonicalGenres) { in setCanonicalGenres() argument
295 if (TextUtils.isEmpty(canonicalGenres)) { in setCanonicalGenres()
299 return setCanonicalGenres(TvContract.Programs.Genres.decode(canonicalGenres)); in setCanonicalGenres()
302 private Builder setCanonicalGenres(String[] canonicalGenres) { in setCanonicalGenres() argument
303 mCanonicalGenres = canonicalGenres; in setCanonicalGenres()
513 long endTimeUtcMillis, String[] broadcastGenres, String[] canonicalGenres, in RecordedProgram() argument
533 mCanonicalGenres = canonicalGenres; in RecordedProgram()
/packages/apps/TV/src/com/android/tv/util/
DUtils.java884 public static int[] getCanonicalGenreIds(String[] canonicalGenres) { in getCanonicalGenreIds() argument
885 if (canonicalGenres != null && canonicalGenres.length > 0) { in getCanonicalGenreIds()
886 int[] results = new int[canonicalGenres.length]; in getCanonicalGenreIds()
888 for (String canonicalGenre : canonicalGenres) { in getCanonicalGenreIds()
896 if (i < canonicalGenres.length) { in getCanonicalGenreIds()
/packages/apps/TV/src/com/android/tv/data/
DProgram.java489 String[] canonicalGenres = program.getCanonicalGenres(); in toContentValues() local
490 if (canonicalGenres != null && canonicalGenres.length > 0) { in toContentValues()
492 TvContract.Programs.Genres.encode(canonicalGenres)); in toContentValues()
/packages/apps/TV/src/com/android/tv/tuner/data/
DPsipData.java336 public GenreDescriptor(String[] broadcastGenres, String[] canonicalGenres) { in GenreDescriptor() argument
338 mCanonicalGenres = canonicalGenres; in GenreDescriptor()
/packages/providers/TvProvider/src/com/android/providers/tv/
DTvProvider.java1827 String canonicalGenres = values.getAsString(Programs.COLUMN_CANONICAL_GENRE); in checkAndConvertGenre() local
1829 if (!TextUtils.isEmpty(canonicalGenres)) { in checkAndConvertGenre()
1831 String[] genres = Genres.decode(canonicalGenres); in checkAndConvertGenre()
1835 canonicalGenres = null; in checkAndConvertGenre()
1841 if (TextUtils.isEmpty(canonicalGenres)) { in checkAndConvertGenre()