Home
last modified time | relevance | path

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

/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/
DRatingSystemsFragment.java22 import com.android.tv.parental.ContentRatingSystem;
47 List<ContentRatingSystem> contentRatingSystems = in getDescription()
49 Collections.sort(contentRatingSystems, ContentRatingSystem.DISPLAY_NAME_COMPARATOR); in getDescription()
51 for (ContentRatingSystem s : contentRatingSystems) { in getDescription()
78 List<ContentRatingSystem> contentRatingSystems = in getItemList()
80 Collections.sort(contentRatingSystems, ContentRatingSystem.DISPLAY_NAME_COMPARATOR); in getItemList()
86 for (ContentRatingSystem s : contentRatingSystems) { in getItemList()
135 List<ContentRatingSystem> contentRatingSystems = in setDefaultRatingSystemsIfNeeded()
139 for (ContentRatingSystem s : contentRatingSystems) { in setDefaultRatingSystemsIfNeeded()
149 private final ContentRatingSystem mContentRatingSystem;
[all …]
DRatingsFragment.java33 import com.android.tv.parental.ContentRatingSystem;
34 import com.android.tv.parental.ContentRatingSystem.Rating;
129 List<ContentRatingSystem> contentRatingSystems = in getItemList()
131 Collections.sort(contentRatingSystems, ContentRatingSystem.DISPLAY_NAME_COMPARATOR); in getItemList()
133 for (ContentRatingSystem s : contentRatingSystems) { in getItemList()
222 ContentRatingSystem.Order order, in updateDependentRatingItems()
267 protected final ContentRatingSystem mContentRatingSystem;
271 private final List<ContentRatingSystem.Order> mOrders = new ArrayList<>();
274 private RatingItem(ContentRatingSystem contentRatingSystem, Rating rating) { in RatingItem()
279 for (ContentRatingSystem.Order order : mContentRatingSystem.getOrders()) { in RatingItem()
[all …]
DSubRatingsFragment.java25 import com.android.tv.parental.ContentRatingSystem;
26 import com.android.tv.parental.ContentRatingSystem.Rating;
27 import com.android.tv.parental.ContentRatingSystem.SubRating;
41 private ContentRatingSystem mContentRatingSystem;
46 ContentRatingSystem contentRatingSystem, String ratingName) { in create()
/packages/apps/TV/src/com/android/tv/parental/
DParentalControlSettings.java22 import com.android.tv.parental.ContentRatingSystem.Rating;
23 import com.android.tv.parental.ContentRatingSystem.SubRating;
65 ContentRatingSystem contentRatingSystem, in setContentRatingSystemEnabled()
84 public boolean isContentRatingSystemEnabled(ContentRatingSystem contentRatingSystem) { in isContentRatingSystemEnabled()
197 ContentRatingSystem contentRatingSystem, Rating rating, boolean blocked) { in setRatingBlocked()
218 public boolean isRatingBlocked(ContentRatingSystem contentRatingSystem, Rating rating) { in isRatingBlocked()
235 ContentRatingSystem contentRatingSystem, in setSubRatingBlocked()
251 ContentRatingSystem contentRatingSystem, Rating rating, SubRating subRating) { in isSubRatingEnabled()
256 ContentRatingSystem contentRatingSystem, in setRatingBlockedInternal()
288 public int getBlockedStatus(ContentRatingSystem contentRatingSystem, Rating rating) { in getBlockedStatus()
[all …]
DContentRatingsManager.java26 import com.android.tv.parental.ContentRatingSystem.Rating;
27 import com.android.tv.parental.ContentRatingSystem.SubRating;
33 private final List<ContentRatingSystem> mContentRatingSystems = new ArrayList<>();
50 List<ContentRatingSystem> list = parser.parse(info); in update()
60 public ContentRatingSystem getContentRatingSystem(String contentRatingSystemId) { in getContentRatingSystem()
61 for (ContentRatingSystem ratingSystem : mContentRatingSystems) { in getContentRatingSystem()
70 public List<ContentRatingSystem> getContentRatingSystems() { in getContentRatingSystems()
102 for (ContentRatingSystem system : mContentRatingSystems) { in getRating()
DContentRatingsParser.java27 import com.android.tv.parental.ContentRatingSystem.Order;
28 import com.android.tv.parental.ContentRatingSystem.Rating;
29 import com.android.tv.parental.ContentRatingSystem.SubRating;
68 public List<ContentRatingSystem> parse(TvContentRatingSystemInfo info) { in parse()
69 List<ContentRatingSystem> ratingSystems = null; in parse()
91 private List<ContentRatingSystem> parse( in parse()
133 List<ContentRatingSystem> ratingSystems = new ArrayList<>(); in parse()
183 private ContentRatingSystem parseRatingSystemDefinition( in parseRatingSystemDefinition()
186 ContentRatingSystem.Builder builder = new ContentRatingSystem.Builder(mContext); in parseRatingSystemDefinition()
DContentRatingSystem.java29 public class ContentRatingSystem { class
33 public static final Comparator<ContentRatingSystem> DISPLAY_NAME_COMPARATOR =
34 (ContentRatingSystem s1, ContentRatingSystem s2) -> {
144 if (obj instanceof ContentRatingSystem) { in equals()
145 ContentRatingSystem other = (ContentRatingSystem) obj; in equals()
156 private ContentRatingSystem( in ContentRatingSystem() method in ContentRatingSystem
245 public ContentRatingSystem build() { in build()
313 return new ContentRatingSystem( in build()
DContentRatingLevelPolicy.java20 import com.android.tv.parental.ContentRatingSystem.Rating;
21 import com.android.tv.parental.ContentRatingSystem.SubRating;
54 for (ContentRatingSystem contentRatingSystem : manager.getContentRatingSystems()) { in getRatingsForAge()
85 private static int getMaxAge(ContentRatingSystem contentRatingSystem) { in getMaxAge()