Home
last modified time | relevance | path

Searched refs:mHalSoundDose (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/services/audioflinger/sounddose/tests/
Dsounddosemanager_tests.cpp67 mHalSoundDose = ndk::SharedRefBase::make<HalSoundDoseMock>(); in SetUp()
70 ON_CALL(*mHalSoundDose.get(), setOutputRs2UpperBound) in SetUp()
85 std::shared_ptr<HalSoundDoseMock> mHalSoundDose; member in android::__anon13a6eb470111::SoundDoseManagerTest
159 EXPECT_CALL(*mHalSoundDose.get(), setOutputRs2UpperBound).Times(1); in TEST_F()
160 EXPECT_CALL(*mHalSoundDose.get(), registerSoundDoseCallback) in TEST_F()
167 EXPECT_TRUE(mSoundDoseManager->setHalSoundDoseInterface(kPrimaryModule, mHalSoundDose)); in TEST_F()
177 EXPECT_CALL(*mHalSoundDose.get(), setOutputRs2UpperBound).Times(1); in TEST_F()
178 EXPECT_CALL(*mHalSoundDose.get(), registerSoundDoseCallback) in TEST_F()
192 EXPECT_TRUE(mSoundDoseManager->setHalSoundDoseInterface(kPrimaryModule, mHalSoundDose)); in TEST_F()
200 EXPECT_CALL(*mHalSoundDose.get(), setOutputRs2UpperBound).Times(1); in TEST_F()
[all …]
/frameworks/av/services/audioflinger/sounddose/
DSoundDoseManager.cpp60 if (!mUseFrameworkMel && mHalSoundDose.size() > 0 && mEnabledCsd) { in getOrCreateProcessorForDevice()
106 if (mHalSoundDose.find(module) != mHalSoundDose.end()) { in setHalSoundDoseInterface()
111 mHalSoundDose[module] = halSoundDose; in setHalSoundDoseInterface()
143 mHalSoundDose.clear(); in resetHalSoundDoseInterfaces()
150 if (!mUseFrameworkMel && mHalSoundDose.size() > 0) { in setOutputRs2UpperBound()
152 for (auto& halSoundDose : mHalSoundDose) { in setOutputRs2UpperBound()
165 for (auto& halSoundDose : mHalSoundDose) { in setOutputRs2UpperBound()
598 if (mHalSoundDose.size() != 0) { in setComputeCsdOnAllDevices()
626 return !mUseFrameworkMel && mHalSoundDose.size() > 0; in useHalSoundDose()
DSoundDoseManager.h264 std::unordered_map<std::string, std::shared_ptr<ISoundDose>> mHalSoundDose GUARDED_BY(mLock);