OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:subRatings
(Results
1 - 7
of
7
) sorted by null
/frameworks/base/media/java/android/media/tv/
TvContentRating.java
802
* @param
subRatings
The sub-rating strings. For example, "US_TV_D" and "US_TV_L".
808
String rating, String...
subRatings
) {
818
return new TvContentRating(domain, ratingSystem, rating,
subRatings
);
839
String[]
subRatings
= new String[strs.length - 3];
840
System.arraycopy(strs, 3,
subRatings
, 0,
subRatings
.length);
841
return new TvContentRating(strs[0], strs[1], strs[2],
subRatings
);
852
* @param
subRatings
The sub-rating strings such as "US_TV_D" and "US_TV_L".
855
String domain, String ratingSystem, String rating, String[]
subRatings
) {
859
if (
subRatings
== null || subRatings.length == 0)
[
all
...]
/cts/tests/tests/tv/src/android/media/tv/cts/
TvContentRatingTest.java
44
List<String>
subRatings
= rating.getSubRatings();
45
assertEquals(2,
subRatings
.size());
47
subRatings
.contains(SUB_RATING_1));
49
subRatings
.contains(SUB_RATING_2));
60
List<String>
subRatings
= rating.getSubRatings();
61
assertEquals(2,
subRatings
.size());
63
subRatings
.contains(SUB_RATING_1));
65
subRatings
.contains(SUB_RATING_2));
/packages/apps/TV/src/com/android/tv/parental/
ContentRatingsManager.java
71
List<SubRating>
subRatings
= getSubRatings(rating, canonicalRating);
72
if (!
subRatings
.isEmpty()) {
74
for (SubRating subRating :
subRatings
) {
101
List<SubRating>
subRatings
= new ArrayList<>();
104
return
subRatings
;
109
subRatings
.add(subRating);
114
return
subRatings
;
ContentRatingSystem.java
156
String displayName, List<Rating> ratings, List<SubRating>
subRatings
,
165
mSubRatings =
subRatings
;
210
// To provide easy access to the
SubRatings
in it,
213
// To do so, we need to have list of all
SubRatings
which might not be available
214
// at this moment. Keep builders here and build it with
SubRatings
later.
219
//
SubRatings
would be built rather to keep consistency with other fields.
266
List<SubRating>
subRatings
= new ArrayList<>();
269
subRatings
.add(builder.build());
279
ratings.add(builder.build(
subRatings
));
283
for (SubRating subRating :
subRatings
) {
[
all
...]
/prebuilts/sdk/21/
android.jar
/prebuilts/sdk/24/
android.jar
/prebuilts/sdk/system_23/
android.jar
Completed in 222 milliseconds