Home
last modified time | relevance | path

Searched refs:contentRatings (Results 1 – 6 of 6) sorted by relevance

/packages/apps/TV/tests/common/src/com/android/tv/testing/data/
DProgramInfo.java103 public final ImmutableList<TvContentRating> contentRatings; field in ProgramInfo
132 ImmutableList<TvContentRating> contentRatings, in ProgramInfo() argument
142 this.contentRatings = contentRatings; in ProgramInfo()
218 contentRatings, in build()
251 && Objects.equals(contentRatings, that.contentRatings) in equals()
307 public Builder setContentRatings(ImmutableList<TvContentRating> contentRatings) { in setContentRatings() argument
308 mContentRatings = contentRatings; in setContentRatings()
DProgramUtils.java77 TvContentRatingCache.contentRatingsToString(program.contentRatings)); in populatePrograms()
/packages/apps/TV/common/src/com/android/tv/common/
DTvContentRatingCache.java84 ImmutableList.Builder<TvContentRating> contentRatings = ImmutableList.builder(); in stringToContentRatings() local
87 contentRatings.add(TvContentRating.unflattenFromString(rating)); in stringToContentRatings()
92 return contentRatings.build(); in stringToContentRatings()
121 @Nullable ImmutableList<TvContentRating> contentRatings) { in contentRatingsToString()
122 if (contentRatings == null) { in contentRatingsToString()
126 for (TvContentRating rating : contentRatings) { in contentRatingsToString()
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
DSectionParser.java1300 Set<String> contentRatings = new ArraySet<>(); in generateContentRating() local
1306 contentRatings.add(contentRating); in generateContentRating()
1312 contentRatings.add(contentRating); in generateContentRating()
1315 return TextUtils.join(",", contentRatings); in generateContentRating()
/packages/apps/TV/src/com/android/tv/data/
DProgramImpl.java835 public Builder setContentRatings(ImmutableList<TvContentRating> contentRatings) { in setContentRatings() argument
836 mProgram.mContentRatings = contentRatings; in setContentRatings()
/packages/apps/TV/src/com/android/tv/dvr/data/
DRecordedProgram.java281 public abstract Builder setContentRatings(ImmutableList<TvContentRating> contentRatings); in setContentRatings() argument