/hardware/interfaces/audio/core/all-versions/vts/functional/ |
D | ConfigHelper.h | 85 std::vector<audio_channel_mask_t> channelMasks, std::vector<uint32_t> sampleRates, in combineAudioConfig() 88 configs.reserve(channelMasks.size() * sampleRates.size()); in combineAudioConfig() 90 for (auto sampleRate : sampleRates) { in combineAudioConfig() 103 std::vector<uint32_t> sampleRates, in combineAudioConfig() 106 configs.reserve(channelMasks.size() * sampleRates.size() * formats.size()); in combineAudioConfig() 108 for (auto sampleRate : sampleRates) { in combineAudioConfig()
|
/hardware/interfaces/audio/core/all-versions/vts/functional/6.0/ |
D | Generators.cpp | 49 const auto& sampleRates = profile->getSampleRates(); in generateOutputDeviceConfigParameters() local 52 std::vector<uint32_t>(sampleRates.begin(), sampleRates.end()), in generateOutputDeviceConfigParameters() 112 const auto& sampleRates = profile->getSampleRates(); in generateInputDeviceConfigParameters() local 115 std::vector<uint32_t>(sampleRates.begin(), sampleRates.end()), in generateInputDeviceConfigParameters()
|
/hardware/interfaces/audio/core/all-versions/default/ |
D | Stream.cpp | 109 hidl_vec<uint32_t> sampleRates; in getSupportedSampleRates() local 114 sampleRates = hidl_vec<uint32_t>(halSampleRates.begin(), halSampleRates.end()); in getSupportedSampleRates() 117 if (sampleRates.size() == 0) { in getSupportedSampleRates() 122 _hidl_cb(sampleRates); in getSupportedSampleRates() 124 _hidl_cb(result, sampleRates); in getSupportedSampleRates() 241 hidl_vec<uint32_t> sampleRates; in getSupportedProfiles() local 242 sampleRates.resize(halSampleRates.size()); in getSupportedProfiles() 243 for (size_t i = 0; i < sampleRates.size(); ++i) { in getSupportedProfiles() 244 sampleRates[i] = std::stoi(halSampleRates[i]); in getSupportedProfiles() 254 if (channelMasks.size() != 0 && sampleRates.size() != 0) { in getSupportedProfiles() [all …]
|
/hardware/interfaces/audio/core/all-versions/vts/functional/7.0/ |
D | Generators.cpp | 42 std::vector<int64_t> sampleRates, in combineAudioConfig() argument 45 configs.reserve(channelMasks.size() * sampleRates.size()); in combineAudioConfig() 47 for (auto sampleRate : sampleRates) { in combineAudioConfig()
|
/hardware/interfaces/audio/core/all-versions/vts/functional/2.0/ |
D | AudioPrimaryHidlHalUtils.h | 54 static Result sampleRates(IStream* stream, hidl_vec<uint32_t>& rates) { in sampleRates() function
|
/hardware/interfaces/audio/common/all-versions/default/ |
D | HidlUtils.cpp | 263 port->sampleRates.resize(halPort.num_sample_rates); in audioPortFromHal() 265 port->sampleRates[i] = halPort.sample_rates[i]; in audioPortFromHal() 312 std::min(port.sampleRates.size(), static_cast<size_t>(AUDIO_PORT_MAX_SAMPLING_RATES)); in audioPortToHal() 314 halPort->sample_rates[i] = port.sampleRates[i]; in audioPortToHal()
|
/hardware/interfaces/audio/common/all-versions/default/tests/ |
D | hidlutils_tests.cpp | 911 profile.sampleRates.resize(2); in TEST() 912 profile.sampleRates[0] = 44100; in TEST() 913 profile.sampleRates[1] = 48000; in TEST() 983 profile.sampleRates.resize(2); in TEST() 984 profile.sampleRates[0] = 44100; in TEST() 985 profile.sampleRates[1] = 48000; in TEST() 1026 profile.sampleRates.resize(2); in TEST() 1027 profile.sampleRates[0] = 44100; in TEST() 1028 profile.sampleRates[1] = 48000; in TEST()
|
/hardware/interfaces/audio/core/all-versions/vts/functional/4.0/ |
D | AudioPrimaryHidlHalUtils.h | 66 static Result sampleRates(IStream* stream, hidl_vec<uint32_t>& rates) { in sampleRates() function
|
/hardware/interfaces/audio/common/all-versions/default/7.0/ |
D | HidlUtils.cpp | 944 profile->sampleRates.resize(halProfile.num_sample_rates); in audioProfileFromHal() 946 profile->sampleRates[i] = halProfile.sample_rates[i]; in audioProfileFromHal() 962 halProfile->num_sample_rates = profile.sampleRates.size(); in audioProfileToHal() 969 halProfile->sample_rates[i] = profile.sampleRates[i]; in audioProfileToHal()
|
/hardware/interfaces/audio/2.0/ |
D | IStream.hal | 62 getSupportedSampleRates() generates (vec<uint32_t> sampleRates);
|
/hardware/interfaces/audio/6.0/ |
D | IStream.hal | 72 generates (Result retval, vec<uint32_t> sampleRates);
|
/hardware/interfaces/audio/4.0/ |
D | IStream.hal | 72 generates (Result retval, vec<uint32_t> sampleRates);
|
/hardware/interfaces/audio/5.0/ |
D | IStream.hal | 72 generates (Result retval, vec<uint32_t> sampleRates);
|
/hardware/interfaces/audio/common/7.0/ |
D | types.hal | 161 vec<uint32_t> sampleRates;
|
/hardware/interfaces/audio/common/4.0/ |
D | types.hal | 887 vec<uint32_t> sampleRates;
|
/hardware/interfaces/audio/common/2.0/ |
D | types.hal | 926 vec<uint32_t> sampleRates;
|
/hardware/interfaces/audio/common/5.0/ |
D | types.hal | 1016 vec<uint32_t> sampleRates;
|
/hardware/interfaces/audio/common/6.0/ |
D | types.hal | 1175 vec<uint32_t> sampleRates;
|