Home
last modified time | relevance | path

Searched refs:SoundDose (Results 1 – 5 of 5) sorted by relevance

/hardware/interfaces/audio/aidl/default/
DSoundDose.cpp33 ndk::ScopedAStatus SoundDose::setOutputRs2UpperBound(float in_rs2ValueDbA) { in setOutputRs2UpperBound()
47 ndk::ScopedAStatus SoundDose::getOutputRs2UpperBound(float* _aidl_return) { in getOutputRs2UpperBound()
54 ndk::ScopedAStatus SoundDose::registerSoundDoseCallback( in registerSoundDoseCallback()
73 void SoundDose::setAudioDevice(const AudioDevice& audioDevice) { in setAudioDevice()
78 void SoundDose::startDataProcessor(uint32_t sampleRate, uint32_t channelCount, in startDataProcessor()
93 void SoundDose::process(const void* buffer, size_t bytes) { in process()
100 void SoundDose::onNewMelValues(const std::vector<float>& mels, size_t offset, size_t length, in onNewMelValues()
119 void SoundDose::MelCallback::onNewMelValues(const std::vector<float>& mels, size_t offset, in onNewMelValues()
127 void SoundDose::onMomentaryExposure(float currentMel, audio_port_handle_t deviceId in onMomentaryExposure()
142 void SoundDose::MelCallback::onMomentaryExposure(float currentMel, audio_port_handle_t deviceId in onMomentaryExposure()
DAndroid.bp62 "SoundDose.cpp",
DModule.cpp1371 mSoundDose = ndk::SharedRefBase::make<sounddose::SoundDose>(); in getSoundDose()
/hardware/interfaces/audio/aidl/default/include/core-impl/
DSoundDose.h42 class SoundDose final : public BnSoundDose, public StreamDataProcessorInterface {
44 SoundDose() : mMelCallback(::android::sp<MelCallback>::make(this)){}; in SoundDose() function
63 explicit MelCallback(SoundDose* soundDose) : mSoundDose(*soundDose) {} in MelCallback()
70 SoundDose& mSoundDose; // must outlive MelCallback, not owning
DModule.h172 ChildInterface<sounddose::SoundDose> mSoundDose;