/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/ |
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/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/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 | 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 | TvTrackInfoUtils.java | 60 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);
|
D | Utils.java | 572 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/ |
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 | 316 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/Settings/src/com/android/settings/homepage/contextualcards/slices/ |
D | NotificationChannelSlice.java | 418 final int channelCount = mNotificationBackend.getChannelCount(packageName, uid); in getSubTitle() local 420 if (channelCount > DEFAULT_EXPANDED_ROW_COUNT) { in getSubTitle() 422 R.string.notification_many_channel_count_summary, channelCount); in getSubTitle() 426 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 | 506 private void onAudioConfigChanged(byte[] address, int sampleRate, int channelCount) { in onAudioConfigChanged() argument 508 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/tuner/src/com/android/tv/tuner/exoplayer2/ |
D | FileSampleExtractor.java | 148 int channelCount = in createFormat() local 173 channelCount, in createFormat()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/util/ |
D | TvTrackInfoUtilsTest.java | 310 private static TvTrackInfo createAudioTrackInfo(String language, int channelCount) { in createAudioTrackInfo() argument 313 .setAudioChannelCount(channelCount) in createAudioTrackInfo()
|
/packages/apps/TV/src/com/android/tv/data/ |
D | ProgramDataManager.java | 737 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/ |
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 | 213 format.channelCount, in convertFormat()
|