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;
18 
19 import android.media.tv.TvContentRating;
20 
21 /**
22  * Constants for the content rating strings.
23  */
24 public final class TvContentRatingConstants {
25     /**
26      * A content rating object.
27      *
28      * <p>Domain: com.android.tv
29      * <p>Rating system: US_TV
30      * <p>Rating: US_TV_Y7
31      * <p>Sub ratings: US_TV_FV
32      */
33     public static final TvContentRating CONTENT_RATING_US_TV_Y7_US_TV_FV =
34             TvContentRating.createRating("com.android.tv", "US_TV", "US_TV_Y7", "US_TV_FV");
35 
36     public static String STRING_US_TV_Y7_US_TV_FV = "com.android.tv/US_TV/US_TV_Y7/US_TV_FV";
37 
38     /**
39      * A content rating object.
40      *
41      * <p>Domain: com.android.tv
42      * <p>Rating system: US_TV
43      * <p>Rating: US_TV_MA
44      */
45     public static final TvContentRating CONTENT_RATING_US_TV_MA =
46             TvContentRating.createRating("com.android.tv", "US_TV", "US_TV_MA");
47 
48     public static String STRING_US_TV_MA = "com.android.tv/US_TV/US_TV_MA";
49 
50     /**
51      * A content rating object.
52      *
53      * <p>Domain: com.android.tv
54      * <p>Rating system: US_TV
55      * <p>Rating: US_TV_PG
56      * <p>Sub ratings: US_TV_L, US_TV_S
57      */
58     public static final TvContentRating CONTENT_RATING_US_TV_PG_US_TV_L_US_TV_S =
59             TvContentRating.createRating("com.android.tv", "US_TV", "US_TV_PG", "US_TV_L",
60                     "US_TV_S");
61 
62     public static String STRING_US_TV_PG_US_TV_L_US_TV_S
63             = "com.android.tv/US_TV/US_TV_Y7/US_TV_L/US_TV_S";
64 }
65