Home
last modified time | relevance | path

Searched refs:num_channels (Results 1 – 20 of 20) sorted by relevance

/packages/modules/Bluetooth/system/bta/le_audio/audio_hal_client/
Daudio_hal_client.h62 uint8_t num_channels = 0; member
79 return !((num_channels == other.num_channels) &&
86 return ((num_channels == other.num_channels) &&
93 return (num_channels == 0) || (sample_rate == 0) || in IsInvalid()
Daudio_source_hal_client.cc214 (source_codec_config_.num_channels * source_codec_config_.sample_rate * in SendAudioData()
270 worker_thread_, source_codec_config_.num_channels, in StartAudioTicks()
358 codec_configuration.bits_per_sample, codec_configuration.num_channels, in Start()
369 .channels_count = codec_configuration.num_channels}; in Start()
Daudio_sink_hal_client.cc202 codec_configuration.bits_per_sample, codec_configuration.num_channels, in Start()
209 .channels_count = codec_configuration.num_channels}; in Start()
Daudio_hal_client_test.cc353 .num_channels = LeAudioCodecConfiguration::kChannelNumberMono,
492 .num_channels = LeAudioCodecConfiguration::kChannelNumberStereo, in TEST_F()
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/
DScanScheduleUtil.java59 if (bucket1.num_channels != bucket2.num_channels) return false; in bucketEquals()
60 for (int c = 0; c < bucket1.num_channels; c++) { in bucketEquals()
DKnownBandsChannelHelper.java453 bucketSettings.num_channels = 0; in fillBucketSettings()
457 bucketSettings.num_channels = mChannels.size(); in fillBucketSettings()
DChannelHelper.java291 return toString(bucketSettings.channels, bucketSettings.num_channels); in toString()
/packages/modules/Bluetooth/system/stack/test/a2dp/
Dwav_reader.h32 uint16_t num_channels; member
/packages/modules/Bluetooth/system/bta/le_audio/
Dle_audio_utils.cc480 group_config.num_channels += conf.codec.GetChannelCountPerIsoStream(); in GetAudioSessionCodecConfigFromAudioSetConfiguration()
482 if (group_config.num_channels > 2) group_config.num_channels = 2; in GetAudioSessionCodecConfigFromAudioSetConfiguration()
Dclient.cc3434 uint16_t num_channels = stream_params.num_of_channels; in PrepareAndSendToSingleCis() local
3440 if ((int)data.size() < (bytes_per_sample * num_channels * in PrepareAndSendToSingleCis()
3447 bool mix_to_mono = (num_channels == 1); in PrepareAndSendToSingleCis()
3612 bool af_is_stereo = (audio_framework_sink_config.num_channels == 2); in SendAudioDataToAF()
3852 << ",\tchan: " << +conf.num_channels in printCurrentStreamConfiguration()
5894 .num_channels = 2,
5901 .num_channels = 2,
Dle_audio_client_test.cc8394 .num_channels = 2, in TEST_F()
8427 .num_channels = 2, in TEST_F()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DScanTestUtil.java199 bucket.num_channels = channels.length; in addBucketWithChannels()
493 actual.buckets[i].num_channels); in assertNativeScanSettingsEquals()
574 } else if (bucketSettings.num_channels != expectedChannels.length) {
578 .appendText(", was ").appendValue(bucketSettings.num_channels);
/packages/modules/Bluetooth/system/bta/hearing_aid/
Dhearing_aid_audio_source.cc77 int num_channels = 2; variable
103 (num_channels * sample_rate * data_interval_ms * (bit_rate / 8)) / 1000; in send_audio_data()
/packages/modules/Bluetooth/system/bta/le_audio/broadcaster/
Dstate_machine_test.cc526 uint8_t num_channels = 2; in TEST_F() local
558 EXPECT_CALL(*mock_iso_manager_, SetupIsoDataPath).Times(num_channels); in TEST_F()
568 ASSERT_EQ(num_bises, num_channels); in TEST_F()
871 uint8_t num_channels = 2; in TEST_F() local
890 ASSERT_EQ(big_cfg->connection_handles.size(), num_channels); in TEST_F()
Dbroadcaster_types.cc243 .num_channels = GetNumChannelsMax(), in GetAudioHalClientConfig()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/
DChannelHelperTest.java174 testBucket.num_channels = 2; in addChannelsWifiNativeBucket_channels()
DBackgroundScanSchedulerTest.java703 assertTrue("num channels <= 0", schedule.buckets[i].num_channels > 0); in assertBuckets()
705 schedule.buckets[i].num_channels <= mScheduler.getMaxChannelsPerBucket()); in assertBuckets()
707 for (int c = 0; c < schedule.buckets[i].num_channels; c++) { in assertBuckets()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiScanner.java790 int num_channels = in.readInt();
791 settings.channels = new ChannelSpec[num_channels];
792 for (int i = 0; i < num_channels; i++) {
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiNative.java3466 public int num_channels;
/packages/modules/NeuralNetworks/tools/api/
Dtypes.spec3880 * where group_size = num_channels / num_groups