Home | History | Annotate | Download | only in managerdefault

Lines Matching refs:mHwModules

92             mHwModules.getDeviceDescriptor(device, device_address, device_name);
116 sp<HwModule> module = mHwModules.getModuleForDevice(device);
236 sp<HwModule> module = mHwModules.getModuleForDevice(device);
314 mHwModules.getDeviceDescriptor(device, device_address, "",
352 mHwModules.getDeviceDescriptor(device, device_address, device_name);
718 for (size_t i = 0; i < mHwModules.size(); i++) {
719 if (mHwModules[i]->mHandle == 0) {
722 for (size_t j = 0; j < mHwModules[i]->mOutputProfiles.size(); j++) {
723 sp<IOProfile> curProfile = mHwModules[i]->mOutputProfiles[j];
2349 for (size_t j = 0; i < mHwModules.size(); j++) {
2350 if (strcmp(AUDIO_HARDWARE_MODULE_ID_REMOTE_SUBMIX, mHwModules[j]->mName) == 0
2351 && mHwModules[j]->mHandle != 0) {
2352 rSubmixModule = mHwModules[j];
2446 for (size_t j = 0; i < mHwModules.size(); j++) {
2447 if (strcmp(AUDIO_HARDWARE_MODULE_ID_REMOTE_SUBMIX, mHwModules[j]->mName) == 0
2448 && mHwModules[j]->mHandle != 0) {
2449 rSubmixModule = mHwModules[j];
2534 mHwModules.dump(fd);
3474 AudioPolicyConfig config(mHwModules, mAvailableOutputDevices, mAvailableInputDevices,
3480 AudioPolicyConfig config(mHwModules, mAvailableOutputDevices, mAvailableInputDevices,
3512 for (size_t i = 0; i < mHwModules.size(); i++) {
3513 mHwModules[i]->mHandle = mpClientInterface->loadHwModule(mHwModules[i]->getName());
3514 if (mHwModules[i]->mHandle == 0) {
3515 ALOGW("could not open HW module %s", mHwModules[i]->getName());
3522 for (size_t j = 0; j < mHwModules[i]->mOutputProfiles.size(); j++)
3524 const sp<IOProfile> outProfile = mHwModules[i]->mOutputProfiles[j];
3527 ALOGW("Output profile contains no device on module %s", mHwModules[i]->getName());
3572 mHwModules[i]->getName());
3582 mAvailableOutputDevices[index]->attach(mHwModules[i]);
3600 for (size_t j = 0; j < mHwModules[i]->mInputProfiles.size(); j++)
3602 const sp<IOProfile> inProfile = mHwModules[i]->mInputProfiles[j];
3605 ALOGW("Input profile contains no device on module %s", mHwModules[i]->getName());
3649 devDesc->attach(mHwModules[i]);
3658 mHwModules[i]->getName());
3734 mHwModules.clear();
3966 for (size_t i = 0; i < mHwModules.size(); i++)
3968 if (mHwModules[i]->mHandle == 0) {
3971 for (size_t j = 0; j < mHwModules[i]->mOutputProfiles.size(); j++)
3973 sp<IOProfile> profile = mHwModules[i]->mOutputProfiles[j];
4164 for (size_t i = 0; i < mHwModules.size(); i++)
4166 if (mHwModules[i]->mHandle == 0) {
4169 for (size_t j = 0; j < mHwModules[i]->mOutputProfiles.size(); j++)
4171 sp<IOProfile> profile = mHwModules[i]->mOutputProfiles[j];
4208 for (size_t module_idx = 0; module_idx < mHwModules.size(); module_idx++)
4210 if (mHwModules[module_idx]->mHandle == 0) {
4214 profile_index < mHwModules[module_idx]->mInputProfiles.size();
4217 sp<IOProfile> profile = mHwModules[module_idx]->mInputProfiles[profile_index];
4322 for (size_t module_index = 0; module_index < mHwModules.size(); module_index++) {
4323 if (mHwModules[module_index]->mHandle == 0) {
4327 profile_index < mHwModules[module_index]->mInputProfiles.size();
4329 sp<IOProfile> profile = mHwModules[module_index]->mInputProfiles[profile_index];
5163 for (size_t i = 0; i < mHwModules.size(); i++)
5165 if (mHwModules[i]->mHandle == 0) {
5168 for (size_t j = 0; j < mHwModules[i]->mInputProfiles.size(); j++)
5170 sp<IOProfile> profile = mHwModules[i]->mInputProfiles[j];