Searched refs:HwModule (Results 1 – 14 of 14) sorted by relevance
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | HwModule.cpp | 27 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 …]
|
D | PolicyAudioPort.cpp | 31 void PolicyAudioPort::attach(const sp<HwModule>& module) in attach()
|
D | Serializer.cpp | 168 typedef HwModule *PtrSerializingCtx; 173 struct ModuleTraits : public AndroidCollectionTraits<HwModule, HwModuleCollection> 616 Element module = new HwModule(name.c_str(), versionMajor, versionMinor); in deserialize()
|
D | DeviceDescriptor.cpp | 69 void DeviceDescriptor::attach(const sp<HwModule>& module) in attach()
|
D | AudioOutputDescriptor.cpp | 756 sp<HwModule> primaryHwModule = primaryOutput->mProfile->getModule(); in isA2dpOffloadedOnPrimary()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | HwModule.h | 39 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,
|
D | PolicyAudioPort.h | 33 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
|
D | AudioPolicyConfig.h | 140 sp<HwModule> module = new HwModule(AUDIO_HARDWARE_MODULE_ID_PRIMARY, 2 /*halVersionMajor*/); in setDefault()
|
D | IOProfile.h | 28 class HwModule; variable
|
D | DeviceDescriptor.h | 83 virtual void attach(const sp<HwModule>& module);
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/ |
D | Android.bp | 15 "src/HwModule.cpp",
|
/frameworks/av/services/audiopolicy/tests/ |
D | audiopolicymanager_tests.cpp | 348 sp<HwModule> msdModule = new HwModule(AUDIO_HARDWARE_MODULE_ID_MSD, 2 /*halVersionMajor*/); in SetUpManagerConfig()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 445 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()
|
D | AudioPolicyManager.h | 646 bool isPrimaryModule(const sp<HwModule> &module) const in isPrimaryModule()
|