Home
last modified time | relevance | path

Searched refs:TvContentRatingCache (Results 1 – 9 of 9) sorted by relevance

/packages/apps/TV/common/tests/robotests/src/com/android/tv/common/
DTvContentRatingCacheTest.java53 final TvContentRatingCache mCache = TvContentRatingCache.getInstance();
100 String result = TvContentRatingCache.contentRatingsToString(null); in testContentRatingsToString_null()
106 String result = TvContentRatingCache.contentRatingsToString(ImmutableList.of()); in testContentRatingsToString_none()
113 TvContentRatingCache.contentRatingsToString( in testContentRatingsToString_one()
123 TvContentRatingCache.contentRatingsToString( in testContentRatingsToString_twoInOrder()
133 TvContentRatingCache.contentRatingsToString( in testContentRatingsToString_twoNotInOrder()
143 TvContentRatingCache.contentRatingsToString( in testContentRatingsToString_double()
154 assertThat(TvContentRatingCache.stringToContentRatings(null)).isEmpty(); in testStringToContentRatings_null()
159 assertThat(TvContentRatingCache.stringToContentRatings("")).isEmpty(); in testStringToContentRatings_none()
164 assertThat(TvContentRatingCache.stringToContentRatings("bad")).isEmpty(); in testStringToContentRatings_bad()
[all …]
/packages/apps/TV/common/src/com/android/tv/common/
DTvContentRatingCache.java34 public final class TvContentRatingCache implements MemoryManageable { class
37 private static final TvContentRatingCache INSTANCE = new TvContentRatingCache();
39 public static TvContentRatingCache getInstance() { in getInstance()
137 private TvContentRatingCache() {} in TvContentRatingCache() method in TvContentRatingCache
/packages/apps/TV/tests/common/src/com/android/tv/testing/data/
DProgramUtils.java28 import com.android.tv.common.TvContentRatingCache;
77 TvContentRatingCache.contentRatingsToString(program.contentRatings)); in populatePrograms()
/packages/apps/TV/src/com/android/tv/dvr/data/
DRecordedProgram.java35 import com.android.tv.common.TvContentRatingCache;
111 TvContentRatingCache.getInstance() in fromCursor()
175 TvContentRatingCache.contentRatingsToString(recordedProgram.getContentRatings())); in toValues()
/packages/apps/TV/src/com/android/tv/data/
DProgramImpl.java36 import com.android.tv.common.TvContentRatingCache;
142 TvContentRatingCache.getInstance().getRatings(cursor.getString(index++))); in fromCursor()
507 .append(TvContentRatingCache.contentRatingsToString(mContentRatings)) in toString()
573 TvContentRatingCache.contentRatingsToString(program.getContentRatings())); in toContentValues()
/packages/apps/TV/src/com/android/tv/search/
DTvProviderSearch.java35 import com.android.tv.common.TvContentRatingCache;
64 private final TvContentRatingCache mTvContentRatingCache = TvContentRatingCache.getInstance();
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
DTunerSessionWorkerExoV2.java50 import com.android.tv.common.TvContentRatingCache;
227 private final TvContentRatingCache mTvContentRatingCache = TvContentRatingCache.getInstance();
DTunerSessionWorker.java50 import com.android.tv.common.TvContentRatingCache;
228 private final TvContentRatingCache mTvContentRatingCache = TvContentRatingCache.getInstance();
/packages/apps/TV/src/com/android/tv/
DMainActivity.java80 import com.android.tv.common.TvContentRatingCache;
600 mMemoryManageables.add(TvContentRatingCache.getInstance()); in onCreate()