Home
last modified time | relevance | path

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

/external/adhd/cras/src/server/config/
Dcras_card_config.c61 char ini_name[MAX_INI_NAME_LENGTH + 1]; in cras_card_config_create() local
64 snprintf(ini_name, MAX_INI_NAME_LENGTH, "%s/%s", config_path, in cras_card_config_create()
66 ini_name[MAX_INI_NAME_LENGTH] = '\0'; in cras_card_config_create()
67 ini = iniparser_load_wrapper(ini_name); in cras_card_config_create()
69 syslog(LOG_DEBUG, "No ini file %s", ini_name); in cras_card_config_create()
80 syslog(LOG_DEBUG, "Loaded ini file %s", ini_name); in cras_card_config_create()
Dcras_board_config.c31 char ini_name[MAX_INI_NAME_LENGTH + 1]; in cras_board_config_get() local
46 snprintf(ini_name, MAX_INI_NAME_LENGTH, "%s/%s", config_path, in cras_board_config_get()
48 ini_name[MAX_INI_NAME_LENGTH] = '\0'; in cras_board_config_get()
49 ini = iniparser_load_wrapper(ini_name); in cras_board_config_get()
51 syslog(LOG_DEBUG, "No ini file %s", ini_name); in cras_board_config_get()
96 syslog(LOG_DEBUG, "Loaded ini file %s", ini_name); in cras_board_config_get()
Dcras_device_blocklist.c22 char ini_name[MAX_INI_NAME_LENGTH + 1]; in cras_device_blocklist_create() local
28 snprintf(ini_name, MAX_INI_NAME_LENGTH, "%s/%s", config_path, in cras_device_blocklist_create()
30 ini_name[MAX_INI_NAME_LENGTH] = '\0'; in cras_device_blocklist_create()
31 blocklist->ini = iniparser_load_wrapper(ini_name); in cras_device_blocklist_create()
/external/adhd/cras/src/server/
Diniparser_wrapper.h21 static inline dictionary *iniparser_load_wrapper(const char *ini_name) in iniparser_load_wrapper() argument
24 int rc = stat(ini_name, &st); in iniparser_load_wrapper()
27 return iniparser_load(ini_name); in iniparser_load_wrapper()
Dcras_apm_list.c139 static char ini_name[MAX_INI_NAME_LENGTH + 1]; variable
530 snprintf(ini_name, MAX_INI_NAME_LENGTH, "%s/%s", config_dir, in get_aec_ini()
532 ini_name[MAX_INI_NAME_LENGTH] = '\0'; in get_aec_ini()
538 aec_ini = iniparser_load_wrapper(ini_name); in get_aec_ini()
540 syslog(LOG_INFO, "No aec ini file %s", ini_name); in get_aec_ini()
545 snprintf(ini_name, MAX_INI_NAME_LENGTH, "%s/%s", config_dir, in get_apm_ini()
547 ini_name[MAX_INI_NAME_LENGTH] = '\0'; in get_apm_ini()
553 apm_ini = iniparser_load_wrapper(ini_name); in get_apm_ini()
555 syslog(LOG_INFO, "No apm ini file %s", ini_name); in get_apm_ini()
Dcras_alsa_plugin_io.c47 static char ini_name[MAX_INI_NAME_LENGTH + 1]; variable
211 snprintf(ini_name, MAX_INI_NAME_LENGTH, "%s/%s", device_config_dir, in cras_alsa_plugin_io_init()
213 ini_name[MAX_INI_NAME_LENGTH] = '\0'; in cras_alsa_plugin_io_init()
215 plugins_ini = iniparser_load_wrapper(ini_name); in cras_alsa_plugin_io_init()