Home
last modified time | relevance | path

Searched refs:channelCount (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/TV/tests/input/src/com/android/tv/testinput/
DTestTvInputSetupActivity.java49 private void registerChannels(int channelCount) { in registerChannels() argument
51 registerChannels(context, mInputId, channelCount); in registerChannels()
54 public static void registerChannels(Context context, String inputId, int channelCount) { in registerChannels() argument
55 Log.i(TAG, "Registering " + channelCount + " channels"); in registerChannels()
56 List<ChannelInfo> channels = ChannelUtils.createChannelInfos(context, channelCount); in registerChannels()
/packages/apps/TV/tests/input/src/com/android/tv/testinput/instrument/
DTestSetupInstrumentation.java94 int channelCount; in setup() local
97 channelCount = in setup()
101 channelCount = in setup()
105 channelCount = in setup()
112 TestTvInputSetupActivity.registerChannels(getContext(), mInputId, channelCount); in setup() local
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/
DAudioTrackWrapper.java117 int channelCount = format.getInteger(MediaFormat.KEY_CHANNEL_COUNT); in reconfigure() local
126 if (MediaFormat.MIMETYPE_AUDIO_AC3.equalsIgnoreCase(mimeType) && channelCount != 2) { in reconfigure()
131 channelCount = 2; in reconfigure()
135 channelCount in reconfigure()
140 mAudioTrack.configure(mimeType, channelCount, sampleRate, pcmEncoding, audioBufferSize); in reconfigure()
/packages/apps/TV/src/com/android/tv/util/
DTvSettings.java104 public static void setMultiAudioChannelCount(Context context, int channelCount) { in setMultiAudioChannelCount() argument
107 .putInt(PREF_MULTI_AUDIO_CHANNEL_COUNT, channelCount) in setMultiAudioChannelCount()
146 int channelCount; in getDvrPlaybackTrackSettings() local
154 channelCount = pref.getInt(PREF_DVR_MULTI_AUDIO_CHANNEL_COUNT, 0); in getDvrPlaybackTrackSettings()
157 .setAudioChannelCount(channelCount) in getDvrPlaybackTrackSettings()
DTvTrackInfoUtils.java60 final String id, final List<String> languages, final int channelCount) { in createComparator() argument
90 || lhs.getAudioChannelCount() == channelCount; in createComparator()
93 || rhs.getAudioChannelCount() == channelCount; in createComparator()
114 List<TvTrackInfo> tracks, String id, String language, int channelCount) {
131 Comparator<TvTrackInfo> comparator = createComparator(id, languages, channelCount);
DUtils.java572 public static String getAudioChannelString(Context context, int channelCount) { in getAudioChannelString() argument
573 switch (channelCount) { in getAudioChannelString()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/slices/
DNotificationChannelSlice.java311 final int channelCount = mNotificationBackend.getChannelCount(packageInfo.packageName, in getMultiChannelPackages() local
313 if (channelCount > 1) { in getMultiChannelPackages()
417 final int channelCount = mNotificationBackend.getChannelCount(packageName, uid); in getSubTitle() local
419 if (channelCount > DEFAULT_EXPANDED_ROW_COUNT) { in getSubTitle()
421 R.string.notification_many_channel_count_summary, channelCount); in getSubTitle()
425 R.plurals.notification_few_channel_count_summary, channelCount, channelCount); in getSubTitle()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppNotificationPreferenceControllerTest.java135 appRow.channelCount = 30; in getNotificationSummary_appNotBlockedAllChannelsBlocked()
146 appRow.channelCount = 60; in getNotificationSummary_appNotBlocked()
163 appRow.channelCount = 10; in getNotificationSummary_channelsNotBlocked()
177 appRow.channelCount = 0; in getNotificationSummary_noChannels()
/packages/apps/TV/src/com/android/tv/onboarding/
DSetupSourcesFragment.java316 int channelCount = mChannelDataManager.getChannelCountForInput(inputId); in createActionsInternal() local
317 if (mSetupUtils.isSetupDone(inputId) || channelCount > 0) { in createActionsInternal()
318 if (channelCount == 0) { in createActionsInternal()
325 channelCount, in createActionsInternal()
326 channelCount); in createActionsInternal()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DStackEvent.java77 int channelCount) { in audioConfigChanged() argument
81 event.mChannelCount = channelCount; in audioConfigChanged()
DA2dpSinkService.java497 private void onAudioConfigChanged(byte[] address, int sampleRate, int channelCount) { in onAudioConfigChanged() argument
499 channelCount); in onAudioConfigChanged()
/packages/apps/TV/tuner/src/com/android/tv/tuner/prefs/
DTunerPreferences.java65 public static synchronized void setScannedChannelCount(Context context, int channelCount) { in setScannedChannelCount() argument
69 .putInt(TunerPreferences.PREFS_KEY_SCANNED_CHANNEL_COUNT, channelCount) in setScannedChannelCount()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppNotificationPreferenceController.java87 } else if (appRow.channelCount == 0) { in getNotificationSummary()
89 } else if (appRow.channelCount == appRow.blockedChannelCount) { in getNotificationSummary()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/
DAppNotificationPreferenceController.java87 } else if (appRow.channelCount == 0) { in getNotificationSummary()
89 } else if (appRow.channelCount == appRow.blockedChannelCount) { in getNotificationSummary()
/packages/apps/TV/tuner/src/com/google/android/exoplayer/
DMediaFormatUtil.java39 int channelCount = in createMediaFormat() local
69 channelCount, in createMediaFormat()
/packages/apps/TV/tests/common/src/com/android/tv/testing/data/
DChannelUtils.java154 public static List<ChannelInfo> createChannelInfos(Context context, int channelCount) { in createChannelInfos() argument
156 for (int i = 1; i <= channelCount; i++) { in createChannelInfos()
/packages/apps/TV/tests/robotests/src/com/android/tv/util/
DTvTrackInfoUtilsTest.java310 private static TvTrackInfo createAudioTrackInfo(String language, int channelCount) { in createAudioTrackInfo() argument
313 .setAudioChannelCount(channelCount) in createAudioTrackInfo()
/packages/apps/TV/src/com/android/tv/data/
DProgramDataManager.java737 int channelCount = mChannelDataManager.getChannelCount(); in getFetchDuration() local
740 if (channelCount <= targetChannelCount) { in getFetchDuration()
744 durationHours = knobsMaxHours * targetChannelCount / channelCount; in getFetchDuration()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DNotificationBackend.java78 row.channelCount = getChannelCount(row.pkg, row.uid); in loadAppRow()
492 public int channelCount; field in NotificationBackend.AppRow
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationBackend.java90 row.channelCount = getChannelCount(row.pkg, row.uid); in loadAppRow()
608 public int channelCount; field in NotificationBackend.AppRow
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/
DExoPlayerSampleExtractor.java213 format.channelCount, in convertFormat()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/
DExoPlayerSampleExtractor.java213 format.channelCount, in convertFormat()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/
DSampleChunkIoHelper.java260 mediaFormat.setInteger(MediaFormat.KEY_CHANNEL_COUNT, format.channelCount); in getAudioMediaFormat()
/packages/apps/TV/src/com/android/tv/
DMainActivity.java1948 int channelCount = TvSettings.getMultiAudioChannelCount(this);
1949 bestTrack = TvTrackInfoUtils.getBestTrackInfo(tracks, id, language, channelCount);
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
DTunerSessionWorkerExoV2.java1545 builder.setAudioChannelCount(infoFromPlayer.channelCount); in notifyAudioTracksUpdated()

12