Home
last modified time | relevance | path

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

/packages/apps/TV/src/com/android/tv/parental/
DContentRatingsManager.java66 public String getDisplayNameForRating(TvContentRating canonicalRating) { in getDisplayNameForRating() argument
67 Rating rating = getRating(canonicalRating); in getDisplayNameForRating()
71 List<SubRating> subRatings = getSubRatings(rating, canonicalRating); in getDisplayNameForRating()
83 private Rating getRating(TvContentRating canonicalRating) { in getRating() argument
84 if (canonicalRating == null || mContentRatingSystems == null) { in getRating()
88 if (system.getDomain().equals(canonicalRating.getDomain()) in getRating()
89 && system.getName().equals(canonicalRating.getRatingSystem())) { in getRating()
91 if (rating.getName().equals(canonicalRating.getMainRating())) { in getRating()
100 private List<SubRating> getSubRatings(Rating rating, TvContentRating canonicalRating) { in getSubRatings() argument
103 || canonicalRating == null || canonicalRating.getSubRatings() == null) { in getSubRatings()
[all …]