Home
last modified time | relevance | path

Searched refs:ChannelInfo (Results 1 – 6 of 6) sorted by relevance

/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/rich/
DRichFeedUtil.java26 import com.example.android.sampletvinput.rich.RichTvInputService.ChannelInfo;
43 private static List<ChannelInfo> sSampleChannels;
55 public static List<ChannelInfo> getRichChannels(Context context) { in getRichChannels()
DChannelXMLParser.java19 import com.example.android.sampletvinput.rich.RichTvInputService.ChannelInfo;
103 public static List<ChannelInfo> parseChannelXML(XmlPullParser parser) in parseChannelXML()
105 List<ChannelInfo> list = new ArrayList<ChannelInfo>(); in parseChannelXML()
118 private static ChannelInfo parseChannel(XmlPullParser parser) in parseChannel()
158 return new ChannelInfo(displayNumber, displayName, logoUrl, fakeOriginalNetworkId, 0, 0, in parseChannel()
DRichSetupFragment.java47 import com.example.android.sampletvinput.rich.RichTvInputService.ChannelInfo;
76 private List<ChannelInfo> mChannels = null;
DRichTvInputService.java425 public static final class ChannelInfo { class in RichTvInputService
436 public ChannelInfo(String number, String name, String logoUrl, int originalNetworkId, in ChannelInfo() method in RichTvInputService.ChannelInfo
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/
DTvContractUtils.java37 import com.example.android.sampletvinput.rich.RichTvInputService.ChannelInfo;
70 Context context, String inputId, List<ChannelInfo> channels) { in updateChannels()
94 for (ChannelInfo channel : channels) { in updateChannels()
153 public static LongSparseArray<ChannelInfo> buildChannelMap(ContentResolver resolver, in buildChannelMap()
154 String inputId, List<ChannelInfo> channels) { in buildChannelMap()
161 LongSparseArray<ChannelInfo> channelMap = new LongSparseArray<>(); in buildChannelMap()
328 private static ChannelInfo getChannelByNumber(String channelNumber, in getChannelByNumber()
329 List<ChannelInfo> channels) { in getChannelByNumber()
330 for (ChannelInfo info : channels) { in getChannelByNumber()
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/syncadapter/
DSyncAdapter.java37 import com.example.android.sampletvinput.rich.RichTvInputService.ChannelInfo;
78 List<ChannelInfo> channels = RichFeedUtil.getRichChannels(mContext); in onPerformSync()
79 LongSparseArray<ChannelInfo> channelMap = TvContractUtils.buildChannelMap( in onPerformSync()
93 private void insertPrograms(Uri channelUri, ChannelInfo channelInfo) { in insertPrograms()