Searched refs:canonicalGenres (Results 1 – 5 of 5) sorted by relevance
294 public Builder setCanonicalGenres(String canonicalGenres) { in setCanonicalGenres() argument295 if (TextUtils.isEmpty(canonicalGenres)) { in setCanonicalGenres()299 return setCanonicalGenres(TvContract.Programs.Genres.decode(canonicalGenres)); in setCanonicalGenres()302 private Builder setCanonicalGenres(String[] canonicalGenres) { in setCanonicalGenres() argument303 mCanonicalGenres = canonicalGenres; in setCanonicalGenres()513 long endTimeUtcMillis, String[] broadcastGenres, String[] canonicalGenres, in RecordedProgram() argument533 mCanonicalGenres = canonicalGenres; in RecordedProgram()
884 public static int[] getCanonicalGenreIds(String[] canonicalGenres) { in getCanonicalGenreIds() argument885 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()
489 String[] canonicalGenres = program.getCanonicalGenres(); in toContentValues() local490 if (canonicalGenres != null && canonicalGenres.length > 0) { in toContentValues()492 TvContract.Programs.Genres.encode(canonicalGenres)); in toContentValues()
336 public GenreDescriptor(String[] broadcastGenres, String[] canonicalGenres) { in GenreDescriptor() argument338 mCanonicalGenres = canonicalGenres; in GenreDescriptor()
1827 String canonicalGenres = values.getAsString(Programs.COLUMN_CANONICAL_GENRE); in checkAndConvertGenre() local1829 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()