Searched refs:contentRatingSystem (Results 1 – 5 of 5) sorted by relevance
/packages/apps/TV/src/com/android/tv/parental/ |
D | ParentalControlSettings.java | 65 ContentRatingSystem contentRatingSystem, in setContentRatingSystemEnabled() argument 68 TvSettings.addContentRatingSystem(mContext, contentRatingSystem.getId()); in setContentRatingSystemEnabled() 75 if (contentRatingSystem.ownsRating(tvContentRating)) { in setContentRatingSystemEnabled() 80 TvSettings.removeContentRatingSystem(mContext, contentRatingSystem.getId()); in setContentRatingSystemEnabled() 84 public boolean isContentRatingSystemEnabled(ContentRatingSystem contentRatingSystem) { in isContentRatingSystemEnabled() argument 85 return TvSettings.hasContentRatingSystem(mContext, contentRatingSystem.getId()); in isContentRatingSystemEnabled() 197 ContentRatingSystem contentRatingSystem, Rating rating, boolean blocked) { in setRatingBlocked() argument 198 return setRatingBlockedInternal(contentRatingSystem, rating, null, blocked); in setRatingBlocked() 218 public boolean isRatingBlocked(ContentRatingSystem contentRatingSystem, Rating rating) { in isRatingBlocked() argument 219 return mRatings.contains(toTvContentRating(contentRatingSystem, rating)); in isRatingBlocked() [all …]
|
D | ContentRatingLevelPolicy.java | 54 for (ContentRatingSystem contentRatingSystem : manager.getContentRatingSystems()) { in getRatingsForAge() 55 if (!settings.isContentRatingSystemEnabled(contentRatingSystem)) { in getRatingsForAge() 60 ageLimit = getMaxAge(contentRatingSystem); in getRatingsForAge() 62 for (Rating rating : contentRatingSystem.getRatings()) { in getRatingsForAge() 68 contentRatingSystem.getDomain(), in getRatingsForAge() 69 contentRatingSystem.getName(), in getRatingsForAge() 75 contentRatingSystem.getDomain(), contentRatingSystem.getName(), in getRatingsForAge() 85 private static int getMaxAge(ContentRatingSystem contentRatingSystem) { in getMaxAge() argument 87 for (Rating rating : contentRatingSystem.getRatings()) { in getMaxAge()
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/ |
D | RatingSystemsFragment.java | 151 RatingSystemItem(ContentRatingSystem contentRatingSystem) { in RatingSystemItem() argument 152 this(contentRatingSystem, null); in RatingSystemItem() 155 RatingSystemItem(ContentRatingSystem contentRatingSystem, String description) { in RatingSystemItem() argument 156 super(contentRatingSystem.getDisplayName(), description, description != null); in RatingSystemItem() 157 mContentRatingSystem = contentRatingSystem; in RatingSystemItem()
|
D | RatingsFragment.java | 274 private RatingItem(ContentRatingSystem contentRatingSystem, Rating rating) { in RatingItem() argument 276 mContentRatingSystem = contentRatingSystem; in RatingItem() 358 private RatingWithSubItem(ContentRatingSystem contentRatingSystem, Rating rating) { in RatingWithSubItem() argument 359 super(contentRatingSystem, rating); in RatingWithSubItem()
|
D | SubRatingsFragment.java | 46 ContentRatingSystem contentRatingSystem, String ratingName) { in create() argument 49 args.putString(ARGS_CONTENT_RATING_SYSTEM_ID, contentRatingSystem.getId()); in create()
|