Home
last modified time | relevance | path

Searched refs:sampleRates (Results 1 – 15 of 15) sorted by relevance

/hardware/interfaces/audio/core/all-versions/vts/functional/
DConfigHelper.h72 vector<uint32_t> sampleRates, in combineAudioConfig()
75 configs.reserve(channelMasks.size() * sampleRates.size()); in combineAudioConfig()
77 for (auto sampleRate : sampleRates) { in combineAudioConfig()
90 vector<uint32_t> sampleRates, in combineAudioConfig()
93 configs.reserve(channelMasks.size() * sampleRates.size() * formats.size()); in combineAudioConfig()
95 for (auto sampleRate : sampleRates) { in combineAudioConfig()
DAudioPrimaryHidlHalTest.h1093 &GetSupported::sampleRates, &IStream::getSampleRate,
/hardware/interfaces/audio/core/all-versions/vts/functional/6.0/
DAudioPrimaryHidlHalTest.cpp29 const auto& sampleRates = profile->getSampleRates(); in getOutputDeviceConfigParameters() local
32 vector<uint32_t>(sampleRates.begin(), sampleRates.end()), in getOutputDeviceConfigParameters()
75 const auto& sampleRates = profile->getSampleRates(); in getInputDeviceConfigParameters() local
78 vector<uint32_t>(sampleRates.begin(), sampleRates.end()), in getInputDeviceConfigParameters()
/hardware/interfaces/audio/core/all-versions/default/
DStream.cpp101 hidl_vec<uint32_t> sampleRates; in getSupportedSampleRates() local
106 sampleRates = hidl_vec<uint32_t>(halSampleRates.begin(), halSampleRates.end()); in getSupportedSampleRates()
109 if (sampleRates.size() == 0) { in getSupportedSampleRates()
114 _hidl_cb(sampleRates); in getSupportedSampleRates()
116 _hidl_cb(result, sampleRates); in getSupportedSampleRates()
/hardware/interfaces/audio/common/all-versions/default/
DHidlUtils.cpp270 port->sampleRates.resize(halPort.num_sample_rates); in audioPortFromHal()
272 port->sampleRates[i] = halPort.sample_rates[i]; in audioPortFromHal()
318 std::min(port.sampleRates.size(), static_cast<size_t>(AUDIO_PORT_MAX_SAMPLING_RATES)); in audioPortToHal()
320 halPort->sample_rates[i] = port.sampleRates[i]; in audioPortToHal()
/hardware/interfaces/audio/core/all-versions/vts/functional/2.0/
DAudioPrimaryHidlHalUtils.h54 static Result sampleRates(IStream* stream, hidl_vec<uint32_t>& rates) { in sampleRates() function
/hardware/interfaces/audio/core/all-versions/vts/functional/4.0/
DAudioPrimaryHidlHalUtils.h65 static Result sampleRates(IStream* stream, hidl_vec<uint32_t>& rates) { in sampleRates() function
/hardware/interfaces/audio/2.0/
DIStream.hal62 getSupportedSampleRates() generates (vec<uint32_t> sampleRates);
/hardware/interfaces/audio/6.0/
DIStream.hal72 generates (Result retval, vec<uint32_t> sampleRates);
/hardware/interfaces/audio/5.0/
DIStream.hal72 generates (Result retval, vec<uint32_t> sampleRates);
/hardware/interfaces/audio/4.0/
DIStream.hal72 generates (Result retval, vec<uint32_t> sampleRates);
/hardware/interfaces/audio/common/2.0/
Dtypes.hal926 vec<uint32_t> sampleRates;
/hardware/interfaces/audio/common/4.0/
Dtypes.hal887 vec<uint32_t> sampleRates;
/hardware/interfaces/audio/common/5.0/
Dtypes.hal1016 vec<uint32_t> sampleRates;
/hardware/interfaces/audio/common/6.0/
Dtypes.hal1175 vec<uint32_t> sampleRates;