Searched refs:contentRatings (Results 1 – 4 of 4) sorted by relevance
308 TvContentRating[] contentRatings = new TvContentRating[ratings.length]; in stringToContentRatings() local309 for (int i = 0; i < contentRatings.length; ++i) { in stringToContentRatings()310 contentRatings[i] = TvContentRating.unflattenFromString(ratings[i]); in stringToContentRatings()312 return contentRatings; in stringToContentRatings()315 public static String contentRatingsToString(TvContentRating[] contentRatings) { in contentRatingsToString() argument316 if (contentRatings == null || contentRatings.length == 0) { in contentRatingsToString()320 StringBuilder ratings = new StringBuilder(contentRatings[0].flattenToString()); in contentRatingsToString()321 for (int i = 1; i < contentRatings.length; ++i) { in contentRatingsToString()323 ratings.append(contentRatings[i].flattenToString()); in contentRatingsToString()
262 mCurrentContentRating = info.contentRatings.length > 0 ? in playProgram()263 info.contentRatings[0] : null; in playProgram()459 public final TvContentRating[] contentRatings; field in RichTvInputService.ProgramInfo462 … TvContentRating[] contentRatings, String videoUrl, int videoType, int resourceId) { in ProgramInfo() argument467 this.contentRatings = contentRatings; in ProgramInfo()479 public final TvContentRating[] contentRatings; field in RichTvInputService.PlaybackInfo482 TvContentRating[] contentRatings) { in PlaybackInfo() argument485 this.contentRatings = contentRatings; in PlaybackInfo()
170 String contentRatings = null; in parseProgram() local193 contentRatings = value; in parseProgram()197 TvContractUtils.stringToContentRatings(contentRatings), videoUrl, videoType, 0); in parseProgram()
104 TvContractUtils.contentRatingsToString(program.contentRatings)); in insertPrograms()