Home
last modified time | relevance | path

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

/packages/apps/TV/src/com/android/tv/util/
DTvTrackInfoUtils.java39 final int channelCount) { in createComparator() argument
57 boolean rhsCountMatch = rhs.getAudioChannelCount() == channelCount; in createComparator()
58 boolean lhsCountMatch = lhs.getAudioChannelCount() == channelCount; in createComparator()
95 int channelCount) {
99 Comparator<TvTrackInfo> comparator = createComparator(id, language, channelCount);
DTvSettings.java175 public static void setMultiAudioChannelCount(Context context, int channelCount) { in setMultiAudioChannelCount() argument
177 PREF_MULTI_AUDIO_CHANNEL_COUNT, channelCount).apply(); in setMultiAudioChannelCount()
DUtils.java379 public static String getAudioChannelString(Context context, int channelCount) { in getAudioChannelString() argument
380 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, true, channelCount); in setup() local
/packages/apps/TV/tests/input/src/com/android/tv/testinput/
DTestTvInputSetupActivity.java59 private void registerChannels(int channelCount) { in registerChannels() argument
61 registerChannels(context, mInputId, false, channelCount); in registerChannels()
65 int channelCount) { in registerChannels() argument
66 Log.i(TAG, "Registering " + channelCount + " channels"); in registerChannels()
68 for (int i = 1; i <= channelCount; i++) { in registerChannels()
/packages/apps/TV/usbtuner/src/com/google/android/exoplayer/
DMediaFormatUtil.java40 int channelCount = in createMediaFormat() local
57 channelCount, sampleRate, language, MediaFormat.OFFSET_SAMPLE_RELATIVE, in createMediaFormat()
68 int channelCount, int sampleRate) { in createAudioMediaFormat() argument
70 MediaFormat.NO_VALUE, durationUs, channelCount, sampleRate, null, ""); in createAudioMediaFormat()
/packages/apps/TV/src/com/android/tv/onboarding/
DSetupSourcesFragment.java306 int channelCount = mChannelDataManager.getChannelCountForInput(inputId); in createActionsInternal() local
307 if (mSetupUtils.isSetupDone(inputId) || channelCount > 0) { in createActionsInternal()
308 if (channelCount == 0) { in createActionsInternal()
312 R.plurals.setup_input_channels, channelCount, channelCount); in createActionsInternal()
/packages/apps/TV/usbtuner/src/com/android/usbtuner/
DUsbTunerPreferences.java80 public static void setScannedChannelCount(Context context, int channelCount) { in setScannedChannelCount() argument
82 setPreference(context, PREFS_KEY_SCANNED_CHANNEL_COUNT, channelCount); in setScannedChannelCount()
85 .putInt(UsbTunerPreferences.PREFS_KEY_SCANNED_CHANNEL_COUNT, channelCount) in setScannedChannelCount()
/packages/apps/TV/tests/unit/src/com/android/tv/util/
DUtilsTest_GetMultiAudioString.java80 private static TvTrackInfo createAudioTrackInfo(String language, int channelCount) { in createAudioTrackInfo() argument
82 .setLanguage(language).setAudioChannelCount(channelCount) in createAudioTrackInfo()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStateMachine.java785 private void onAudioConfigChanged(byte[] address, int sampleRate, int channelCount) { in onAudioConfigChanged() argument
787 int channelConfig = (channelCount == 1 ? AudioFormat.CHANNEL_IN_MONO in onAudioConfigChanged()
/packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/ac3/
DAc3TrackRenderer.java324 format.channelCount, format.sampleRate); in onInputFormatChanged()
/packages/apps/TV/usbtuner/src/com/android/usbtuner/tvinput/
DTunerSessionWorker.java1054 if (audioTrack.channelCount != 0) { in updateAudioTracks()
1055 builder.setAudioChannelCount(audioTrack.channelCount); in updateAudioTracks()
/packages/apps/TV/usbtuner/libs/
Dexoplayer_1.5.6.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/TV/usbtuner/src/com/android/usbtuner/ts/
DSectionParser.java683 audioTrack.channelCount = audioDescriptor.getNumChannels(); in generateAudioTracks()
/packages/apps/TV/src/com/android/tv/
DMainActivity.java2160 int channelCount = TvSettings.getMultiAudioChannelCount(this);
2162 .getBestTrackInfo(tracks, id, language, channelCount);
/packages/apps/Browser2/test/webexposed/
Dglobal-interface-listing-expected.txt158 getter channelCount
167 setter channelCount