Home
last modified time | relevance | path

Searched refs:device_config_dir (Results 1 – 14 of 14) sorted by relevance

/external/adhd/init/
Dcras.sh6 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/
Dalsa_card_unittest.cc86 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 …]
Dsystem_state_unittest.cc34 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()
Dapm_list_unittest.cc395 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
Diodev_list_unittest.cc2346 int cras_apm_list_init(const char* device_config_dir) { in cras_apm_list_init() argument
/external/adhd/cras/src/server/
Dcras.c44 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()
Dcras_system_state.c68 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()
Dcras_apm_list.h20 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
Dcras_alsa_plugin_io.h18 void cras_alsa_plugin_io_init(const char *device_config_dir);
Dcras_alsa_card.h34 struct cras_alsa_card_info *info, const char *device_config_dir,
Dcras_alsa_plugin_io.c204 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()
Dcras_system_state.h46 void cras_system_state_init(const char *device_config_dir, const char *shm_name,
Dcras_alsa_card.c451 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()
Dcras_apm_list.c558 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()