HomeSort by relevance Sort by last modified time
    Searched defs:TvContentRating (Results 1 - 15 of 15) sorted by null

  /frameworks/base/media/java/android/media/tv/
TvContentRating.java 35 * To create a {@code TvContentRating} object, use the
36 * {@link #createRating TvContentRating.createRating} method with valid rating system string
130 * {@code TvContentRating} objects.
137 * TvContentRating rating = TvContentRating.createRating(
774 public final class TvContentRating {
794 public static final TvContentRating UNRATED = new TvContentRating("null", "null", "null", null);
797 * Creates a {@code TvContentRating} object with predefined content rating strings.
803 * @return A {@code TvContentRating} object
    [all...]
TvInputManager.java 300 * @see TvContentRating
459 public void onContentBlocked(Session session, TvContentRating rating) {
642 void postContentBlocked(final TvContentRating rating) {
    [all...]
  /frameworks/support/tv-provider/src/main/java/androidx/tvprovider/media/tv/
TvContractUtils.java 20 import android.media.tv.TvContentRating;
36 static final TvContentRating[] EMPTY = new TvContentRating[0];
43 * Parses a string of comma-separated ratings into an array of {@link TvContentRating}.
49 public static TvContentRating[] stringToContentRatings(String commaSeparatedRatings) {
54 List<TvContentRating> contentRatings = new ArrayList<>(ratings.length);
57 contentRatings.add(TvContentRating.unflattenFromString(rating));
63 : contentRatings.toArray(new TvContentRating[contentRatings.size()]);
67 * Flattens an array of {@link TvContentRating} into a String to be inserted into a database.
72 public static String contentRatingsToString(TvContentRating[] contentRatings)
    [all...]
  /packages/apps/TV/common/src/com/android/tv/common/
TvContentRatingCache.java 19 import android.media.tv.TvContentRating;
34 /** TvContentRating cache. */
45 private final Map<String, TvContentRating[]> mRatingsMultiMap = new ArrayMap<>();
49 * creating each from {@link TvContentRating#unflattenFromString(String)} if needed. Returns
53 public synchronized TvContentRating[] getRatings(String commaSeparatedRatings) {
57 TvContentRating[] tvContentRatings;
79 static TvContentRating[] stringToContentRatings(String commaSeparatedRatings) {
84 List<TvContentRating> contentRatings = new ArrayList<>();
87 contentRatings.add(TvContentRating.unflattenFromString(rating));
94 : contentRatings.toArray(new TvContentRating[contentRatings.size()])
    [all...]
  /frameworks/base/services/core/java/com/android/server/tv/
PersistentDataStore.java 21 import android.media.tv.TvContentRating;
74 private final List<TvContentRating> mBlockedRatings =
75 Collections.synchronizedList(new ArrayList<TvContentRating>());
111 public boolean isRatingBlocked(TvContentRating rating) {
114 for (TvContentRating blockedRating : mBlockedRatings) {
123 public TvContentRating[] getBlockedRatings() {
125 return mBlockedRatings.toArray(new TvContentRating[mBlockedRatings.size()]);
128 public void addBlockedRating(TvContentRating rating) {
137 public void removeBlockedRating(TvContentRating rating) {
269 mBlockedRatings.add(TvContentRating.unflattenFromString(ratingString))
    [all...]
TvInputManagerService.java 52 import android.media.tv.TvContentRating;
    [all...]
  /prebuilts/sdk/21/
android.jar 
  /prebuilts/sdk/22/
android.jar 
  /prebuilts/sdk/24/
android.jar 
  /prebuilts/sdk/27/
android.jar 
  /prebuilts/sdk/28/
android.jar 
  /prebuilts/sdk/current/
android.jar 
  /prebuilts/sdk/system_23/
android.jar 
  /prebuilts/sdk/system_28/
android.jar 
  /prebuilts/sdk/system_current/
android.jar 

Completed in 174 milliseconds