Home
last modified time | relevance | path

Searched refs:ini_name (Results 1 – 5 of 5) sorted by relevance

/external/adhd/cras/src/server/config/
Dcras_board_config.c26 char ini_name[MAX_INI_NAME_LEN + 1]; in cras_board_config_get() local
36 snprintf(ini_name, MAX_INI_NAME_LEN, "%s/%s", config_path, CONFIG_NAME); in cras_board_config_get()
37 ini_name[MAX_INI_NAME_LEN] = '\0'; in cras_board_config_get()
38 ini = iniparser_load_wrapper(ini_name); in cras_board_config_get()
40 syslog(LOG_DEBUG, "No ini file %s", ini_name); in cras_board_config_get()
60 syslog(LOG_DEBUG, "Loaded ini file %s", ini_name); in cras_board_config_get()
Dcras_card_config.c64 char ini_name[MAX_INI_NAME_LEN + 1]; in cras_card_config_create() local
67 snprintf(ini_name, MAX_INI_NAME_LEN, "%s/%s", config_path, card_name); in cras_card_config_create()
68 ini_name[MAX_INI_NAME_LEN] = '\0'; in cras_card_config_create()
69 ini = iniparser_load_wrapper(ini_name); in cras_card_config_create()
71 syslog(LOG_DEBUG, "No ini file %s", ini_name); in cras_card_config_create()
82 syslog(LOG_DEBUG, "Loaded ini file %s", ini_name); in cras_card_config_create()
Dcras_device_blacklist.c26 char ini_name[MAX_INI_NAME_LEN + 1]; in cras_device_blacklist_create() local
32 snprintf(ini_name, MAX_INI_NAME_LEN, "%s/%s", config_path, in cras_device_blacklist_create()
34 ini_name[MAX_INI_NAME_LEN] = '\0'; in cras_device_blacklist_create()
35 blacklist->ini = iniparser_load_wrapper(ini_name); in cras_device_blacklist_create()
/external/adhd/cras/src/server/
Diniparser_wrapper.h13 static inline dictionary *iniparser_load_wrapper(const char *ini_name) in iniparser_load_wrapper() argument
16 int rc = stat(ini_name, &st); in iniparser_load_wrapper()
19 return iniparser_load(ini_name); in iniparser_load_wrapper()
Dcras_apm_list.c117 static char ini_name[MAX_INI_NAME_LEN + 1]; variable
460 snprintf(ini_name, MAX_INI_NAME_LEN, "%s/%s", config_dir, in get_aec_ini()
462 ini_name[MAX_INI_NAME_LEN] = '\0'; in get_aec_ini()
468 aec_ini = iniparser_load_wrapper(ini_name); in get_aec_ini()
470 syslog(LOG_INFO, "No aec ini file %s", ini_name); in get_aec_ini()
475 snprintf(ini_name, MAX_INI_NAME_LEN, "%s/%s", config_dir, in get_apm_ini()
477 ini_name[MAX_INI_NAME_LEN] = '\0'; in get_apm_ini()
483 apm_ini = iniparser_load_wrapper(ini_name); in get_apm_ini()
485 syslog(LOG_INFO, "No apm ini file %s", ini_name); in get_apm_ini()