Searched refs:contentRatings (Results 1 - 5 of 5) sorted by relevance

/packages/apps/TV/common/src/com/android/tv/common/
H A DTvContentRatingCache.java87 List<TvContentRating> contentRatings = new ArrayList<>();
90 contentRatings.add(TvContentRating.unflattenFromString(rating));
95 return contentRatings.size() == 0 ?
96 null : contentRatings.toArray(new TvContentRating[contentRatings.size()]);
123 public static String contentRatingsToString(TvContentRating[] contentRatings) { argument
124 if (contentRatings == null || contentRatings.length == 0) {
127 String[] ratingStrings = new String[contentRatings.length];
128 for (int i = 0; i < contentRatings
[all...]
/packages/apps/TV/tests/common/src/com/android/tv/testing/
H A DProgramInfo.java100 public final TvContentRating[] contentRatings; field in class:ProgramInfo
123 TvContentRating[] contentRatings, String genre, String resourceUri) {
131 this.contentRatings = contentRatings;
204 contentRatings,
233 Objects.equals(contentRatings, that.contentRatings) &&
289 public Builder setContentRatings(TvContentRating[] contentRatings) { argument
290 mContentRatings = contentRatings;
121 ProgramInfo(String title, String episode, int seasonNumber, int episodeNumber, String posterArtUri, String description, long durationMs, TvContentRating[] contentRatings, String genre, String resourceUri) argument
H A DProgramUtils.java53 TvContentRatingCache.contentRatingsToString(program.contentRatings));
/packages/apps/TV/src/com/android/tv/data/
H A DProgram.java313 .append(", contentRatings=")
429 public Builder setContentRatings(TvContentRating[] contentRatings) { argument
430 mProgram.mContentRatings = contentRatings;
/packages/apps/TV/usbtuner/src/com/android/usbtuner/ts/
H A DSectionParser.java749 List<String> contentRatings = new ArrayList<>();
777 contentRatings.add(TvContentRating
785 return TextUtils.join(",", contentRatings);

Completed in 195 milliseconds