Home | History | Annotate | Download | only in constants
      1 /*
      2  * Copyright (C) 2015 The Android Open Source Project
      3  *
      4  * Licensed under the Apache License, Version 2.0 (the "License");
      5  * you may not use this file except in compliance with the License.
      6  * You may obtain a copy of the License at
      7  *
      8  *      http://www.apache.org/licenses/LICENSE-2.0
      9  *
     10  * Unless required by applicable law or agreed to in writing, software
     11  * distributed under the License is distributed on an "AS IS" BASIS,
     12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13  * See the License for the specific language governing permissions and
     14  * limitations under the License.
     15  */
     16 
     17 package com.android.tv.testing.constants;
     18 
     19 import android.media.tv.TvContentRating;
     20 
     21 /** Constants for the content rating strings. */
     22 public final class TvContentRatingConstants {
     23     /**
     24      * A content rating object.
     25      *
     26      * <p>Domain: com.android.tv
     27      *
     28      * <p>Rating system: US_TV
     29      *
     30      * <p>Rating: US_TV_Y7
     31      *
     32      * <p>Sub ratings: US_TV_FV
     33      */
     34     public static final TvContentRating CONTENT_RATING_US_TV_Y7_US_TV_FV =
     35             TvContentRating.createRating("com.android.tv", "US_TV", "US_TV_Y7", "US_TV_FV");
     36 
     37     public static final String STRING_US_TV_Y7_US_TV_FV = "com.android.tv/US_TV/US_TV_Y7/US_TV_FV";
     38 
     39     /**
     40      * A content rating object.
     41      *
     42      * <p>Domain: com.android.tv
     43      *
     44      * <p>Rating system: US_TV
     45      *
     46      * <p>Rating: US_TV_MA
     47      */
     48     public static final TvContentRating CONTENT_RATING_US_TV_MA =
     49             TvContentRating.createRating("com.android.tv", "US_TV", "US_TV_MA");
     50 
     51     public static final String STRING_US_TV_MA = "com.android.tv/US_TV/US_TV_MA";
     52 
     53     /**
     54      * A content rating object.
     55      *
     56      * <p>Domain: com.android.tv
     57      *
     58      * <p>Rating system: US_TV
     59      *
     60      * <p>Rating: US_TV_PG
     61      *
     62      * <p>Sub ratings: US_TV_L, US_TV_S
     63      */
     64     public static final TvContentRating CONTENT_RATING_US_TV_PG_US_TV_L_US_TV_S =
     65             TvContentRating.createRating(
     66                     "com.android.tv", "US_TV", "US_TV_PG", "US_TV_L", "US_TV_S");
     67 }
     68