/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/ |
D | NotificationChannelSliceTest.java | 340 private void mockNotificationBackend(int channelCount, int notificationCount, boolean banned, in mockNotificationBackend() argument 342 final List<NotificationChannel> channels = buildNotificationChannel(channelCount, in mockNotificationBackend() 344 final AppRow appRow = buildAppRow(channelCount, notificationCount, banned); in mockNotificationBackend() 350 doReturn(channelCount).when(mNotificationBackend).getChannelCount( in mockNotificationBackend() 354 private AppRow buildAppRow(int channelCount, int sentCount, boolean banned) { in buildAppRow() argument 359 appRow.channelCount = channelCount; in buildAppRow() 362 appRow.sentByChannel = buildNotificationSentStates(channelCount, sentCount); in buildAppRow() 367 private List<NotificationChannel> buildNotificationChannel(int channelCount, in buildNotificationChannel() argument 370 for (int i = 0; i < channelCount; i++) { in buildNotificationChannel() 388 private Map<String, NotificationsSentState> buildNotificationSentStates(int channelCount, in buildNotificationSentStates() argument [all …]
|
/packages/apps/TV/tests/input/src/com/android/tv/testinput/instrument/ |
D | TestSetupInstrumentation.java | 94 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/ |
D | TestTvInputSetupActivity.java | 49 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/ |
D | AudioTrackWrapper.java | 117 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/ |
D | TvTrackInfoUtils.java | 51 final String id, final String language, final int channelCount) { in createComparator() argument 71 || lhs.getAudioChannelCount() == channelCount; in createComparator() 74 || rhs.getAudioChannelCount() == channelCount; in createComparator() 96 List<TvTrackInfo> tracks, String id, String language, int channelCount) { 100 Comparator<TvTrackInfo> comparator = createComparator(id, language, channelCount);
|
D | TvSettings.java | 104 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()
|
D | Utils.java | 570 public static String getAudioChannelString(Context context, int channelCount) { in getAudioChannelString() argument 571 switch (channelCount) { in getAudioChannelString()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/slices/ |
D | NotificationChannelSlice.java | 311 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/ |
D | AppNotificationPreferenceControllerTest.java | 135 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/ |
D | SetupSourcesFragment.java | 299 int channelCount = mChannelDataManager.getChannelCountForInput(inputId); in createActionsInternal() local 300 if (mSetupUtils.isSetupDone(inputId) || channelCount > 0) { in createActionsInternal() 301 if (channelCount == 0) { in createActionsInternal() 308 channelCount, in createActionsInternal() 309 channelCount); in createActionsInternal()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/ |
D | NotificationChannelSlice.java | 424 final int channelCount = mNotificationBackend.getChannelCount(packageName, uid); in getSubTitle() local 426 if (channelCount > DEFAULT_EXPANDED_ROW_COUNT) { in getSubTitle() 428 R.string.notification_many_channel_count_summary, channelCount); in getSubTitle() 432 R.plurals.notification_few_channel_count_summary, channelCount, channelCount); in getSubTitle()
|
D | NotificationMultiChannelAppRow.java | 46 final int channelCount = mNotificationBackend.getChannelCount( in call() local 48 if (channelCount > 1) { in call()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/ |
D | StackEvent.java | 77 int channelCount) { in audioConfigChanged() argument 81 event.mChannelCount = channelCount; in audioConfigChanged()
|
D | A2dpSinkService.java | 422 private void onAudioConfigChanged(byte[] address, int sampleRate, int channelCount) { in onAudioConfigChanged() argument 424 channelCount); in onAudioConfigChanged()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/prefs/ |
D | TunerPreferences.java | 65 public static synchronized void setScannedChannelCount(Context context, int channelCount) { in setScannedChannelCount() argument 69 .putInt(TunerPreferences.PREFS_KEY_SCANNED_CHANNEL_COUNT, channelCount) in setScannedChannelCount()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/ |
D | AppNotificationPreferenceController.java | 87 } else if (appRow.channelCount == 0) { in getNotificationSummary() 89 } else if (appRow.channelCount == appRow.blockedChannelCount) { in getNotificationSummary()
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | AppNotificationPreferenceController.java | 87 } 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/ |
D | MediaFormatUtil.java | 39 int channelCount = in createMediaFormat() local 69 channelCount, in createMediaFormat()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/data/ |
D | ChannelUtils.java | 154 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/src/com/android/tv/data/ |
D | ProgramDataManager.java | 662 int channelCount = mChannelDataManager.getChannelCount(); in getFetchDuration() local 665 if (channelCount <= targetChannelCount) { in getFetchDuration() 669 durationHours = knobsMaxHours * targetChannelCount / channelCount; in getFetchDuration()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | NotificationBackend.java | 77 row.channelCount = getChannelCount(row.pkg, row.uid); in loadAppRow() 478 public int channelCount; field in NotificationBackend.AppRow
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationBackend.java | 79 row.channelCount = getChannelCount(row.pkg, row.uid); in loadAppRow() 496 public int channelCount; field in NotificationBackend.AppRow
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/ |
D | ExoPlayerSampleExtractor.java | 265 format.channelCount, in convertFormat()
|
/packages/apps/TV/src/com/android/tv/ |
D | MainActivity.java | 1927 int channelCount = TvSettings.getMultiAudioChannelCount(this); 1928 bestTrack = TvTrackInfoUtils.getBestTrackInfo(tracks, id, language, channelCount);
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/ |
D | TunerSessionWorkerExoV2.java | 1583 builder.setAudioChannelCount(infoFromPlayer.channelCount); in notifyAudioTracksUpdated()
|