Home
last modified time | relevance | path

Searched refs:ChannelImpl (Results 1 – 20 of 20) sorted by relevance

/packages/apps/TV/tests/unit/src/com/android/tv/data/
DChannelImplTest.java243 ChannelImpl testChannel = in assertAppLinkType()
244 new ChannelImpl.Builder() in assertAppLinkType()
273 new ChannelImpl.Builder().setInputId(PARTNER_INPUT_ID).build()); in testComparator()
274 comparatorTester.addEqualityGroup(new ChannelImpl.Builder().setInputId("1").build()); in testComparator()
276 new ChannelImpl.Builder().setInputId("1").setDisplayNumber("2").build()); in testComparator()
278 new ChannelImpl.Builder().setInputId("2").setDisplayNumber("1.0").build()); in testComparator()
282 new ChannelImpl.Builder() in testComparator()
287 new ChannelImpl.Builder() in testComparator()
292 new ChannelImpl.Builder() in testComparator()
298 new ChannelImpl.Builder().setInputId("2").setDisplayNumber("2.0").build()); in testComparator()
[all …]
/packages/apps/TV/src/com/android/tv/data/
DChannelImpl.java44 public final class ChannelImpl implements Channel { class
82 public static ChannelImpl fromCursor(Cursor cursor) { in fromCursor()
84 ChannelImpl channel = new ChannelImpl(); in fromCursor()
154 private ChannelImpl() { in ChannelImpl() method in ChannelImpl
274 if (!(o instanceof ChannelImpl)) { in equals()
277 ChannelImpl other = (ChannelImpl) o; in equals()
384 if (channel instanceof ChannelImpl) { in copyFrom()
385 copyFrom((ChannelImpl) channel); in copyFrom()
413 public void copyFrom(ChannelImpl channel) { in copyFrom()
414 ChannelImpl other = (ChannelImpl) channel; in copyFrom()
[all …]
DChannelDataManager.java91 private final ChannelImpl.DefaultComparator mChannelComparator;
161 mChannelComparator = new ChannelImpl.DefaultComparator(context, inputManager); in ChannelDataManager()
/packages/apps/TV/tests/robotests/src/com/android/tv/data/
DWatchedHistoryManagerTest.java76 ChannelImpl channel = new ChannelImpl.Builder().setId(fakeId).build(); in testLogChannelViewStop()
97 ChannelImpl channel = new ChannelImpl.Builder().setId(startChannelId + i).build(); in testCircularHistoryQueue()
DPreviewDataManagerTest.java153 new ChannelImpl.Builder() in createPreviewProgram_fromProgram()
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
DRecommendationUtils.java20 import com.android.tv.data.ChannelImpl;
109 ChannelImpl channel = new ChannelImpl.Builder().setId(channelId).build(); in addChannel()
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DFakeEpgReader.java23 import com.android.tv.data.ChannelImpl;
100 ChannelImpl updatedChannel = new ChannelImpl.Builder(match).build(); in getChannels()
DEpgTestData.java19 import com.android.tv.data.ChannelImpl;
183 return new ChannelImpl.Builder()
/packages/apps/TV/src/com/android/tv/audiotvservice/
DAudioOnlyTvService.java26 import com.android.tv.data.ChannelImpl;
68 Channel channel = ChannelImpl.createPassthroughChannel(tvInputId); in tune()
/packages/apps/TV/src/com/android/tv/
DSelectInputActivity.java26 import com.android.tv.data.ChannelImpl;
71 ChannelImpl.createPassthroughChannel(channelUri)); in onCreate()
DMainActivity.java95 import com.android.tv.data.ChannelImpl;
684 tuneToChannel(ChannelImpl.createPassthroughChannel(input.getId())); in onCreate()
1066 ChannelImpl channel = ChannelImpl.createPassthroughChannel(channelUri); in startTv()
/packages/apps/TV/src/com/android/tv/menu/
DChannelsPosterPrefetcher.java30 import com.android.tv.data.ChannelImpl;
100 if (!ChannelImpl.isValid(channel)) { in doPrefetchImages()
DChannelsRowAdapter.java30 import com.android.tv.data.ChannelImpl;
178 new ChannelImpl.Builder(getMainActivity().getCurrentChannel()).build()); in createItems()
209 new ChannelImpl.Builder(getMainActivity().getCurrentChannel()).build()); in updateItems()
/packages/apps/TV/src/com/android/tv/util/
DAsyncDbTask.java35 import com.android.tv.data.ChannelImpl;
319 ChannelImpl.PROJECTION, in AsyncChannelQueryTask()
327 return ChannelImpl.fromCursor(c); in fromCursor()
/packages/apps/TV/tests/robotests/src/com/android/tv/guide/
DProgramTableAdapterTest.java24 import com.android.tv.data.ChannelImpl;
113 channels.add(new ChannelImpl.Builder().setId(id).build()); in buildChannelForTesting()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DCustomizeChannelListFragment.java32 import com.android.tv.data.ChannelImpl;
56 private ChannelImpl.DefaultComparator mChannelComparator;
66 mChannelComparator = new ChannelImpl.DefaultComparator(getActivity(), mInputManager); in onCreate()
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/
DScheduledRecordingTest.java28 import com.android.tv.data.ChannelImpl;
72 Channel c = new ChannelImpl.Builder().build(); in testBuildProgram()
/packages/apps/TV/src/com/android/tv/data/epg/
DEpgFetcherImpl.java54 import com.android.tv.data.ChannelImpl;
189 ChannelImpl.PROJECTION, in getExistingChannelsForMyPackage()
195 Channel channel = ChannelImpl.fromCursor(c); in getExistingChannelsForMyPackage()
603 ChannelImpl.PROJECTION, in getExistingChannelsFor()
609 result.add(ChannelImpl.fromCursor(cursor)); in getExistingChannelsFor()
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/recorder/
DRecordingTaskTest.java38 import com.android.tv.data.ChannelImpl;
111 return new ChannelImpl.Builder() in createTestChannel()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrSeriesSettingsFragment.java34 import com.android.tv.data.ChannelImpl;
135 mChannels.sort(ChannelImpl.CHANNEL_NUMBER_COMPARATOR); in onAttach()