Lines Matching refs:section_name
95 char section_name[16] = { 0 };
96 snprintf(section_name, sizeof(section_name), "DID%d", i);
98 if (!config_has_section(config, section_name)) {
99 ALOGD("%s no section named %s.", __func__, section_name);
104 record.vendor = config_get_int(config, section_name, "vendorId", LMP_COMPID_BROADCOM);
105 record.vendor_id_source = config_get_int(config, section_name, "vendorIdSource", DI_VENDOR_ID_SOURCE_BTSIG);
106 record.product = config_get_int(config, section_name, "productId", 0);
107 record.version = config_get_int(config, section_name, "version", 0);
108 record.primary_record = config_get_bool(config, section_name, "primaryRecord", false);
109 strlcpy(record.client_executable_url, config_get_string(config, section_name, "clientExecutableURL", ""), sizeof(record.client_executable_url));
110 strlcpy(record.service_description, config_get_string(config, section_name, "serviceDescription", ""), sizeof(record.service_description));
111 strlcpy(record.documentation_url, config_get_string(config, section_name, "documentationURL", ""), sizeof(record.documentation_url));