Home
last modified time | relevance | path

Searched refs:ContentAdvisoryDescriptor (Results 1 – 3 of 3) sorted by relevance

/packages/apps/TV/tuner/tests/robotests/javatests/com/android/tv/tuner/data/
DSectionParserTest.java23 import com.android.tv.tuner.data.PsipData.ContentAdvisoryDescriptor;
125 ContentAdvisoryDescriptor descriptor = createDescriptorForTest(ratingRegion); in testGenerateContentRating_validInputs()
138 ContentAdvisoryDescriptor descriptor = createDescriptorForTest(ratingRegion); in testGenerateContentRating_invalidInput()
153 ContentAdvisoryDescriptor descriptorTv = createDescriptorForTest(ratingRegionTv); in testGenerateContentRating_multipleRatings()
154 ContentAdvisoryDescriptor descriptorMv = createDescriptorForTest(ratingRegionMv); in testGenerateContentRating_multipleRatings()
178 private static ContentAdvisoryDescriptor createDescriptorForTest(RatingRegion... regions) { in createDescriptorForTest()
179 return new ContentAdvisoryDescriptor(Arrays.asList(regions)); in createDescriptorForTest()
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
DSectionParser.java33 import com.android.tv.tuner.data.PsipData.ContentAdvisoryDescriptor;
1328 if (!(descriptor instanceof ContentAdvisoryDescriptor)) { in getRatingRegions()
1331 ContentAdvisoryDescriptor contentAdvisoryDescriptor = in getRatingRegions()
1332 (ContentAdvisoryDescriptor) descriptor; in getRatingRegions()
1660 private static ContentAdvisoryDescriptor parseContentAdvisory(byte[] data, int pos, int limit) { in parseContentAdvisory()
1710 return new ContentAdvisoryDescriptor(ratingRegions); in parseContentAdvisory()
DPsipData.java287 public static class ContentAdvisoryDescriptor extends TsDescriptor { class in PsipData
290 public ContentAdvisoryDescriptor(List<RatingRegion> ratingRegions) { in ContentAdvisoryDescriptor() method in PsipData.ContentAdvisoryDescriptor