Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DHwModule.cpp28 HwModule::HwModule(const char *name, uint32_t halVersion) in HwModule() function in android::HwModule
35 HwModule::~HwModule() in ~HwModule()
45 status_t HwModule::addOutputProfile(String8 name, const audio_config_t *config, in addOutputProfile()
60 status_t HwModule::addOutputProfile(const sp<IOProfile> &profile) in addOutputProfile()
68 status_t HwModule::addInputProfile(const sp<IOProfile> &profile) in addInputProfile()
76 status_t HwModule::addProfile(const sp<IOProfile> &profile) in addProfile()
89 void HwModule::setProfiles(const IOProfileCollection &profiles) in setProfiles()
96 status_t HwModule::removeOutputProfile(String8 name) in removeOutputProfile()
108 status_t HwModule::addInputProfile(String8 name, const audio_config_t *config, in addInputProfile()
125 status_t HwModule::removeInputProfile(String8 name) in removeInputProfile()
[all …]
DConfigParsingUtils.cpp150 status_t ConfigParsingUtils::loadHwModuleProfile(cnode *root, sp<HwModule> &module, in loadHwModuleProfile()
221 status_t ConfigParsingUtils::loadHwModule(cnode *root, sp<HwModule> &module, in loadHwModule()
279 sp<HwModule> module = new HwModule(node->name); in loadHwModules()
320 void ConfigParsingUtils::loadModuleGlobalConfig(cnode *root, const sp<HwModule> &module, in loadModuleGlobalConfig()
369 const sp<HwModule>& primaryModule) in loadGlobalConfig()
DDeviceDescriptor.cpp43 void DeviceDescriptor::attach(const sp<HwModule>& module) in attach()
DAudioPort.cpp34 void AudioPort::attach(const sp<HwModule>& module) in attach()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DHwModule.h40 class HwModule : public RefBase
43 HwModule(const char *name, uint32_t halVersion = AUDIO_DEVICE_API_VERSION_MIN);
44 ~HwModule();
100 class HwModuleCollection : public Vector<sp<HwModule> >
103 sp<HwModule> getModuleFromName(const char *name) const;
105 sp<HwModule> getModuleForDevice(audio_devices_t device) const;
DConfigParsingUtils.h47 static status_t loadHwModuleProfile(cnode *root, sp<HwModule> &module, audio_port_role_t role);
53 const sp<HwModule> &primaryModule);
54 static void loadModuleGlobalConfig(cnode *root, const sp<HwModule> &module,
56 static status_t loadHwModule(cnode *root, sp<HwModule> &module, AudioPolicyConfig &config);
DAudioPort.h30 class HwModule; variable
66 virtual void attach(const sp<HwModule>& module);
143 sp<HwModule> mModule; // audio HW module exposing this I/O stream
DAudioPolicyConfig.h110 sp<HwModule> module; in setDefault()
115 module = new HwModule("primary"); in setDefault()
DSerializer.h146 typedef HwModule *PtrSerializingCtx;
167 typedef HwModule Element;
DIOProfile.h26 class HwModule; variable
DDeviceDescriptor.h49 virtual void attach(const sp<HwModule>& module);
/frameworks/av/services/audiopolicy/common/managerdefinitions/
DAndroid.mk8 src/HwModule.cpp \
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp103 sp<HwModule> module = mHwModules.getModuleForDevice(device); in setDeviceConnectionStateInt()
223 sp<HwModule> module = mHwModules.getModuleForDevice(device); in setDeviceConnectionStateInt()
2083 sp<HwModule> rSubmixModule; in registerPolicyMixes()
2185 sp<HwModule> rSubmixModule; in unregisterPolicyMixes()