Searched refs:ratings (Results 1 - 11 of 11) sorted by relevance
/packages/apps/TV/src/com/android/tv/parental/ |
H A D | ContentRatingLevelPolicy.java | 53 Set<TvContentRating> ratings = new HashSet<>(); 70 ratings.add(tvContentRating); 75 ratings.add(tvContentRating); 80 return ratings;
|
H A D | ParentalControlSettings.java | 34 * The rating and all of its sub-ratings are blocked. 39 * The rating is blocked but not all of its sub-ratings are blocked. 73 // Ensure newly added system has ratings for current level set 76 // Ensure no ratings are blocked for the selected rating system 186 * Checks whether any of given ratings is blocked. 188 * @param ratings The array of ratings to check 191 public boolean isRatingBlocked(TvContentRating[] ratings) { argument 192 return getBlockedRating(ratings) != null; 196 * Checks whether any of given ratings i 201 getBlockedRating(TvContentRating[] ratings) argument [all...] |
H A D | ContentRatingSystem.java | 66 // Ordered list of main content ratings. UX should respect the order. 69 // Ordered list of sub content ratings. UX should respect the order. 72 // List of orders. This describes the automatic lock/unlock relationship between ratings. 143 * Returns true if the ratings is owned by this content rating system. 165 String displayName, List<Rating> ratings, List<SubRating> subRatings, 173 mRatings = ratings; 285 List<Rating> ratings = new ArrayList<>(); 288 ratings.add(builder.build(subRatings)); 294 for (Rating rating : ratings) { 309 orders.add(builder.build(ratings)); 163 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 521 build(List<Rating> ratings) argument [all...] |
/packages/apps/TV/tests/unit/src/com/android/tv/data/ |
H A D | ProgramTest.java | 107 TvContentRating[] ratings = new TvContentRating[2]; 108 ratings[0] = TvContentRating.unflattenFromString("1/2/3"); 109 ratings[1] = TvContentRating.unflattenFromString("4/5/6"); 130 .setContentRatings(ratings)
|
/packages/apps/TV/src/com/android/tv/search/ |
H A D | DataManagerSearch.java | 271 private boolean isRatingBlocked(TvContentRating[] ratings) { argument 272 if (ratings == null || ratings.length == 0 276 for (TvContentRating rating : ratings) {
|
H A D | TvProviderSearch.java | 408 private boolean isRatingBlocked(String ratings) { argument 409 if (TextUtils.isEmpty(ratings) || !mTvInputManager.isParentalControlsEnabled()) { 412 TvContentRating[] ratingArray = mTvContentRatingCache.getRatings(ratings);
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
H A D | DvrDetailsFragment.java | 226 TvContentRating[] ratings = recordedProgram.getContentRatings(); 227 TvContentRating blockRatings = parental.getBlockedRating(ratings);
|
/packages/apps/TV/src/com/android/tv/ui/ |
H A D | ChannelBannerView.java | 632 TvContentRating[] ratings = (program == null) ? null : program.getContentRatings(); 634 if (ratings == null || ratings.length <= i) { 638 mContentRatingsManager.getDisplayNameForRating(ratings[i]));
|
/packages/apps/TV/src/com/android/tv/tuner/data/ |
H A D | PsipData.java | 577 public ParentalRatingDescriptor(HashMap<String, Integer> ratings) { argument 578 mRatings = ratings; 592 return String.format("Parental rating descriptor, ratings:" + mRatings); 766 // Compares content ratings
|
/packages/apps/TV/src/com/android/tv/tuner/tvinput/ |
H A D | TunerSessionWorker.java | 1686 TvContentRating[] ratings = mTvContentRatingCache 1688 if (ratings == null || ratings.length == 0) { 1689 ratings = new TvContentRating[] {TvContentRating.UNRATED}; 1691 for (TvContentRating rating : ratings) {
|
/packages/apps/TV/src/com/android/tv/tuner/ts/ |
H A D | SectionParser.java | 1623 HashMap<String, Integer> ratings = new HashMap<>(); 1630 // Rating > 15 means that the ratings is defined by broadcaster. 1633 ratings.put(countryCode, rating + 3); 1635 return new ParentalRatingDescriptor(ratings);
|
Completed in 149 milliseconds