Home
last modified time | relevance | path

Searched refs:Rating (Results 1 – 10 of 10) sorted by relevance

/packages/apps/TV/src/com/android/tv/parental/
DContentRatingSystem.java62 private final List<Rating> mRatings;
104 public List<Rating> getRatings() { in getRatings()
108 public Rating getRating(String name) { in getRating()
109 for (Rating rating : mRatings) { in getRating()
163 List<Rating> ratings, in ContentRatingSystem()
186 private final List<Rating.Builder> mRatingBuilders = new ArrayList<>();
218 public void addRatingBuilder(Rating.Builder ratingBuilder) { in addRatingBuilder()
285 List<Rating> ratings = new ArrayList<>(); in build()
287 for (Rating.Builder builder : mRatingBuilders) { in build()
294 for (Rating rating : ratings) { in build()
[all …]
DParentalControlSettings.java22 import com.android.tv.parental.ContentRatingSystem.Rating;
197 ContentRatingSystem contentRatingSystem, Rating rating, boolean blocked) { in setRatingBlocked()
218 public boolean isRatingBlocked(ContentRatingSystem contentRatingSystem, Rating rating) { in isRatingBlocked()
236 Rating rating, in setSubRatingBlocked()
251 ContentRatingSystem contentRatingSystem, Rating rating, SubRating subRating) { in isSubRatingEnabled()
257 Rating rating, in setRatingBlockedInternal()
288 public int getBlockedStatus(ContentRatingSystem contentRatingSystem, Rating rating) { in getBlockedStatus()
301 ContentRatingSystem contentRatingSystem, Rating rating) { in toTvContentRating()
307 ContentRatingSystem contentRatingSystem, Rating rating, SubRating subRating) { in toTvContentRating()
DContentRatingsManager.java26 import com.android.tv.parental.ContentRatingSystem.Rating;
82 Rating rating = getRating(canonicalRating); in getDisplayNameForRating()
98 private Rating getRating(TvContentRating canonicalRating) { in getRating()
105 for (Rating rating : system.getRatings()) { in getRating()
115 private List<SubRating> getSubRatings(Rating rating, TvContentRating canonicalRating) { in getSubRatings()
DContentRatingsParser.java28 import com.android.tv.parental.ContentRatingSystem.Rating;
261 private Rating.Builder parseRatingDefinition(XmlResourceParser parser) in parseRatingDefinition()
263 Rating.Builder builder = new Rating.Builder(); in parseRatingDefinition()
444 private Rating.Builder parseSubRating(XmlResourceParser parser, Rating.Builder builder) in parseSubRating()
DContentRatingLevelPolicy.java20 import com.android.tv.parental.ContentRatingSystem.Rating;
62 for (Rating rating : contentRatingSystem.getRatings()) { in getRatingsForAge()
87 for (Rating rating : contentRatingSystem.getRatings()) { in getMaxAge()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/
DRatingsFragment.java34 import com.android.tv.parental.ContentRatingSystem.Rating;
138 for (Rating rating : s.getRatings()) { in getItemList()
268 protected final Rating mRating;
274 private RatingItem(ContentRatingSystem contentRatingSystem, Rating rating) { in RatingItem()
358 private RatingWithSubItem(ContentRatingSystem contentRatingSystem, Rating rating) { in RatingWithSubItem()
DSubRatingsFragment.java26 import com.android.tv.parental.ContentRatingSystem.Rating;
42 private Rating mRating;
/packages/apps/Car/Radio/src/com/android/car/radio/media/
DTunerSession.java22 import android.media.Rating;
85 mSession.setRatingType(Rating.RATING_HEART); in TunerSession()
166 public void onSetRating(Rating rating) { in onSetRating()
/packages/apps/Car/libs/car-broadcastradio-support/src/com/android/car/broadcastradio/support/platform/
DProgramInfoExt.java27 import android.media.Rating;
169 bld.putRating(MediaMetadata.METADATA_KEY_USER_RATING, Rating.newHeartRating(isFavorite)); in toMediaMetadata()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/mockable/
DMediaController.java25 import android.media.Rating;
378 public void setRating(Rating rating) { in setRating()