Home
last modified time | relevance | path

Searched refs:ISoundDose (Results 1 – 25 of 25) sorted by relevance

/frameworks/av/services/audioflinger/sounddose/tests/
Dsounddosemanager_tests.cpp40 (const std::shared_ptr<ISoundDose::IHalSoundDoseCallback>&), (override));
72 EXPECT_EQ(rs2, ISoundDose::DEFAULT_MAX_RS2); in SetUp()
77 EXPECT_EQ(rs2, ISoundDose::DEFAULT_MAX_RS2); in SetUp()
162 .WillOnce([&] (const std::shared_ptr<ISoundDose::IHalSoundDoseCallback>& callback) { in TEST_F()
180 .WillOnce([&] (const std::shared_ptr<ISoundDose::IHalSoundDoseCallback>& callback) { in TEST_F()
187 .WillOnce([&] (const std::shared_ptr<ISoundDose::IHalSoundDoseCallback>& callback) { in TEST_F()
198 std::shared_ptr<ISoundDose::IHalSoundDoseCallback> halCallback; in TEST_F()
203 .WillOnce([&] (const std::shared_ptr<ISoundDose::IHalSoundDoseCallback>& callback) { in TEST_F()
219 std::shared_ptr<ISoundDose::IHalSoundDoseCallback> halCallback; in TEST_F()
224 .WillOnce([&] (const std::shared_ptr<ISoundDose::IHalSoundDoseCallback>& callback) { in TEST_F()
[all …]
/frameworks/av/services/audioflinger/sounddose/
DSoundDoseManager.h33 using aidl::android::hardware::audio::core::sounddose::ISoundDose;
103 sp<media::ISoundDose> getSoundDoseInterface(const sp<media::ISoundDoseCallback>& callback);
111 const std::shared_ptr<ISoundDose> &halSoundDose);
130 const std::vector<media::ISoundDose::AudioDeviceCategory>& deviceCategories);
133 const media::ISoundDose::AudioDeviceCategory& audioDevice);
182 const std::vector<media::ISoundDose::AudioDeviceCategory> &btDeviceCategories)
186 const media::ISoundDose::AudioDeviceCategory& btAudioDevice) override;
197 class HalSoundDoseCallback : public ISoundDose::BnHalSoundDoseCallback {
206 const ISoundDose::IHalSoundDoseCallback::MelRecord& in_melRecord,
264 std::unordered_map<std::string, std::shared_ptr<ISoundDose>> mHalSoundDose GUARDED_BY(mLock);
DSoundDoseManager.cpp94 const std::shared_ptr<ISoundDose> &halSoundDose) { in setHalSoundDoseInterface()
301 const ISoundDose::IHalSoundDoseCallback::MelRecord& in_melRecord, in onNewMelValues()
379 const std::vector<media::ISoundDose::AudioDeviceCategory>& btDeviceCategories) { in initCachedAudioDeviceCategories()
388 const media::ISoundDose::AudioDeviceCategory& btAudioDevice) { in setAudioDeviceCategory()
489 const std::vector<media::ISoundDose::AudioDeviceCategory>& deviceCategories) { in initCachedAudioDeviceCategories()
501 const media::ISoundDose::AudioDeviceCategory& audioDevice) { in setAudioDeviceCategory()
760 sp<media::ISoundDose> SoundDoseManager::getSoundDoseInterface( in getSoundDoseInterface()
/frameworks/base/services/core/java/com/android/server/audio/
DSoundDoseHelper.java39 import android.media.ISoundDose;
218 private final ArrayList<ISoundDose.AudioDeviceCategory> mCachedAudioDeviceCategories =
223 private final AtomicReference<ISoundDose> mSoundDose = new AtomicReference<>();
364 final ISoundDose soundDose = mSoundDose.get(); in getOutputRs2UpperBound()
383 final ISoundDose soundDose = mSoundDose.get(); in setOutputRs2UpperBound()
413 final ISoundDose soundDose = mSoundDose.get(); in getCsd()
451 final ISoundDose soundDose = mSoundDose.get(); in setCsd()
485 final ISoundDose soundDose = mSoundDose.get(); in forceUseFrameworkMel()
506 final ISoundDose soundDose = mSoundDose.get(); in forceComputeCsdOnAllDevices()
524 final ISoundDose soundDose = mSoundDose.get(); in isCsdEnabled()
[all …]
DAudioSystemAdapter.java26 import android.media.ISoundDose;
708 public ISoundDose getSoundDoseInterface(ISoundDoseCallback callback) { in getSoundDoseInterface()
/frameworks/av/services/audioflinger/
DMelReporter.cpp27 using aidl::android::hardware::audio::core::sounddose::ISoundDose;
52 std::shared_ptr<ISoundDose> soundDoseInterface = ISoundDose::fromBinder(soundDoseBinder); in activateHalSoundDoseComputation()
254 sp<media::ISoundDose> MelReporter::getSoundDoseInterface( in getSoundDoseInterface()
DMelReporter.h77 sp<media::ISoundDose> getSoundDoseInterface(const sp<media::ISoundDoseCallback>& callback);
DAudioFlinger.h253 sp<media::ISoundDose>* soundDose) const final EXCLUDES_AudioFlinger_Mutex;
DAudioFlinger.cpp1633 sp<media::ISoundDose>* soundDose) const { in getSoundDoseInterface()
/frameworks/av/media/libaudioclient/aidl/android/media/
DISoundDose.aidl25 interface ISoundDose { interface
DIAudioFlingerService.aidl40 import android.media.ISoundDose;
279 ISoundDose getSoundDoseInterface(in ISoundDoseCallback callback); in getSoundDoseInterface()
/frameworks/av/media/libaudioclient/aidl/fuzzer/libaudiomockhal/include/sounddose-mock/
DSoundDoseMock.h33 const std::shared_ptr<ISoundDose::IHalSoundDoseCallback>&) override { in registerSoundDoseCallback()
/frameworks/av/media/libaudioclient/aidl/fuzzer/libaudiomockhal/
DModuleMock.cpp108 ndk::ScopedAStatus ModuleMock::getSoundDose(std::shared_ptr<ISoundDose>* _aidl_return) { in getSoundDose()
/frameworks/av/media/libaudioclient/aidl/fuzzer/libaudiomockhal/include/core-mock/
DModuleMock.h45 ndk::ScopedAStatus getSoundDose(std::shared_ptr<ISoundDose>*) override;
/frameworks/av/media/libaudioclient/
DAndroid.bp414 "aidl/android/media/ISoundDose.aidl",
522 "aidl/android/media/ISoundDose.aidl",
DIAudioFlinger.cpp883 sp<media::ISoundDose>* soundDose) const { in getSoundDoseInterface()
1461 sp<media::ISoundDose>* soundDose) in getSoundDoseInterface()
DAudioSystem.cpp2528 sp<media::ISoundDose>* soundDose) { in getSoundDoseInterface()
/frameworks/av/media/libaudiohal/impl/
DDeviceHalAidl.h243 const std::shared_ptr<::aidl::android::hardware::audio::core::sounddose::ISoundDose> mSoundDose;
DDeviceHalHidl.cpp46 using aidl::android::hardware::audio::core::sounddose::ISoundDose;
68 std::shared_ptr<ISoundDose> mSoundDose;
DDeviceHalAidl.cpp63 using aidl::android::hardware::audio::core::sounddose::ISoundDose;
112 mSoundDose(retrieveSubInterface<ISoundDose>(module, &IModule::getSoundDose)), in DeviceHalAidl()
/frameworks/av/media/libaudioclient/include/media/
DIAudioFlinger.h378 sp<media::ISoundDose>* soundDose) const = 0;
508 sp<media::ISoundDose>* soundDose) const override;
751 sp<media::ISoundDose>* _aidl_return) override;
DAudioSystem.h644 sp<media::ISoundDose>* soundDose);
/frameworks/base/media/java/android/media/
DAudioSystem.java2413 public static ISoundDose getSoundDoseInterface(ISoundDoseCallback callback) { in getSoundDoseInterface()
2414 return ISoundDose.Stub.asInterface(nativeGetSoundDose(callback)); in getSoundDoseInterface()
/frameworks/av/media/libaudiohal/tests/
DCoreAudioHalAidl_test.cpp433 std::shared_ptr<::aidl::android::hardware::audio::core::sounddose::ISoundDose>*) in getSoundDose() argument
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp3110 sp<media::ISoundDose> nSoundDose; in android_media_AudioSystem_nativeGetSoundDose()