Lines Matching refs:mHwModules
79 mHwModules.getDeviceDescriptor(device, device_address, device_name);
103 sp<HwModule> module = mHwModules.getModuleForDevice(device);
223 sp<HwModule> module = mHwModules.getModuleForDevice(device);
301 mHwModules.getDeviceDescriptor(device, device_address, "",
655 for (size_t i = 0; i < mHwModules.size(); i++) {
656 if (mHwModules[i]->mHandle == 0) {
659 for (size_t j = 0; j < mHwModules[i]->mOutputProfiles.size(); j++) {
660 sp<IOProfile> curProfile = mHwModules[i]->mOutputProfiles[j];
2094 for (size_t j = 0; i < mHwModules.size(); j++) {
2095 if (strcmp(AUDIO_HARDWARE_MODULE_ID_REMOTE_SUBMIX, mHwModules[j]->mName) == 0
2096 && mHwModules[j]->mHandle != 0) {
2097 rSubmixModule = mHwModules[j];
2191 for (size_t j = 0; i < mHwModules.size(); j++) {
2192 if (strcmp(AUDIO_HARDWARE_MODULE_ID_REMOTE_SUBMIX, mHwModules[j]->mName) == 0
2193 && mHwModules[j]->mHandle != 0) {
2194 rSubmixModule = mHwModules[j];
2277 mHwModules.dump(fd);
3188 AudioPolicyConfig config(mHwModules, mAvailableOutputDevices, mAvailableInputDevices,
3195 AudioPolicyConfig config(mHwModules, mAvailableOutputDevices, mAvailableInputDevices,
3227 for (size_t i = 0; i < mHwModules.size(); i++) {
3228 mHwModules[i]->mHandle = mpClientInterface->loadHwModule(mHwModules[i]->getName());
3229 if (mHwModules[i]->mHandle == 0) {
3230 ALOGW("could not open HW module %s", mHwModules[i]->getName());
3237 for (size_t j = 0; j < mHwModules[i]->mOutputProfiles.size(); j++)
3239 const sp<IOProfile> outProfile = mHwModules[i]->mOutputProfiles[j];
3242 ALOGW("Output profile contains no device on module %s", mHwModules[i]->getName());
3287 mHwModules[i]->getName());
3297 mAvailableOutputDevices[index]->attach(mHwModules[i]);
3315 for (size_t j = 0; j < mHwModules[i]->mInputProfiles.size(); j++)
3317 const sp<IOProfile> inProfile = mHwModules[i]->mInputProfiles[j];
3320 ALOGW("Input profile contains no device on module %s", mHwModules[i]->getName());
3364 devDesc->attach(mHwModules[i]);
3373 mHwModules[i]->getName());
3449 mHwModules.clear();
3679 for (size_t i = 0; i < mHwModules.size(); i++)
3681 if (mHwModules[i]->mHandle == 0) {
3684 for (size_t j = 0; j < mHwModules[i]->mOutputProfiles.size(); j++)
3686 sp<IOProfile> profile = mHwModules[i]->mOutputProfiles[j];
3877 for (size_t i = 0; i < mHwModules.size(); i++)
3879 if (mHwModules[i]->mHandle == 0) {
3882 for (size_t j = 0; j < mHwModules[i]->mOutputProfiles.size(); j++)
3884 sp<IOProfile> profile = mHwModules[i]->mOutputProfiles[j];
3921 for (size_t module_idx = 0; module_idx < mHwModules.size(); module_idx++)
3923 if (mHwModules[module_idx]->mHandle == 0) {
3927 profile_index < mHwModules[module_idx]->mInputProfiles.size();
3930 sp<IOProfile> profile = mHwModules[module_idx]->mInputProfiles[profile_index];
4035 for (size_t module_index = 0; module_index < mHwModules.size(); module_index++) {
4036 if (mHwModules[module_index]->mHandle == 0) {
4040 profile_index < mHwModules[module_index]->mInputProfiles.size();
4042 sp<IOProfile> profile = mHwModules[module_index]->mInputProfiles[profile_index];
4885 for (size_t i = 0; i < mHwModules.size(); i++)
4887 if (mHwModules[i]->mHandle == 0) {
4890 for (size_t j = 0; j < mHwModules[i]->mInputProfiles.size(); j++)
4892 sp<IOProfile> profile = mHwModules[i]->mInputProfiles[j];