/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/ |
D | BadgePreferenceControllerTest.java | 100 appRow.channelCount = 1; in testIsAvailable_notIfAppBlocked() 109 appRow.channelCount = 1; in testIsAvailable_notIfChannelBlocked() 119 appRow.channelCount = 1; in testIsAvailable_channel_notIfAppOff() 131 appRow.channelCount = 1; in testIsAvailable_notIfOffGlobally() 143 appRow.channelCount = 1; in testIsAvailable_app() 153 appRow.channelCount = 0; in testIsAvailable_appNoChannels() 164 appRow.channelCount = 1; in testIsAvailable_defaultChannel() 178 appRow.channelCount = 1; in testIsAvailable_channel() 203 appRow.channelCount = 1; in testIsAvailable_filteredOut() 216 appRow.channelCount = 1; in testIsAvailable_filteredIn() [all …]
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_avrcp_audio_track.cc | 36 int channelCount; member 53 int channelCount) { in BtifAvrcpAudioTrackCreate() argument 55 __func__, trackFreq, bitsPerSample, channelCount); in BtifAvrcpAudioTrackCreate() 62 AAudioStreamBuilder_setChannelCount(builder, channelCount); in BtifAvrcpAudioTrackCreate() 74 trackHolder->channelCount = channelCount; in BtifAvrcpAudioTrackCreate() 76 trackHolder->channelCount * AAudioStream_getBufferSizeInFrames(stream); in BtifAvrcpAudioTrackCreate() 240 transcodedCount / (sampleSize * trackHolder->channelCount), in BtifAvrcpAudioTrackWriteData()
|
/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/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothLeAudioCodecConfig.java | 228 @BitsPerSample int bitsPerSample, @ChannelCount int channelCount, in BluetoothLeAudioCodecConfig() argument 235 mChannelCount = channelCount; in BluetoothLeAudioCodecConfig() 258 int channelCount = in.readInt(); 264 bitsPerSample, channelCount, frameDuration, octetsPerFrame, 488 public @NonNull Builder setChannelCount(@ChannelCount int channelCount) { in setChannelCount() argument 489 mChannelCount = channelCount; in setChannelCount()
|
/packages/apps/TV/src/com/android/tv/util/ |
D | TvSettings.java | 107 public static void setMultiAudioChannelCount(Context context, int channelCount) { in setMultiAudioChannelCount() argument 110 .putInt(PREF_MULTI_AUDIO_CHANNEL_COUNT, channelCount) in setMultiAudioChannelCount() 149 int channelCount; in getDvrPlaybackTrackSettings() local 157 channelCount = pref.getInt(PREF_DVR_MULTI_AUDIO_CHANNEL_COUNT, 0); in getDvrPlaybackTrackSettings() 160 .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);
|
/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/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dpsink/ |
D | StackEventTest.java | 113 int channelCount = 1; in testCreateAudioConfigurationChangedEvent() local 114 StackEvent event = StackEvent.audioConfigChanged(mDevice, sampleRate, channelCount); in testCreateAudioConfigurationChangedEvent() 119 assertThat(event.mChannelCount).isEqualTo(channelCount); in testCreateAudioConfigurationChangedEvent()
|
/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/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarAudioDeviceInfoTest.java | 217 int channelCount = info.getChannelCount(); in getChannelCount_withNoChannelMasks_returnsOne() local 219 assertWithMessage("Channel Count").that(channelCount).isEqualTo(1); in getChannelCount_withNoChannelMasks_returnsOne() 229 int channelCount = info.getChannelCount(); in getChannelCount_withMultipleChannels_returnsHighestCount() local 231 assertWithMessage("Channel Count").that(channelCount).isEqualTo(4); in getChannelCount_withMultipleChannels_returnsHighestCount()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dpsink/ |
D | StackEvent.java | 85 int channelCount) { in audioConfigChanged() argument 89 event.mChannelCount = channelCount; in audioConfigChanged()
|
D | A2dpSinkNativeInterface.java | 183 public void onAudioConfigChanged(byte[] address, int sampleRate, int channelCount) { in onAudioConfigChanged() argument 185 getDevice(address), sampleRate, channelCount); in onAudioConfigChanged()
|
/packages/apps/Settings/src/com/android/settings/notification/app/ |
D | BadgePreferenceController.java | 67 : mAppRow.channelCount == 0 in isAvailable() 72 if (mAppRow.channelCount == 0) { in isAvailable()
|
/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/apps/Settings/src/com/android/settings/spa/notification/ |
D | AppNotificationRepository.kt | 127 val channelCount = getChannelCount(app) in getNotificationSummary() constant 128 if (channelCount == 0) { in getNotificationSummary() 132 if (channelCount == 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/Settings/src/com/android/settings/applications/appinfo/ |
D | AppNotificationPreferenceController.java | 103 } else if (appRow.channelCount == 0) { in getNotificationSummary() 105 } else if (appRow.channelCount == appRow.blockedChannelCount) { in getNotificationSummary()
|
/packages/modules/Bluetooth/system/btif/include/ |
D | btif_avrcp_audio_track.h | 39 int channelCount);
|
/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/modules/Bluetooth/system/btif/test/ |
D | btif_avrcp_audio_track_test.cc | 19 int channelCount; member
|
/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()
|