Searched refs:leveldB (Results 1 – 15 of 15) sorted by relevance
125 status_t AudioValidator::validateAudioDescriptionMixLevel(float leveldB) in validateAudioDescriptionMixLevel() argument128 return std::isnan(leveldB) || leveldB > MAX_AUDIO_DESCRIPTION_MIX_LEVEL ? BAD_VALUE : OK; in validateAudioDescriptionMixLevel()
114 float leveldB; in TEST() local115 if (OK != ap->getAudioTrackHandle()->getAudioDescriptionMixLevel(&leveldB)) { in TEST()121 EXPECT_EQ(OK, ap->getAudioTrackHandle()->getAudioDescriptionMixLevel(&leveldB)); in TEST()122 EXPECT_EQ(3.14f, leveldB); in TEST()
80 static status_t validateAudioDescriptionMixLevel(float leveldB);
105 void setAudioDescriptionMixLevel(float leveldB); in setAudioDescriptionMixLevel() argument
238 virtual status_t getAudioDescriptionMixLevel(float* leveldB) = 0;241 virtual status_t setAudioDescriptionMixLevel(float leveldB) = 0;
192 status_t getAudioDescriptionMixLevel(float* leveldB) override;195 status_t setAudioDescriptionMixLevel(float leveldB) override;
765 status_t StreamOutHalHidl::getAudioDescriptionMixLevel(float* leveldB __unused) { in getAudioDescriptionMixLevel()769 status_t StreamOutHalHidl::setAudioDescriptionMixLevel(float leveldB __unused) { in setAudioDescriptionMixLevel()812 status_t StreamOutHalHidl::getAudioDescriptionMixLevel(float* leveldB) { in getAudioDescriptionMixLevel() argument820 *leveldB = hidlLeveldB; in getAudioDescriptionMixLevel()826 status_t StreamOutHalHidl::setAudioDescriptionMixLevel(float leveldB) { in setAudioDescriptionMixLevel() argument830 "setAudioDescriptionMixLevel", mStream->setAudioDescriptionMixLevel(leveldB)); in setAudioDescriptionMixLevel()
860 status_t StreamOutHalAidl::getAudioDescriptionMixLevel(float* leveldB) { in getAudioDescriptionMixLevel() argument863 if (leveldB == nullptr) { in getAudioDescriptionMixLevel()866 return statusTFromBinderStatus(mStream->getAudioDescriptionMixLevel(leveldB)); in getAudioDescriptionMixLevel()869 status_t StreamOutHalAidl::setAudioDescriptionMixLevel(float leveldB) { in setAudioDescriptionMixLevel() argument872 return statusTFromBinderStatus(mStream->setAudioDescriptionMixLevel(leveldB)); in setAudioDescriptionMixLevel()
366 status_t getAudioDescriptionMixLevel(float* leveldB) override;369 status_t setAudioDescriptionMixLevel(float leveldB) override;
672 status_t setAudioDescriptionMixLevel(float leveldB);675 status_t getAudioDescriptionMixLevel(float* leveldB) const;1263 status_t setAudioDescriptionMixLevel_l(float leveldB);
372 binder::Status setAudioDescriptionMixLevel(float leveldB) final;525 float leveldB = -std::numeric_limits<float>::infinity(); in getAudioDescriptionMixLevel() local526 const status_t status = mTrack->getAudioDescriptionMixLevel(&leveldB) in getAudioDescriptionMixLevel()527 ?: AudioValidator::validateAudioDescriptionMixLevel(leveldB); in getAudioDescriptionMixLevel()528 if (status == OK) *_aidl_return = leveldB; in getAudioDescriptionMixLevel()532 Status TrackHandle::setAudioDescriptionMixLevel(float leveldB) in setAudioDescriptionMixLevel() argument534 return binderStatusFromStatusT(AudioValidator::validateAudioDescriptionMixLevel(leveldB) in setAudioDescriptionMixLevel()535 ?: mTrack->setAudioDescriptionMixLevel(leveldB)); in setAudioDescriptionMixLevel()1944 status_t Track::getAudioDescriptionMixLevel(float* leveldB) const in getAudioDescriptionMixLevel()1952 status = t->getOutput_l()->stream->getAudioDescriptionMixLevel(leveldB); in getAudioDescriptionMixLevel()[all …]
135 status_t getAudioDescriptionMixLevel(float* leveldB) const final;136 status_t setAudioDescriptionMixLevel(float leveldB) final;
312 virtual status_t getAudioDescriptionMixLevel(float* leveldB) const = 0;313 virtual status_t setAudioDescriptionMixLevel(float leveldB) = 0;
1253 status_t AudioTrack::setAudioDescriptionMixLevel(float leveldB) in setAudioDescriptionMixLevel() argument1256 return setAudioDescriptionMixLevel_l(leveldB); in setAudioDescriptionMixLevel()1259 status_t AudioTrack::setAudioDescriptionMixLevel_l(float leveldB) in setAudioDescriptionMixLevel_l() argument1262 mAudioTrack->setAudioDescriptionMixLevel(leveldB)); in setAudioDescriptionMixLevel_l()1263 if (status == NO_ERROR) mAudioDescriptionMixLeveldB = leveldB; in setAudioDescriptionMixLevel_l()1267 status_t AudioTrack::getAudioDescriptionMixLevel(float* leveldB) const in getAudioDescriptionMixLevel()1270 return statusTFromBinderStatus(mAudioTrack->getAudioDescriptionMixLevel(leveldB)); in getAudioDescriptionMixLevel()
3197 legacy.frequency_responses[1][legacy.num_frequency_responses++] = p.leveldB; in aidl2legacy_MicrophoneInfos_audio_microphone_characteristic_t()3269 aidlInfo->frequencyResponse[i].leveldB = legacy.frequency_responses[1][i]; in legacy2aidl_audio_microphone_characteristic_t_MicrophoneInfos()