Home
last modified time | relevance | path

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

12

/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/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/
DZenModeAddBypassingAppsPreferenceControllerTest.java95 when(mBackend.getChannelCount( in testUpdateAppList()
104 when(mBackend.getChannelCount( in testUpdateAppList()
118 when(mBackend.getChannelCount( in testUpdateAppList()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothLeAudioCodecStatus.java140 if ((codecConfig.getChannelCount() != BluetoothLeAudioCodecConfig.CHANNEL_COUNT_NONE) in isCodecConfigSelectable()
141 && ((codecConfig.getChannelCount() & selectableConfig.getChannelCount()) == 0)) { in isCodecConfigSelectable()
DBluetoothLeAudioCodecConfig.java430 public @ChannelCount int getChannelCount() { in getChannelCount() method in BluetoothLeAudioCodecConfig
462 && other.getChannelCount() == mChannelCount in equals()
513 mChannelCount = config.getChannelCount(); in Builder()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioDeviceInfo.java259 int getChannelCount() { in getChannelCount() method in CarAudioDeviceInfo
454 + " channelCount: " + getChannelCount() in toString()
470 getSampleRate(), getEncodingFormat(), getChannelCount()); in dump()
486 proto.write(CarAudioDeviceInfoProto.CHANNEL_COUNT, getChannelCount()); in dumpProto()
DCarAudioDynamicRouting.java148 info.getSampleRate(), info.getChannelCount(), in setupAudioDynamicRoutingForGroup()
187 .setChannelMask(mirrorDevice.getChannelCount()) in createMixFormatFromDevice()
/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/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/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/src/com/android/settings/spa/notification/
DAppNotificationRepository.kt140 val channelCount = getChannelCount(app) in getNotificationSummary()
178 private fun getChannelCount(app: ApplicationInfo): Int = try { in getChannelCount() method
/packages/apps/TV/src/com/android/tv/onboarding/
DOnboardingActivity.java232 if (manager.getChannelCount() == 0) { in executeAction()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioDeviceInfoTest.java310 int channelCount = info.getChannelCount(); in getChannelCount_withNoChannelMasks_returnsOne()
324 int channelCount = info.getChannelCount(); in getChannelCount_withMultipleChannels_returnsHighestCount()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DSettingsFragment.java77 setEnabled(getChannelDataManager().getChannelCount() != 0); in getItemList()
/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/Settings/src/com/android/settings/notification/zen/
DZenModeAddBypassingAppsPreferenceController.java162 final int appChannels = mNotificationBackend.getChannelCount(pkg, app.info.uid); in updateAppList()
DZenModeAllBypassingAppsPreferenceController.java144 final int appChannels = mNotificationBackend.getChannelCount(pkg, app.info.uid); in updateAppList()
/packages/apps/Settings/src/com/android/settings/notification/modes/
DZenModeAllBypassingAppsPreferenceController.java146 final int appChannels = mNotificationBackend.getChannelCount(pkg, app.info.uid); in updateAppList()
DZenModeAddBypassingAppsPreferenceController.java164 final int appChannels = mNotificationBackend.getChannelCount(pkg, app.info.uid); in updateAppList()
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_le_audio.cpp67 jmethodID getChannelCount; member
617 android_bluetooth_BluetoothLeAudioCodecConfig.getChannelCount); in setCodecConfigPreferenceNative()
659 android_bluetooth_BluetoothLeAudioCodecConfig.getChannelCount); in setCodecConfigPreferenceNative()
1663 &android_bluetooth_BluetoothLeAudioCodecConfig.getChannelCount}, in register_com_android_bluetooth_le_audio()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationBackend.java95 row.channelCount = getChannelCount(row.pkg, row.uid); in loadAppRow()
416 public int getChannelCount(String pkg, int uid) { in getChannelCount() method in NotificationBackend
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioDynamicRoutingTest.java331 when(carAudioDeviceInfo.getChannelCount()).thenReturn(2); in getCarAudioDeviceInfo()

12