Home
last modified time | relevance | path

Searched refs:HwModule (Results 1 – 14 of 14) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DHwModule.cpp27 HwModule::HwModule(const char *name, uint32_t halVersionMajor, uint32_t halVersionMinor) in HwModule() function in android::HwModule
34 HwModule::~HwModule() in ~HwModule()
44 status_t HwModule::addOutputProfile(const std::string& name, const audio_config_t *config, in addOutputProfile()
61 status_t HwModule::addOutputProfile(const sp<IOProfile> &profile) in addOutputProfile()
69 status_t HwModule::addInputProfile(const sp<IOProfile> &profile) in addInputProfile()
77 status_t HwModule::addProfile(const sp<IOProfile> &profile) in addProfile()
90 void HwModule::setProfiles(const IOProfileCollection &profiles) in setProfiles()
97 status_t HwModule::removeOutputProfile(const std::string& name) in removeOutputProfile()
112 status_t HwModule::addInputProfile(const std::string& name, const audio_config_t *config, in addInputProfile()
131 status_t HwModule::removeInputProfile(const std::string& name) in removeInputProfile()
[all …]
DPolicyAudioPort.cpp31 void PolicyAudioPort::attach(const sp<HwModule>& module) in attach()
DSerializer.cpp168 typedef HwModule *PtrSerializingCtx;
173 struct ModuleTraits : public AndroidCollectionTraits<HwModule, HwModuleCollection>
616 Element module = new HwModule(name.c_str(), versionMajor, versionMinor); in deserialize()
DDeviceDescriptor.cpp69 void DeviceDescriptor::attach(const sp<HwModule>& module) in attach()
DAudioOutputDescriptor.cpp756 sp<HwModule> primaryHwModule = primaryOutput->mProfile->getModule(); in isA2dpOffloadedOnPrimary()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DHwModule.h39 class HwModule : public RefBase
42 explicit HwModule(const char *name, uint32_t halVersionMajor = 0, uint32_t halVersionMinor = 0);
43 ~HwModule();
129 class HwModuleCollection : public Vector<sp<HwModule> >
132 sp<HwModule> getModuleFromName(const char *name) const;
134 sp<HwModule> getModuleForDeviceType(audio_devices_t device,
137 sp<HwModule> getModuleForDevice(const sp<DeviceDescriptor> &device,
DPolicyAudioPort.h33 class HwModule; variable
60 virtual void attach(const sp<HwModule>& module);
101 sp<HwModule> getModule() const { return mModule; } in getModule()
128 sp<HwModule> mModule; // audio HW module exposing this I/O stream
DAudioPolicyConfig.h140 sp<HwModule> module = new HwModule(AUDIO_HARDWARE_MODULE_ID_PRIMARY, 2 /*halVersionMajor*/); in setDefault()
DIOProfile.h28 class HwModule; variable
DDeviceDescriptor.h83 virtual void attach(const sp<HwModule>& module);
/frameworks/av/services/audiopolicy/common/managerdefinitions/
DAndroid.bp15 "src/HwModule.cpp",
/frameworks/av/services/audiopolicy/tests/
Daudiopolicymanager_tests.cpp348 sp<HwModule> msdModule = new HwModule(AUDIO_HARDWARE_MODULE_ID_MSD, 2 /*halVersionMajor*/); in SetUpManagerConfig()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp445 sp<HwModule> module = mHwModules.getModuleForDeviceType(device, encodedFormat); in handleDeviceConfigChange()
495 sp<HwModule> primaryModule = in getHwOffloadEncodingFormatsSupportedForA2DP()
635 sp<HwModule> module = mHwModules.getModuleFromName(moduleId); in isDeviceOfModule()
1324 sp<HwModule> msdModule = mHwModules.getModuleFromName(AUDIO_HARDWARE_MODULE_ID_MSD); in getMsdPatches()
1343 sp<HwModule> msdModule = mHwModules.getModuleFromName(AUDIO_HARDWARE_MODULE_ID_MSD); in getBestMsdAudioProfileFor()
1348 sp<HwModule> deviceModule = mHwModules.getModuleForDevice(outputDevice, AUDIO_FORMAT_DEFAULT); in getBestMsdAudioProfileFor()
2882 sp<HwModule> rSubmixModule; in registerPolicyMixes()
2974 sp<HwModule> module = mHwModules[i]; in registerPolicyMixes()
3019 sp<HwModule> rSubmixModule; in unregisterPolicyMixes()
DAudioPolicyManager.h646 bool isPrimaryModule(const sp<HwModule> &module) const in isPrimaryModule()