Home
last modified time | relevance | path

Searched refs:pcm_parameters (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/bluetooth/audio/2.1/vts/functional/
DVtsHalBluetoothAudioV2_1TargetTest.cpp302 bool IsPcmParametersSupported(const PcmParameters& pcm_parameters) { in IsPcmParametersSupported() argument
310 (pcm_parameters.sampleRate != android::hardware::bluetooth::audio:: in IsPcmParametersSupported()
312 pcm_parameters.channelMode != ChannelMode::UNKNOWN && in IsPcmParametersSupported()
313 pcm_parameters.bitsPerSample != BitsPerSample::BITS_UNKNOWN); in IsPcmParametersSupported()
315 (pcm_capability.sampleRate & pcm_parameters.sampleRate && in IsPcmParametersSupported()
316 pcm_capability.channelMode & pcm_parameters.channelMode && in IsPcmParametersSupported()
317 pcm_capability.bitsPerSample & pcm_parameters.bitsPerSample); in IsPcmParametersSupported()
323 pcm_parameters) { in IsPcmParametersSupported_2_1()
332 (pcm_parameters.sampleRate != SampleRate::RATE_UNKNOWN && in IsPcmParametersSupported_2_1()
333 pcm_parameters.channelMode != ChannelMode::UNKNOWN && in IsPcmParametersSupported_2_1()
[all …]
/hardware/interfaces/bluetooth/audio/2.0/vts/functional/
DVtsHalBluetoothAudioV2_0TargetTest.cpp242 bool IsPcmParametersSupported(const PcmParameters& pcm_parameters) { in IsPcmParametersSupported() argument
250 (pcm_parameters.sampleRate != SampleRate::RATE_UNKNOWN && in IsPcmParametersSupported()
251 pcm_parameters.channelMode != ChannelMode::UNKNOWN && in IsPcmParametersSupported()
252 pcm_parameters.bitsPerSample != BitsPerSample::BITS_UNKNOWN); in IsPcmParametersSupported()
254 (pcm_capability.sampleRate & pcm_parameters.sampleRate && in IsPcmParametersSupported()
255 pcm_capability.channelMode & pcm_parameters.channelMode && in IsPcmParametersSupported()
256 pcm_capability.bitsPerSample & pcm_parameters.bitsPerSample); in IsPcmParametersSupported()
348 PcmParameters pcm_parameters = {}; in TEST_P() local
350 pcm_parameters.sampleRate = sample_rate; in TEST_P()
352 pcm_parameters.bitsPerSample = bits_per_sample; in TEST_P()
[all …]