Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 48c2a726 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "BtAudio: Handle dataInterval in LeAudioSW VTS" am: 3a6d0f8d am: bbdcdec9

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1986306

Change-Id: I482c63631a6d5b42f72eaabc5caf6c68d403055f
parents 00903a9f bbdcdec9
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -983,7 +983,8 @@ TEST_P(BluetoothAudioProviderLeAudioOutputSoftwareAidl,
              .channelMode = channel_mode,
              .dataIntervalUs = data_interval_us,
          };
          bool is_codec_config_valid = IsPcmConfigSupported(pcm_config);
          bool is_codec_config_valid =
              IsPcmConfigSupported(pcm_config) && pcm_config.dataIntervalUs > 0;
          DataMQDesc mq_desc;
          auto aidl_retval = audio_provider_->startSession(
              audio_port_, AudioConfiguration(pcm_config), &mq_desc);
@@ -1054,7 +1055,8 @@ TEST_P(BluetoothAudioProviderLeAudioInputSoftwareAidl,
              .channelMode = channel_mode,
              .dataIntervalUs = data_interval_us,
          };
          bool is_codec_config_valid = IsPcmConfigSupported(pcm_config);
          bool is_codec_config_valid =
              IsPcmConfigSupported(pcm_config) && pcm_config.dataIntervalUs > 0;
          DataMQDesc mq_desc;
          auto aidl_retval = audio_provider_->startSession(
              audio_port_, AudioConfiguration(pcm_config), &mq_desc);
@@ -1395,7 +1397,8 @@ TEST_P(BluetoothAudioProviderLeAudioBroadcastSoftwareAidl,
              .channelMode = channel_mode,
              .dataIntervalUs = data_interval_us,
          };
          bool is_codec_config_valid = IsPcmConfigSupported(pcm_config);
          bool is_codec_config_valid =
              IsPcmConfigSupported(pcm_config) && pcm_config.dataIntervalUs > 0;
          DataMQDesc mq_desc;
          auto aidl_retval = audio_provider_->startSession(
              audio_port_, AudioConfiguration(pcm_config), &mq_desc);