Home
last modified time | relevance | path

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

/packages/apps/TV/src/com/android/tv/util/
DTvTrackInfoUtils.java39 final int channelCount) { in createComparator() argument
61 || lhs.getAudioChannelCount() == channelCount; in createComparator()
63 || rhs.getAudioChannelCount() == channelCount; in createComparator()
86 int channelCount) {
90 Comparator<TvTrackInfo> comparator = createComparator(id, language, channelCount);
DTvSettings.java96 public static void setMultiAudioChannelCount(Context context, int channelCount) { in setMultiAudioChannelCount() argument
98 PREF_MULTI_AUDIO_CHANNEL_COUNT, channelCount).apply(); in setMultiAudioChannelCount()
129 int channelCount; in getDvrPlaybackTrackSettings() local
137 channelCount = pref.getInt(PREF_DVR_MULTI_AUDIO_CHANNEL_COUNT, 0); in getDvrPlaybackTrackSettings()
139 .setLanguage(language).setAudioChannelCount(channelCount).build(); in getDvrPlaybackTrackSettings()
DUtils.java547 public static String getAudioChannelString(Context context, int channelCount) { in getAudioChannelString() argument
548 switch (channelCount) { in getAudioChannelString()
/packages/apps/TV/tests/input/src/com/android/tv/testinput/instrument/
DTestSetupInstrumentation.java89 int channelCount; in setup() local
92 channelCount = getArgumentAsInt(CHANNEL_COUNT_ARG, in setup()
96 channelCount = getArgumentAsInt(CHANNEL_COUNT_ARG, in setup()
100 channelCount = getArgumentAsInt(CHANNEL_COUNT_ARG, in setup()
107 TestTvInputSetupActivity.registerChannels(getContext(), mInputId, channelCount); in setup() local
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/audio/
DAudioTrackWrapper.java119 int channelCount = format.getInteger(MediaFormat.KEY_CHANNEL_COUNT); in reconfigure() local
128 if (MediaFormat.MIMETYPE_AUDIO_AC3.equalsIgnoreCase(mimeType) && channelCount != 2) { in reconfigure()
133 channelCount = 2; in reconfigure()
137 channelCount in reconfigure()
142 mAudioTrack.configure(mimeType, channelCount, sampleRate, pcmEncoding, audioBufferSize); in reconfigure()
DMpegTsDefaultAudioTrackRenderer.java391 format.channelCount, in convertMediaFormatToRaw()
/packages/apps/TV/tests/input/src/com/android/tv/testinput/
DTestTvInputSetupActivity.java56 private void registerChannels(int channelCount) { in registerChannels() argument
58 registerChannels(context, mInputId, channelCount); in registerChannels()
61 public static void registerChannels(Context context, String inputId, int channelCount) { in registerChannels() argument
62 Log.i(TAG, "Registering " + channelCount + " channels"); in registerChannels()
64 for (int i = 1; i <= channelCount; i++) { in registerChannels()
/packages/apps/TV/src/com/android/tv/onboarding/
DSetupSourcesFragment.java299 int channelCount = mChannelDataManager.getChannelCountForInput(inputId); in createActionsInternal() local
300 if (mSetupUtils.isSetupDone(inputId) || channelCount > 0) { in createActionsInternal()
301 if (channelCount == 0) { in createActionsInternal()
305 R.plurals.setup_input_channels, channelCount, channelCount); in createActionsInternal()
/packages/apps/TV/src/com/android/tv/tuner/
DTunerPreferences.java193 public static synchronized void setScannedChannelCount(Context context, int channelCount) { in setScannedChannelCount() argument
195 setPreference(context, PREFS_KEY_SCANNED_CHANNEL_COUNT, channelCount); in setScannedChannelCount()
198 .putInt(TunerPreferences.PREFS_KEY_SCANNED_CHANNEL_COUNT, channelCount) in setScannedChannelCount()
/packages/apps/TV/tests/unit/src/com/android/tv/util/
DUtilsTest_GetMultiAudioString.java89 private static TvTrackInfo createAudioTrackInfo(String language, int channelCount) { in createAudioTrackInfo() argument
91 .setLanguage(language).setAudioChannelCount(channelCount) in createAudioTrackInfo()
/packages/apps/TV/src/com/android/exoplayer/
DMediaFormatUtil.java41 int channelCount = in createMediaFormat() local
60 channelCount, sampleRate, language, MediaFormat.OFFSET_SAMPLE_RELATIVE, in createMediaFormat()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStateMachine.java799 private void onAudioConfigChanged(byte[] address, int sampleRate, int channelCount) { in onAudioConfigChanged() argument
801 int channelConfig = (channelCount == 1 ? AudioFormat.CHANNEL_IN_MONO in onAudioConfigChanged()
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/
DExoPlayerSampleExtractor.java192 com.google.android.exoplayer.C.UNKNOWN_TIME_US, format.channelCount, in convertFormat()
/packages/apps/TV/src/com/android/tv/
DMainActivity.java1747 int channelCount = TvSettings.getMultiAudioChannelCount(this);
1749 .getBestTrackInfo(tracks, id, language, channelCount);
/packages/apps/TV/src/com/android/tv/tuner/tvinput/
DTunerSessionWorker.java1298 builder.setAudioChannelCount(infoFromPlayer.channelCount); in notifyAudioTracksUpdated()
/packages/apps/TV/src/com/android/tv/tuner/ts/
DSectionParser.java917 audioTrack.channelCount = audioDescriptor.getNumChannels(); in generateAudioTracks()
/packages/apps/Browser2/test/webexposed/
Dglobal-interface-listing-expected.txt158 getter channelCount
167 setter channelCount