/frameworks/base/media/java/android/media/tv/ |
D | TvContentRating.java | 921 String rating, String... subRatings) { in createRating() 928 if (TextUtils.isEmpty(rating)) { in createRating() 931 return new TvContentRating(domain, ratingSystem, rating, subRatings); in createRating() 968 String domain, String ratingSystem, String rating, String[] subRatings) { in TvContentRating() argument 971 mRating = rating; in TvContentRating() 1048 public final boolean contains(@NonNull TvContentRating rating) { in contains() argument 1049 Preconditions.checkNotNull(rating); in contains() 1050 if (!rating.getMainRating().equals(mRating)) { in contains() 1053 if (!rating.getDomain().equals(mDomain) || in contains() 1054 !rating.getRatingSystem().equals(mRatingSystem) || in contains() [all …]
|
D | ITvInputManager.aidl | 55 boolean isRatingBlocked(in String rating, int userId); in isRatingBlocked() argument 57 void addBlockedRating(in String rating, int userId); in addBlockedRating() argument 58 void removeBlockedRating(in String rating, int userId); in removeBlockedRating() argument
|
D | TvInputManager.java | 472 public void onContentBlocked(Session session, TvContentRating rating) { in onContentBlocked() argument 655 void postContentBlocked(final TvContentRating rating) { in postContentBlocked() argument 659 mSessionCallback.onContentBlocked(mSession, rating); in postContentBlocked() 1011 public void onContentBlocked(String rating, int seq) { in TvInputManager() 1018 record.postContentBlocked(TvContentRating.unflattenFromString(rating)); in TvInputManager() 1334 public boolean isRatingBlocked(@NonNull TvContentRating rating) { in isRatingBlocked() argument 1335 Preconditions.checkNotNull(rating); in isRatingBlocked() 1337 return mService.isRatingBlocked(rating.flattenToString(), mUserId); in isRatingBlocked() 1351 for (String rating : mService.getBlockedRatings(mUserId)) { in getBlockedRatings() 1352 ratings.add(TvContentRating.unflattenFromString(rating)); in getBlockedRatings() [all …]
|
D | ITvInputSessionCallback.aidl | 38 void onContentBlocked(in String rating); in onContentBlocked() argument
|
D | ITvInputClient.aidl | 41 void onContentBlocked(in String rating, int seq); in onContentBlocked() argument
|
D | TvView.java | 1004 public void onContentBlocked(String inputId, TvContentRating rating) { in onContentBlocked() argument 1243 public void onContentBlocked(Session session, TvContentRating rating) { in onContentBlocked() argument 1245 Log.d(TAG, "onContentBlocked(rating=" + rating + ")"); in onContentBlocked() 1252 mCallback.onContentBlocked(mInputId, rating); in onContentBlocked()
|
D | TvInputService.java | 609 public void notifyContentBlocked(@NonNull final TvContentRating rating) { 610 Preconditions.checkNotNull(rating); 618 mSessionCallback.onContentBlocked(rating.flattenToString());
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | PersistentDataStore.java | 111 public boolean isRatingBlocked(TvContentRating rating) { in isRatingBlocked() argument 115 if (rating.contains(blockedRating)) { in isRatingBlocked() 128 public void addBlockedRating(TvContentRating rating) { in addBlockedRating() argument 130 if (rating != null && !mBlockedRatings.contains(rating)) { in addBlockedRating() 131 mBlockedRatings.add(rating); in addBlockedRating() 137 public void removeBlockedRating(TvContentRating rating) { in removeBlockedRating() argument 139 if (rating != null && mBlockedRatings.contains(rating)) { in removeBlockedRating() 140 mBlockedRatings.remove(rating); in removeBlockedRating() 280 for (TvContentRating rating : mBlockedRatings) { in saveToXml() 282 serializer.attribute(null, ATTR_STRING, rating.flattenToString()); in saveToXml()
|
D | TvInputManagerService.java | 1077 public boolean isRatingBlocked(String rating, int userId) { in isRatingBlocked() argument 1085 TvContentRating.unflattenFromString(rating)); in isRatingBlocked() 1101 for (TvContentRating rating in getBlockedRatings() 1103 ratings.add(rating.flattenToString()); in getBlockedRatings() 1113 public void addBlockedRating(String rating, int userId) { in addBlockedRating() argument 1122 TvContentRating.unflattenFromString(rating)); in addBlockedRating() 1130 public void removeBlockedRating(String rating, int userId) { in removeBlockedRating() argument 1139 TvContentRating.unflattenFromString(rating)); in removeBlockedRating() 2585 public void onContentBlocked(String rating) { in onContentBlocked() argument 2594 mSessionState.client.onContentBlocked(rating, mSessionState.seq); in onContentBlocked()
|
/frameworks/base/core/java/android/widget/ |
D | RatingBar.java | 76 void onRatingChanged(RatingBar ratingBar, float rating, boolean fromUser); in onRatingChanged() argument 100 final float rating = a.getFloat(R.styleable.RatingBar_rating, -1); in RatingBar() local 114 if (rating >= 0) { in RatingBar() 115 setRating(rating); in RatingBar() 207 public void setRating(float rating) { in setRating() argument 208 setProgress(Math.round(rating * getProgressPerStar())); in setRating()
|
/frameworks/base/media/java/android/media/ |
D | Rating.java | 97 private Rating(@Style int ratingStyle, float rating) { in Rating() argument 99 mRatingValue = rating; in Rating()
|
D | RemoteController.java | 441 Rating rating = (Rating) getObject( in apply() local 443 if (rating != null) { in apply() 444 mCurrentSession.getTransportControls().setRating(rating); in apply()
|
D | MediaMetadata.java | 486 Rating rating = null; in getRating() local 488 rating = mBundle.getParcelable(key); in getRating() 493 return rating; in getRating()
|
D | RemoteControlClient.java | 942 public void onSetRating(Rating rating) { 944 onUpdateMetadata(mCurrentClientGenId, MetadataEditor.RATING_KEY_BY_USER, rating);
|
/frameworks/base/sax/tests/saxtests/src/android/sax/ |
D | SafeSaxTest.java | 323 video.rating = average == null in newContentHandler() 443 video.rating = average == null in startElement() 532 public float rating; // ranges from 0.0 to 5.0 field in SafeSaxTest.YouTubeVideo
|
/frameworks/base/media/java/android/media/session/ |
D | ISessionCallback.aidl | 62 in Rating rating); in onRate() argument
|
D | MediaSession.java | 704 void dispatchRate(RemoteUserInfo caller, Rating rating) { in dispatchRate() argument 705 postToCallback(caller, CallbackMessageHandler.MSG_RATE, rating, null); in dispatchRate() 1116 public void onSetRating(@NonNull Rating rating) { in onSetRating() argument 1353 Rating rating) { in onRate() argument 1356 session.dispatchRate(createRemoteUserInfo(packageName, pid, uid), rating); in onRate() local
|
D | ISessionController.aidl | 79 void rate(String packageName, in ISessionControllerCallback caller, in Rating rating); in rate() argument
|
D | MediaSessionLegacyHelper.java | 506 public void onSetRating(Rating rating) { in onSetRating() argument 508 mRccListener.onSetRating(rating); in onSetRating()
|
D | MediaController.java | 889 public void setRating(Rating rating) { in setRating() argument 891 mSessionBinder.rate(mContext.getPackageName(), mCbStub, rating); in setRating() local
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionRecord.java | 1189 Rating rating) { in rate() argument 1191 mCb.onRate(packageName, pid, uid, caller, rating); in rate() 1444 public void rate(String packageName, ISessionControllerCallback caller, Rating rating) { in rate() argument 1446 rating); in rate()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 988 field public static final int rating = 16843077; // 0x1010145
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 1106 field public static final int rating = 16843077; // 0x1010145
|
/frameworks/base/api/ |
D | current.txt | 1106 field public static final int rating = 16843077; // 0x1010145
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 90721 Lcom/android/internal/R$attr;->rating:I
|