Searched defs:ratings (Results 1 - 5 of 5) sorted by relevance

/packages/apps/TV/src/com/android/tv/parental/
H A DParentalControlSettings.java31 /** The rating and all of its sub-ratings are blocked. */
34 /** The rating is blocked but not all of its sub-ratings are blocked. */
67 // Ensure newly added system has ratings for current level set
70 // Ensure no ratings are blocked for the selected rating system
179 * Checks whether any of given ratings is blocked.
181 * @param ratings The array of ratings to check
184 public boolean isRatingBlocked(TvContentRating[] ratings) { argument
185 return getBlockedRating(ratings) != null;
189 * Checks whether any of given ratings i
194 getBlockedRating(TvContentRating[] ratings) argument
[all...]
H A DContentRatingSystem.java64 // Ordered list of main content ratings. UX should respect the order.
67 // Ordered list of sub content ratings. UX should respect the order.
70 // List of orders. This describes the automatic lock/unlock relationship between ratings.
140 /** Returns true if the ratings is owned by this content rating system. */
166 List<Rating> ratings,
176 mRatings = ratings;
288 List<Rating> ratings = new ArrayList<>();
291 ratings.add(builder.build(subRatings));
297 for (Rating rating : ratings) {
312 orders.add(builder.build(ratings));
159 ContentRatingSystem( String name, String domain, String title, String description, List<String> countries, String displayName, List<Rating> ratings, List<SubRating> subRatings, List<Order> orders, boolean isCustom) argument
534 build(List<Rating> ratings) argument
[all...]
/packages/apps/TV/src/com/android/tv/search/
H A DDataManagerSearch.java311 private boolean isRatingBlocked(TvContentRating[] ratings) { argument
312 if (ratings == null
313 || ratings.length == 0
317 for (TvContentRating rating : ratings) {
H A DTvProviderSearch.java480 private boolean isRatingBlocked(String ratings) { argument
481 if (TextUtils.isEmpty(ratings) || !mTvInputManager.isParentalControlsEnabled()) {
484 TvContentRating[] ratingArray = mTvContentRatingCache.getRatings(ratings);
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
H A DPsipData.java612 public ParentalRatingDescriptor(HashMap<String, Integer> ratings) { argument
613 mRatings = ratings;
627 return String.format("Parental rating descriptor, ratings:" + mRatings);
809 // Compares content ratings

Completed in 85 milliseconds