Home
last modified time | relevance | path

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

/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/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/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/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/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioDeviceInfoTest.java188 int channelCount = info.getChannelCount(); in getChannelCount_withNoChannelMasks_returnsOne() local
190 assertThat(channelCount).isEqualTo(1); in getChannelCount_withNoChannelMasks_returnsOne()
200 int channelCount = info.getChannelCount(); in getChannelCount_withMultipleChannels_returnsHighestCount() local
202 assertThat(channelCount).isEqualTo(4); in getChannelCount_withMultipleChannels_returnsHighestCount()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DStackEvent.java77 int channelCount) { in audioConfigChanged() argument
81 event.mChannelCount = channelCount; in audioConfigChanged()
DA2dpSinkService.java555 private void onAudioConfigChanged(byte[] address, int sampleRate, int channelCount) { in onAudioConfigChanged() argument
557 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.java90 } else if (appRow.channelCount == 0) { in getNotificationSummary()
92 } 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/tuner/src/com/android/tv/tuner/exoplayer2/
DFileSampleExtractor.java148 int channelCount = in createFormat() local
173 channelCount, in createFormat()
/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/apps/Settings/src/com/android/settings/notification/
DNotificationBackend.java95 row.channelCount = getChannelCount(row.pkg, row.uid); in loadAppRow()
703 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/buffer/
DSampleChunkIoHelper.java260 mediaFormat.setInteger(MediaFormat.KEY_CHANNEL_COUNT, format.channelCount); in getAudioMediaFormat()
/packages/apps/TV/src/com/android/tv/
DMainActivity.java1953 int channelCount = TvSettings.getMultiAudioChannelCount(this);
1954 bestTrack = TvTrackInfoUtils.getBestTrackInfo(tracks, id, language, channelCount);
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
DTunerSessionWorkerExoV2.java1550 builder.setAudioChannelCount(infoFromPlayer.channelCount); in notifyAudioTracksUpdated()
DTunerSessionWorker.java1629 builder.setAudioChannelCount(infoFromPlayer.channelCount); in notifyAudioTracksUpdated()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiMetrics.java4570 public void reportInitialPartialScan(int channelCount, boolean status) { in reportInitialPartialScan() argument
4574 mInitPartialScanSuccessHistogram.increment(channelCount); in reportInitialPartialScan()
4577 mInitPartialScanFailureHistogram.increment(channelCount); in reportInitialPartialScan()