Lines Matching defs:root
126 void ConfigParsingUtils::loadHwModule(cnode *root, HwModuleCollection &hwModules,
134 sp<HwModule> module = new HwModule(root->name);
136 node = config_find(root, DEVICES_TAG);
148 node = config_find(root, OUTPUTS_TAG);
160 node = config_find(root, INPUTS_TAG);
172 loadGlobalConfig(root, module, availableInputDevices, availableOutputDevices,
181 void ConfigParsingUtils::loadHwModules(cnode *root, HwModuleCollection &hwModules,
187 cnode *node = config_find(root, AUDIO_HW_MODULE_TAG);
202 void ConfigParsingUtils::loadGlobalConfig(cnode *root, const sp<HwModule>& module,
208 cnode *node = config_find(root, GLOBAL_CONFIG_TAG);
262 cnode *root;
269 root = config_node("", "");
270 config_load(root, data);
272 loadHwModules(root, hwModules,
276 loadGlobalConfig(root, hwModules.getModuleFromName(AUDIO_HARDWARE_MODULE_ID_PRIMARY),
279 config_free(root);
280 free(root);