OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:TvContentRating
(Results
1 - 13
of
13
) sorted by null
/frameworks/base/media/java/android/media/tv/
TvContentRating.java
35
* To create a {@code
TvContentRating
} object, use the
36
* {@link #createRating
TvContentRating
.createRating} method with valid rating system string
130
* {@code
TvContentRating
} objects.
137
*
TvContentRating
rating =
TvContentRating
.createRating(
774
public final class
TvContentRating
{
794
public static final
TvContentRating
UNRATED = new
TvContentRating
("null", "null", "null", null);
797
* Creates a {@code
TvContentRating
} object with predefined content rating strings.
803
* @return A {@code
TvContentRating
} object
[
all
...]
TvInputManager.java
300
* @see
TvContentRating
459
public void onContentBlocked(Session session,
TvContentRating
rating) {
642
void postContentBlocked(final
TvContentRating
rating) {
[
all
...]
/frameworks/support/tv-provider/src/android/support/media/tv/
TvContractUtils.java
20
import android.media.tv.
TvContentRating
;
35
static final
TvContentRating
[] EMPTY = new
TvContentRating
[0];
42
* Parses a string of comma-separated ratings into an array of {@link
TvContentRating
}.
48
public static
TvContentRating
[] stringToContentRatings(String commaSeparatedRatings) {
53
List<
TvContentRating
> contentRatings = new ArrayList<>(ratings.length);
56
contentRatings.add(
TvContentRating
.unflattenFromString(rating));
62
: contentRatings.toArray(new
TvContentRating
[contentRatings.size()]);
66
* Flattens an array of {@link
TvContentRating
} into a String to be inserted into a database.
71
public static String contentRatingsToString(
TvContentRating
[] contentRatings)
[
all
...]
/packages/apps/TV/common/src/com/android/tv/common/
TvContentRatingCache.java
19
import android.media.tv.
TvContentRating
;
35
*
TvContentRating
cache.
47
private final Map<String,
TvContentRating
[]> mRatingsMultiMap = new ArrayMap<>();
51
* creating each from {@link
TvContentRating
#unflattenFromString(String)} if needed.
55
public synchronized
TvContentRating
[] getRatings(String commaSeparatedRatings) {
59
TvContentRating
[] tvContentRatings;
83
static
TvContentRating
[] stringToContentRatings(String commaSeparatedRatings) {
88
List<
TvContentRating
> contentRatings = new ArrayList<>();
91
contentRatings.add(
TvContentRating
.unflattenFromString(rating));
97
null : contentRatings.toArray(new
TvContentRating
[contentRatings.size()])
[
all
...]
/frameworks/base/services/core/java/com/android/server/tv/
PersistentDataStore.java
21
import android.media.tv.
TvContentRating
;
74
private final List<
TvContentRating
> mBlockedRatings =
75
Collections.synchronizedList(new ArrayList<
TvContentRating
>());
111
public boolean isRatingBlocked(
TvContentRating
rating) {
114
for (
TvContentRating
blockedRating : mBlockedRatings) {
123
public
TvContentRating
[] getBlockedRatings() {
125
return mBlockedRatings.toArray(new
TvContentRating
[mBlockedRatings.size()]);
128
public void addBlockedRating(
TvContentRating
rating) {
137
public void removeBlockedRating(
TvContentRating
rating) {
269
mBlockedRatings.add(
TvContentRating
.unflattenFromString(ratingString))
[
all
...]
TvInputManagerService.java
52
import android.media.tv.
TvContentRating
;
[
all
...]
/prebuilts/sdk/21/
android.jar
/prebuilts/sdk/22/
android.jar
/prebuilts/sdk/24/
android.jar
/prebuilts/sdk/27/
android.jar
/prebuilts/sdk/current/
android.jar
/prebuilts/sdk/system_23/
android.jar
/prebuilts/sdk/system_current/
android.jar
Completed in 114 milliseconds