Home
last modified time | relevance | path

Searched refs:getChannelCount (Results 1 – 11 of 11) sorted by relevance

/packages/providers/TvProvider/tests/src/com/android/providers/tv/
DPackageRemovedReceiverTest.java158 private long getChannelCount() { in getChannelCount() method in PackageRemovedReceiverTest
183 assertEquals(2, getChannelCount()); in testPackageRemoved()
190 assertEquals("Channel should be removed if its package is removed.", 1, getChannelCount()); in testPackageRemoved()
197 assertEquals("Channel should be removed if its package is removed.", 0, getChannelCount()); in testPackageRemoved()
DTransientRowHelperTests.java162 private long getChannelCount() { in getChannelCount() method in TransientRowHelperTests
198 2, getChannelCount()); in testTransientRowsAreDeletedAfterReboot()
204 1, getChannelCount()); in testTransientRowsAreDeletedAfterReboot()
/packages/apps/TV/tests/unit/src/com/android/tv/data/
DChannelDataManagerTest.java149 assertEquals(Constants.UNIT_TEST_CHANNEL_COUNT, mChannelDataManager.getChannelCount()); in testGetChannels()
183 assertEquals(0, mChannelDataManager.getChannelCount()); in testGetChannels_noChannels()
313 assertEquals(Constants.UNIT_TEST_CHANNEL_COUNT + 1, mChannelDataManager.getChannelCount()); in testChannelListChanged()
333 mChannelDataManager.getChannelCount()); in testChannelListChanged()
348 assertEquals(Constants.UNIT_TEST_CHANNEL_COUNT, mChannelDataManager.getChannelCount()); in testChannelListChanged()
/packages/apps/TV/src/com/android/tv/guide/
DProgramManager.java380 int getChannelCount() { in getChannelCount() method in ProgramManager
389 if (channelIndex < 0 || channelIndex >= getChannelCount()) { in getChannel()
DProgramTableAdapter.java190 if (DEBUG) Log.d(TAG, "update " + mProgramManager.getChannelCount() + " channels"); in update()
195 for (int i = 0; i < mProgramManager.getChannelCount(); i++) { in update()
/packages/apps/TV/src/com/android/tv/onboarding/
DOnboardingActivity.java199 if (manager.getChannelCount() == 0) { in executeAction()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DSettingsFragment.java79 setEnabled(getChannelDataManager().getChannelCount() != 0); in getItemList()
/packages/apps/TV/src/com/android/tv/
DMainActivity.java452 && mChannelDataManager.getChannelCount() <= 0; in onCreate()
1520 if (mChannelDataManager.getChannelCount() > 0) { in tune()
1529 && mChannelDataManager.getChannelCount() > 0 in tune()
/packages/apps/TV/src/com/android/tv/data/
DChannelDataManager.java276 public int getChannelCount() { in getChannelCount() method in ChannelDataManager
/packages/apps/TV/src/com/android/tv/ui/
DTvOverlayManager.java566 if (mChannelDataManager.getChannelCount() == 0) { in closeSetupFragment()
/packages/services/Car/car-support-lib/
Dproguard-release.flags3790 public int getChannelCount();