Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/audio/
DCarAudioDeviceInfo.java124 int getChannelCount() { in getChannelCount() method in CarAudioDeviceInfo
244 + " channelCount: " + getChannelCount() in toString()
254 indent, getSampleRate(), getEncodingFormat(), getChannelCount()); in dump()
DCarAudioDynamicRouting.java122 .setChannelMask(info.getChannelCount()) in setupAudioDynamicRoutingForGroup()
136 + " channels: " + info.getChannelCount() in setupAudioDynamicRoutingForGroup()
/packages/providers/TvProvider/tests/src/com/android/providers/tv/
DPackageRemovedReceiverTest.java132 assertEquals(2, Utils.getChannelCount(mResolver)); in testPackageRemoved()
151 1, Utils.getChannelCount(mResolver)); in testPackageRemoved()
168 0, Utils.getChannelCount(mResolver)); in testPackageRemoved()
DTransientRowHelperTests.java165 private long getChannelCount() { in getChannelCount() method in TransientRowHelperTests
201 2, getChannelCount()); in testTransientRowsAreDeletedAfterReboot()
207 1, getChannelCount()); in testTransientRowsAreDeletedAfterReboot()
DBootCompletedReceiverTest.java152 assertEquals(2, Utils.getChannelCount(mResolver)); in testPackageRemoved()
172 1, Utils.getChannelCount(mResolver)); in testPackageRemoved()
DUtils.java368 public static long getChannelCount(ContentResolver resolver) { in getChannelCount() method in Utils
/packages/apps/TV/tests/unit/src/com/android/tv/data/
DChannelDataManagerTest.java173 assertThat(mChannelDataManager.getChannelCount()) in testGetChannels()
205 assertThat(mChannelDataManager.getChannelCount()).isEqualTo(0); in testGetChannels_noChannels()
330 assertThat(mChannelDataManager.getChannelCount()) in testChannelListChanged()
352 assertThat(mChannelDataManager.getChannelCount()) in testChannelListChanged()
370 assertThat(mChannelDataManager.getChannelCount()) in testChannelListChanged()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
DNotificationMultiChannelAppRowTest.java63 doReturn(3).when(mNotificationBackend).getChannelCount(any(String.class), in call_isMultiChannel_shouldLoadAppRow()
74 doReturn(1).when(mNotificationBackend).getChannelCount(any(String.class), in call_isNotMultiChannel_shouldNotLoadAppRow()
DNotificationChannelSliceTest.java350 doReturn(channelCount).when(mNotificationBackend).getChannelCount( in mockNotificationBackend()
/packages/apps/TV/tests/robotests/src/com/android/tv/guide/
DProgramTableAdapterTest.java92 assertThat(mProgramManager.getChannelCount()).isEqualTo(3); in testOnTableEntryChanged()
96 assertThat(mProgramManager.getChannelCount()).isEqualTo(1); in testOnTableEntryChanged()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
DNotificationMultiChannelAppRow.java46 final int channelCount = mNotificationBackend.getChannelCount( in call()
DNotificationChannelSlice.java418 final int channelCount = mNotificationBackend.getChannelCount(packageName, uid); in getSubTitle()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DNotificationBackend.java77 row.channelCount = getChannelCount(row.pkg, row.uid); in loadAppRow()
288 public int getChannelCount(String pkg, int uid) { in getChannelCount() method in NotificationBackend
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationBackend.java79 row.channelCount = getChannelCount(row.pkg, row.uid); in loadAppRow()
296 public int getChannelCount(String pkg, int uid) { in getChannelCount() method in NotificationBackend
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/slices/
DNotificationChannelSlice.java311 final int channelCount = mNotificationBackend.getChannelCount(packageInfo.packageName, in getMultiChannelPackages()
417 final int channelCount = mNotificationBackend.getChannelCount(packageName, uid); in getSubTitle()
/packages/apps/TV/src/com/android/tv/guide/
DProgramManager.java379 int getChannelCount() { in getChannelCount() method in ProgramManager
388 if (channelIndex < 0 || channelIndex >= getChannelCount()) { in getChannel()
DProgramTableAdapter.java197 if (DEBUG) Log.d(TAG, "update " + mProgramManager.getChannelCount() + " channels"); in update()
202 for (int i = 0; i < mProgramManager.getChannelCount(); i++) { in update()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DSettingsFragment.java76 setEnabled(getChannelDataManager().getChannelCount() != 0); in getItemList()
/packages/apps/TV/src/com/android/tv/onboarding/
DOnboardingActivity.java232 if (manager.getChannelCount() == 0) { in executeAction()
/packages/apps/TV/src/com/android/tv/
DMainActivity.java534 && mChannelDataManager.getChannelCount() <= 0; in onCreate()
1706 if (mChannelDataManager.getChannelCount() > 0) { in tune()
1715 && mChannelDataManager.getChannelCount() > 0 in tune()
/packages/apps/TV/src/com/android/tv/data/
DChannelDataManager.java273 public int getChannelCount() { in getChannelCount() method in ChannelDataManager
DProgramDataManager.java737 int channelCount = mChannelDataManager.getChannelCount(); in getFetchDuration()
/packages/apps/TV/src/com/android/tv/ui/
DTvOverlayManager.java575 if (mChannelDataManager.getChannelCount() == 0) { in closeSetupFragment()