Searched refs:TvContentRatingCache (Results 1 – 9 of 9) sorted by relevance
53 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 …]
34 public final class TvContentRatingCache implements MemoryManageable { class37 private static final TvContentRatingCache INSTANCE = new TvContentRatingCache();39 public static TvContentRatingCache getInstance() { in getInstance()137 private TvContentRatingCache() {} in TvContentRatingCache() method in TvContentRatingCache
28 import com.android.tv.common.TvContentRatingCache;77 TvContentRatingCache.contentRatingsToString(program.contentRatings)); in populatePrograms()
35 import com.android.tv.common.TvContentRatingCache;111 TvContentRatingCache.getInstance() in fromCursor()175 TvContentRatingCache.contentRatingsToString(recordedProgram.getContentRatings())); in toValues()
36 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()
35 import com.android.tv.common.TvContentRatingCache;64 private final TvContentRatingCache mTvContentRatingCache = TvContentRatingCache.getInstance();
50 import com.android.tv.common.TvContentRatingCache;227 private final TvContentRatingCache mTvContentRatingCache = TvContentRatingCache.getInstance();
50 import com.android.tv.common.TvContentRatingCache;228 private final TvContentRatingCache mTvContentRatingCache = TvContentRatingCache.getInstance();
80 import com.android.tv.common.TvContentRatingCache;600 mMemoryManageables.add(TvContentRatingCache.getInstance()); in onCreate()