Home
last modified time | relevance | path

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

/packages/apps/TV/src/com/android/tv/parental/
DContentRatingSystem.java65 private final List<SubRating> mSubRatings;
117 public List<SubRating> getSubRatings() { in getSubRatings()
164 List<SubRating> subRatings, in ContentRatingSystem()
187 private final List<SubRating.Builder> mSubRatingBuilders = new ArrayList<>();
227 public void addSubRatingBuilder(SubRating.Builder subRatingBuilder) { in addSubRatingBuilder()
275 List<SubRating> subRatings = new ArrayList<>(); in build()
277 for (SubRating.Builder builder : mSubRatingBuilders) { in build()
292 for (SubRating subRating : subRatings) { in build()
333 private final List<SubRating> mSubRatings;
355 public List<SubRating> getSubRatings() { in getSubRatings()
[all …]
DContentRatingsManager.java27 import com.android.tv.parental.ContentRatingSystem.SubRating;
86 List<SubRating> subRatings = getSubRatings(rating, canonicalRating); in getDisplayNameForRating()
89 for (SubRating subRating : subRatings) { in getDisplayNameForRating()
115 private List<SubRating> getSubRatings(Rating rating, TvContentRating canonicalRating) { in getSubRatings()
116 List<SubRating> subRatings = new ArrayList<>(); in getSubRatings()
124 for (SubRating subRating : rating.getSubRatings()) { in getSubRatings()
DParentalControlSettings.java23 import com.android.tv.parental.ContentRatingSystem.SubRating;
237 SubRating subRating, in setSubRatingBlocked()
251 ContentRatingSystem contentRatingSystem, Rating rating, SubRating subRating) { in isSubRatingEnabled()
258 SubRating subRating, in setRatingBlockedInternal()
292 for (SubRating subRating : rating.getSubRatings()) { in getBlockedStatus()
307 ContentRatingSystem contentRatingSystem, Rating rating, SubRating subRating) { in toTvContentRating()
DContentRatingsParser.java29 import com.android.tv.parental.ContentRatingSystem.SubRating;
331 private SubRating.Builder parseSubRatingDefinition(XmlResourceParser parser) in parseSubRatingDefinition()
333 SubRating.Builder builder = new SubRating.Builder(); in parseSubRatingDefinition()
DContentRatingLevelPolicy.java21 import com.android.tv.parental.ContentRatingSystem.SubRating;
72 for (SubRating subRating : rating.getSubRatings()) { in getRatingsForAge()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/
DSubRatingsFragment.java27 import com.android.tv.parental.ContentRatingSystem.SubRating;
87 for (SubRating subRating : mRating.getSubRatings()) { in getItemList()
130 for (SubRating subRating : mRating.getSubRatings()) { in onSelected()
153 private final SubRating mSubRating;
155 private SubRatingItem(SubRating subRating) { in SubRatingItem()
203 private boolean isSubRatingEnabled(SubRating subRating) { in isSubRatingEnabled()
215 private void setSubRatingEnabled(SubRating subRating, boolean enabled) { in setSubRatingEnabled()