/external/adhd/init/ |
D | cras.sh | 6 device_config_dir="$(cros_config /audio/main cras-config-dir)" 15 if [ -z "${device_config_dir}" ]; then 26 device_config_dir="$(sh /etc/cras/get_device_config_dir)" 32 device_config_dir="/etc/cras/${device_config_dir}" 35 if [ -n "${device_config_dir}" ]; then 36 DEVICE_CONFIG_DIR="--device_config_dir=${device_config_dir}" 37 DSP_CONFIG="--dsp_config=${device_config_dir}/dsp.ini"
|
/external/adhd/cras/src/tests/ |
D | alsa_card_unittest.cc | 86 static char* device_config_dir; variable 158 device_config_dir = reinterpret_cast<char*>(3); in ResetStubData() 187 c = cras_alsa_card_create(&card_info, device_config_dir, fake_blocklist, in TEST() 202 c = cras_alsa_card_create(&card_info, device_config_dir, fake_blocklist, in TEST() 218 c = cras_alsa_card_create(&card_info, device_config_dir, fake_blocklist, in TEST() 237 c = cras_alsa_card_create(&card_info, device_config_dir, fake_blocklist, in TEST() 259 c = cras_alsa_card_create(&card_info, device_config_dir, fake_blocklist, in TEST() 285 c = cras_alsa_card_create(&card_info, device_config_dir, fake_blocklist, in TEST() 320 c = cras_alsa_card_create(&card_info, device_config_dir, fake_blocklist, in TEST() 332 EXPECT_EQ(cras_card_config_dir, device_config_dir); in TEST() [all …]
|
D | system_state_unittest.cc | 34 static char* device_config_dir; variable 57 device_config_dir = NULL; in ResetStubData() 111 cras_system_state_init(device_config_dir, shm_name, rw_shm_fd, ro_shm_fd, in do_sys_init() 302 EXPECT_EQ(cras_alsa_card_config_dir, device_config_dir); in TEST() 315 EXPECT_EQ(cras_alsa_card_config_dir, device_config_dir); in TEST() 470 const char* device_config_dir, in cras_alsa_card_create() argument 473 cras_alsa_card_config_dir = device_config_dir; in cras_alsa_card_create()
|
D | apm_list_unittest.cc | 395 struct aec_config* aec_config_get(const char* device_config_dir) { in aec_config_get() argument 399 struct apm_config* apm_config_get(const char* device_config_dir) { in apm_config_get() argument
|
D | iodev_list_unittest.cc | 2346 int cras_apm_list_init(const char* device_config_dir) { in cras_apm_list_init() argument
|
/external/adhd/cras/src/server/ |
D | cras.c | 44 const char *device_config_dir = CRAS_CONFIG_FILE_DIR; in main() local 67 device_config_dir = optarg; in main() 134 cras_system_state_init(device_config_dir, shm_name, rw_shm_fd, in main() 140 cras_apm_list_init(device_config_dir); in main() 142 cras_alsa_plugin_io_init(device_config_dir); in main()
|
D | cras_system_state.c | 68 const char *device_config_dir; member 125 void cras_system_state_init(const char *device_config_dir, const char *shm_name, in cras_system_state_init() argument 143 cras_board_config_get(device_config_dir, &board_config); in cras_system_state_init() 178 state.device_config_dir = device_config_dir; in cras_system_state_init() 463 cras_alsa_card_create(alsa_card_info, state.device_config_dir, in cras_system_add_alsa_card()
|
D | cras_apm_list.h | 20 int cras_apm_list_init(const char *device_config_dir); 168 static inline int cras_apm_list_init(const char *device_config_dir) in cras_apm_list_init() argument
|
D | cras_alsa_plugin_io.h | 18 void cras_alsa_plugin_io_init(const char *device_config_dir);
|
D | cras_alsa_card.h | 34 struct cras_alsa_card_info *info, const char *device_config_dir,
|
D | cras_alsa_plugin_io.c | 204 void cras_alsa_plugin_io_init(const char *device_config_dir) in cras_alsa_plugin_io_init() argument 211 snprintf(ini_name, MAX_INI_NAME_LENGTH, "%s/%s", device_config_dir, in cras_alsa_plugin_io_init()
|
D | cras_system_state.h | 46 void cras_system_state_init(const char *device_config_dir, const char *shm_name,
|
D | cras_alsa_card.c | 451 struct cras_alsa_card_info *info, const char *device_config_dir, in cras_alsa_card_create() argument 499 cras_card_config_create(device_config_dir, card_name); in cras_alsa_card_create()
|
D | cras_apm_list.c | 558 int cras_apm_list_init(const char *device_config_dir) in cras_apm_list_init() argument 567 aec_config_dir = device_config_dir; in cras_apm_list_init()
|