/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/ |
D | RecommenderTest.java | 211 List<Channel> channelList = Arrays.asList(mChannel_1, mChannel_2, mChannel_3, mChannel_4); in testGetChannelSortKey_recommendAllChannels() local 212 Collections.sort(channelList, mChannelSortKeyComparator); in testGetChannelSortKey_recommendAllChannels() 215 MoreAsserts.assertContentsInOrder(channelList, expectedChannelList.toArray()); in testGetChannelSortKey_recommendAllChannels() 216 assertSortKeyNotInvalid(channelList); in testGetChannelSortKey_recommendAllChannels() 231 List<Channel> channelList = Arrays.asList(mChannel_2, mChannel_3, mChannel_4); in testGetChannelSortKey_recommendFewChannels() local 232 Collections.sort(channelList, mChannelSortKeyComparator); in testGetChannelSortKey_recommendFewChannels() 234 MoreAsserts.assertContentsInOrder(channelList, expectedChannelList.toArray()); in testGetChannelSortKey_recommendFewChannels() 235 assertSortKeyNotInvalid(channelList); in testGetChannelSortKey_recommendFewChannels() 284 private void assertSortKeyNotInvalid(List<Channel> channelList) { in assertSortKeyNotInvalid() argument 285 for (Channel channel : channelList) { in assertSortKeyNotInvalid()
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | ChannelsRowAdapter.java | 274 List<Channel> channelList = new ArrayList<>(); 280 channelList, mRecommender.getChannel(channelId), currentChannelId)) { 286 if (channelList.size() >= mMaxCount) { 289 addChannelToList(channelList, channel, currentChannelId); 294 if (channelList.size() >= mMinCount) { 297 addChannelToList(channelList, mRecommender.getChannel(channelId), currentChannelId); in addChannelToList() argument 299 return channelList; 303 List<Channel> channelList, Channel channel, long currentChannelId) { in addChannelToList() argument 306 || channelList.contains(channel) in addChannelToList() 310 channelList.add(channel); in addChannelToList()
|
/packages/apps/TV/tests/unit/src/com/android/tv/data/ |
D | ChannelDataManagerTest.java | 187 List<Channel> channelList = mChannelDataManager.getChannelList(); in testGetChannels() local 188 for (Channel channel : channelList) { in testGetChannels() 201 for (Channel channel : channelList) { in testGetChannels() 223 List<Channel> channelList = mChannelDataManager.getChannelList(); in testBrowsable() local 226 boolean found = channelList.remove(browsableChannel); in testBrowsable() 229 assertThat(channelList).isEmpty(); in testBrowsable() 232 channelList = mChannelDataManager.getChannelList(); in testBrowsable() 235 Channel channel1 = channelList.get(0); in testBrowsable() 300 List<Channel> channelList = mChannelDataManager.getChannelList(); in testLocked() local 301 for (Channel channel : channelList) { in testLocked()
|
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
D | PMCMainActivity.java | 151 Integer[] channelList = {2412, 2437, 2462}; in addListenerOnButton() 152 startGscan(WifiScanner.WIFI_BAND_UNSPECIFIED, channelList); in addListenerOnButton() 247 private void startGscan(int band, Integer[] channelList) { in startGscan() argument 253 ChannelSpec[] channels = new ChannelSpec[channelList.length]; in startGscan() 254 for (int i = 0; i < channelList.length; i++) { in startGscan() 255 channels[i] = new ChannelSpec(channelList[i]); in startGscan() 422 Integer[] channelList = {2412, 2437, 2462}; in onReceive() local 423 startGscan(WifiScanner.WIFI_BAND_UNSPECIFIED, channelList); in onReceive()
|
/packages/apps/TV/src/com/android/tv/search/ |
D | DataManagerSearch.java | 98 List<Channel> channelList = mChannelDataManager.getBrowsableChannelList(); in searchFromDataManagers() local 101 for (Channel channel : channelList) { in searchFromDataManagers() 124 for (Channel channel : channelList) { in searchFromDataManagers() 159 for (Channel channel : channelList) { in searchFromDataManagers() 185 for (Channel channel : channelList) { in searchFromDataManagers()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/testdata/ |
D | TestData.java | 41 private List<ChannelInfo> channelList; field in TestData 46 channelList = createChannels(context); in init() 47 ChannelUtils.updateChannels(context, getInputId(), channelList); in init()
|
/packages/apps/TV/src/com/android/tv/analytics/ |
D | SendChannelStatusRunnable.java | 93 List<Channel> channelList = mChannelDataManager.getChannelList(); in run() local 94 for (Channel channel : channelList) { in run() 99 mTracker.sendChannelCount(browsableChannelCount, channelList.size()); in run()
|
/packages/apps/TV/partner_support/src/com/google/android/tv/partner/support/ |
D | Lineup.java | 66 List<String> channelList = EpgContract.toChannelList(channels); in createLineup() local 67 return new AutoValue_Lineup(id, type, name, Collections.unmodifiableList(channelList)); in createLineup()
|
/packages/apps/TV/tests/unit/src/com/android/tv/ |
D | MainActivityTest.java | 41 List<Channel> channelList = mActivity.getChannelDataManager().getChannelList(); in testInitialConditions() local 42 assertWithMessage("Expected at least one channel").that(channelList.size() > 0).isTrue(); in testInitialConditions()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/activities/ |
D | BaseMainActivityTestCase.java | 129 List<Channel> channelList = mActivity.getChannelDataManager().getChannelList(); in findChannelWithName() local 130 for (Channel c : channelList) { in findChannelWithName()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/ |
D | ScanFragment.java | 107 ListView channelList = (ListView) view.findViewById(R.id.channel_list); in onCreateView() local 108 channelList.setAdapter(mAdapter); in onCreateView() 109 channelList.setOnItemClickListener(null); in onCreateView()
|
/packages/services/Car/car-lib/src/android/car/ |
D | CarProjectionManager.java | 532 List<Integer> channelList = new ArrayList<>(channels.length); in getAvailableWifiChannels() local 534 channelList.add(v); in getAvailableWifiChannels() 536 return channelList; in getAvailableWifiChannels()
|
/packages/apps/SecureElement/src/com/android/se/ |
D | Terminal.java | 277 Channel[] channelList = col.toArray(new Channel[col.size()]); in closeChannels() local 278 for (Channel channel : channelList) { in closeChannels()
|