Lines Matching refs:Channels
25 import android.media.tv.TvContract.Channels;
61 VIDEO_HEIGHT_TO_FORMAT_MAP.put(480, TvContract.Channels.VIDEO_FORMAT_480P);
62 VIDEO_HEIGHT_TO_FORMAT_MAP.put(576, TvContract.Channels.VIDEO_FORMAT_576P);
63 VIDEO_HEIGHT_TO_FORMAT_MAP.put(720, TvContract.Channels.VIDEO_FORMAT_720P);
64 VIDEO_HEIGHT_TO_FORMAT_MAP.put(1080, TvContract.Channels.VIDEO_FORMAT_1080P);
65 VIDEO_HEIGHT_TO_FORMAT_MAP.put(2160, TvContract.Channels.VIDEO_FORMAT_2160P);
66 VIDEO_HEIGHT_TO_FORMAT_MAP.put(4320, TvContract.Channels.VIDEO_FORMAT_4320P);
70 Context context, String inputId, List<ChannelInfo> channels) {
71 // Create a map from original network ID to channel row ID for existing channels.
74 String[] projection = {Channels._ID, Channels.COLUMN_ORIGINAL_NETWORK_ID};
92 values.put(Channels.COLUMN_INPUT_ID, inputId);
94 for (ChannelInfo channel : channels) {
95 values.put(Channels.COLUMN_DISPLAY_NUMBER, channel.number);
96 values.put(Channels.COLUMN_DISPLAY_NAME, channel.name);
97 values.put(Channels.COLUMN_ORIGINAL_NETWORK_ID, channel.originalNetworkId);
98 values.put(Channels.COLUMN_TRANSPORT_STREAM_ID, channel.transportStreamId);
99 values.put(Channels.COLUMN_SERVICE_ID, channel.serviceId);
102 values.put(Channels.COLUMN_VIDEO_FORMAT, videoFormat);
104 values.putNull(Channels.COLUMN_VIDEO_FORMAT);
109 uri = resolver.insert(TvContract.Channels.CONTENT_URI, values);
123 // Deletes channels which don't exist in the new feed.
133 String[] projection = { TvContract.Channels._ID };
154 String inputId, List<ChannelInfo> channels) {
157 TvContract.Channels._ID,
158 TvContract.Channels.COLUMN_DISPLAY_NUMBER
172 channelMap.put(channelId, getChannelByNumber(channelNumber, channels));
329 List<ChannelInfo> channels) {
330 for (ChannelInfo info : channels) {