Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/audio/
DCarAudioDeviceInfo.java110 int getChannelCount() { in getChannelCount() method in CarAudioDeviceInfo
225 + " channelCount: " + getChannelCount() in toString()
236 getSampleRate(), getEncodingFormat(), getChannelCount()); in dump()
DCarAudioDynamicRouting.java74 .setChannelMask(info.getChannelCount()) in setupAudioDynamicRoutingForGroup()
88 address, carAudioContext, info.getSampleRate(), info.getChannelCount(), in setupAudioDynamicRoutingForGroup()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
DZenModeAddBypassingAppsPreferenceControllerTest.java95 when(mBackend.getChannelCount( in testUpdateAppList()
104 when(mBackend.getChannelCount( in testUpdateAppList()
118 when(mBackend.getChannelCount( in testUpdateAppList()
/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/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/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioDeviceInfoTest.java188 int channelCount = info.getChannelCount(); in getChannelCount_withNoChannelMasks_returnsOne()
200 int channelCount = info.getChannelCount(); in getChannelCount_withMultipleChannels_returnsHighestCount()
/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/onboarding/
DOnboardingActivity.java232 if (manager.getChannelCount() == 0) { in executeAction()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DSettingsFragment.java76 setEnabled(getChannelDataManager().getChannelCount() != 0); in getItemList()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenModeAddBypassingAppsPreferenceController.java139 final int appChannels = mNotificationBackend.getChannelCount(pkg, entry.info.uid); in updateAppList()
DZenModeAllBypassingAppsPreferenceController.java124 final int appChannels = mNotificationBackend.getChannelCount(pkg, app.info.uid); in updateAppList()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationBackend.java95 row.channelCount = getChannelCount(row.pkg, row.uid); in loadAppRow()
398 public int getChannelCount(String pkg, int uid) { in getChannelCount() method in NotificationBackend
/packages/apps/TV/src/com/android/tv/
DMainActivity.java539 && mChannelDataManager.getChannelCount() <= 0; in onCreate()
1711 if (mChannelDataManager.getChannelCount() > 0) { in tune()
1720 && 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()