Home
last modified time | relevance | path

Searched refs:sampleRateHz (Results 1 – 21 of 21) sorted by relevance

/hardware/interfaces/audio/2.0/
DIStream.hal51 * @return sampleRateHz sample rate in Hz.
53 getSampleRate() generates (uint32_t sampleRateHz);
60 * @return sampleRateHz supported sample rates.
68 * @param sampleRateHz sample rate in Hz.
71 setSampleRate(uint32_t sampleRateHz) generates (Result retval);
127 * @return sampleRateHz sample rate in Hz.
132 uint32_t sampleRateHz, AudioChannelMask mask, AudioFormat format);
/hardware/interfaces/audio/common/all-versions/default/
DHidlUtils.cpp32 config->sampleRateHz = halConfig.sample_rate; in audioConfigFromHal()
41 halConfig->sample_rate = config.sampleRateHz; in audioConfigToHal()
111 offload->sampleRateHz = halOffload.sample_rate; in audioOffloadInfoFromHal()
127 halOffload->sample_rate = offload.sampleRateHz; in audioOffloadInfoToHal()
146 config->sampleRateHz = halConfig.sample_rate; in audioPortConfigFromHal()
184 halConfig->sample_rate = config.sampleRateHz; in audioPortConfigToHal()
/hardware/interfaces/audio/4.0/
DIStream.hal49 * @return sampleRateHz sample rate in Hz.
51 getSampleRate() generates (uint32_t sampleRateHz);
69 * @return sampleRateHz supported sample rates.
79 * @param sampleRateHz sample rate in Hz.
82 setSampleRate(uint32_t sampleRateHz) generates (Result retval);
144 * @return sampleRateHz sample rate in Hz.
149 uint32_t sampleRateHz, bitfield<AudioChannelMask> mask, AudioFormat format);
DIPrimaryDevice.hal115 * @param sampleRateHz sample rate in Hz.
118 setBtHfpSampleRate(uint32_t sampleRateHz) generates (Result retval);
/hardware/interfaces/audio/5.0/
DIStream.hal49 * @return sampleRateHz sample rate in Hz.
51 getSampleRate() generates (uint32_t sampleRateHz);
69 * @return sampleRateHz supported sample rates.
79 * @param sampleRateHz sample rate in Hz.
82 setSampleRate(uint32_t sampleRateHz) generates (Result retval);
144 * @return sampleRateHz sample rate in Hz.
149 uint32_t sampleRateHz, bitfield<AudioChannelMask> mask, AudioFormat format);
DIPrimaryDevice.hal115 * @param sampleRateHz sample rate in Hz.
118 setBtHfpSampleRate(uint32_t sampleRateHz) generates (Result retval);
/hardware/interfaces/audio/core/all-versions/vts/functional/
DAudioPrimaryHidlHalTest.h483 config.sampleRateHz = sampleRate; in combineAudioConfig()
501 return to_string(info.index) + "__" + to_string(config.sampleRateHz) + "_" + in generateTestName()
827 ASSERT_EQ(audioConfig.sampleRateHz, extract(stream->getSampleRate())))
898 uint32_t sampleRateHz; in testGetAudioProperties() local
902 stream->getAudioProperties(returnIn(sampleRateHz, mask, format)); in testGetAudioProperties()
906 EXPECT_EQ(expectedConfig.sampleRateHz, sampleRateHz); in testGetAudioProperties()
/hardware/interfaces/audio/core/all-versions/default/
DPrimaryDevice.cpp290 Return<Result> PrimaryDevice::setBtHfpSampleRate(uint32_t sampleRateHz) { in setBtHfpSampleRate() argument
291 return mDevice->setParam(AUDIO_PARAMETER_KEY_HFP_SET_SAMPLING_RATE, int(sampleRateHz)); in setBtHfpSampleRate()
DStream.cpp151 Return<Result> Stream::setSampleRate(uint32_t sampleRateHz) { in setSampleRate() argument
152 return setParam(AudioParameter::keySamplingRate, static_cast<int>(sampleRateHz)); in setSampleRate()
DStreamIn.cpp201 Return<Result> StreamIn::setSampleRate(uint32_t sampleRateHz) { in setSampleRate() argument
202 return mStreamCommon->setSampleRate(sampleRateHz); in setSampleRate()
DStreamOut.cpp204 Return<Result> StreamOut::setSampleRate(uint32_t sampleRateHz) { in setSampleRate() argument
205 return mStreamCommon->setSampleRate(sampleRateHz); in setSampleRate()
/hardware/interfaces/audio/core/all-versions/default/include/core/default/
DStreamIn.h66 Return<Result> setSampleRate(uint32_t sampleRateHz) override;
DPrimaryDevice.h118 Return<Result> setBtHfpSampleRate(uint32_t sampleRateHz) override;
DStreamOut.h66 Return<Result> setSampleRate(uint32_t sampleRateHz) override;
DStream.h69 Return<Result> setSampleRate(uint32_t sampleRateHz) override;
/hardware/interfaces/audio/core/all-versions/vts/functional/4.0/
DAudioPrimaryHidlHalTest.cpp64 config.sampleRateHz = 8000; in TEST_F()
/hardware/interfaces/audio/common/2.0/
Dtypes.hal724 uint32_t sampleRateHz;
741 uint32_t sampleRateHz;
871 uint32_t sampleRateHz;
/hardware/interfaces/audio/common/4.0/
Dtypes.hal685 uint32_t sampleRateHz;
702 uint32_t sampleRateHz;
831 uint32_t sampleRateHz;
/hardware/interfaces/audio/common/5.0/
Dtypes.hal773 uint32_t sampleRateHz;
790 uint32_t sampleRateHz;
960 uint32_t sampleRateHz;
/hardware/interfaces/soundtrigger/2.0/default/
DSoundTriggerHalImpl.cpp465 event->audioConfig.sampleRateHz = halEvent->audio_config.sample_rate; in convertRecognitionEventFromHal()
/hardware/interfaces/soundtrigger/2.2/default/
DSoundTriggerHw.cpp489 event->audioConfig.sampleRateHz = halEvent->audio_config.sample_rate; in convertRecognitionEventFromHal()