/external/adhd/cras/src/server/ |
D | cras_alsa_ucm_section.c | 14 static void ucm_section_free(struct ucm_section *section) in ucm_section_free() 25 void ucm_section_free_list(struct ucm_section *sections) in ucm_section_free_list() 27 struct ucm_section *section; in ucm_section_free_list() 34 struct ucm_section *ucm_section_create(const char *name, const char *pcm_name, in ucm_section_create() 40 struct ucm_section *section_list = NULL; in ucm_section_create() 41 struct ucm_section *section; in ucm_section_create() 46 section = (struct ucm_section *)calloc(1, sizeof(struct ucm_section)); in ucm_section_create() 83 int ucm_section_set_mixer_name(struct ucm_section *section, const char *name) in ucm_section_set_mixer_name() 96 int ucm_section_add_coupled(struct ucm_section *section, const char *name, in ucm_section_add_coupled() 111 int ucm_section_concat_coupled(struct ucm_section *section, in ucm_section_concat_coupled() [all …]
|
D | cras_alsa_ucm_section.h | 17 struct ucm_section { struct 38 struct ucm_section *prev, *next; argument 56 struct ucm_section *ucm_section_create(const char *name, const char *pcm_name, 71 int ucm_section_set_mixer_name(struct ucm_section *section, const char *name); 84 int ucm_section_add_coupled(struct ucm_section *section, const char *name, 96 int ucm_section_concat_coupled(struct ucm_section *section, 104 void ucm_section_free_list(struct ucm_section *sections); 111 void ucm_section_dump(struct ucm_section *section);
|
D | cras_alsa_jack.c | 141 struct ucm_section *section; 581 struct ucm_section *section = data->section; in open_and_monitor_gpio_with_section() 757 struct ucm_section *section, in find_gpio_jacks() 985 struct ucm_section *section, in find_hctl_jack_for_section() 1048 struct cras_alsa_jack_list *jack_list, struct ucm_section *ucm_section, in cras_alsa_jack_list_add_jack_for_section() argument 1053 if (!ucm_section) in cras_alsa_jack_list_add_jack_for_section() 1056 if (!ucm_section->jack_name) { in cras_alsa_jack_list_add_jack_for_section() 1061 if (!ucm_section->jack_type) { in cras_alsa_jack_list_add_jack_for_section() 1064 ucm_section->jack_name, ucm_section->name); in cras_alsa_jack_list_add_jack_for_section() 1068 if (!strcmp(ucm_section->jack_type, "hctl")) { in cras_alsa_jack_list_add_jack_for_section() [all …]
|
D | cras_alsa_mixer.h | 21 struct ucm_section; 42 struct ucm_section *section); 205 const struct ucm_section *section);
|
D | cras_alsa_io.h | 17 struct ucm_section; 69 struct ucm_section *section);
|
D | cras_alsa_jack.h | 75 struct cras_alsa_jack_list *jack_list, struct ucm_section *ucm_section,
|
D | cras_alsa_plugin_io.c | 118 struct ucm_section *section; in alsa_plugin_io_create() 119 struct ucm_section *ucm_sections; in alsa_plugin_io_create()
|
D | cras_alsa_ucm.h | 317 struct ucm_section *ucm_get_sections(struct cras_use_case_mgr *mgr);
|
D | cras_alsa_ucm.c | 889 struct ucm_section **sections) in ucm_parse_device_section() 903 struct ucm_section *dev_sec; in ucm_parse_device_section() 980 struct ucm_section *ucm_get_sections(struct cras_use_case_mgr *mgr) in ucm_get_sections() 982 struct ucm_section *sections = NULL; in ucm_get_sections()
|
D | cras_alsa_card.c | 304 struct ucm_section *section; in add_controls_and_iodevs_with_ucm() 305 struct ucm_section *ucm_sections; in add_controls_and_iodevs_with_ucm()
|
D | cras_alsa_mixer.c | 875 struct ucm_section *section) in cras_alsa_mixer_add_controls_in_section() 1135 const struct ucm_section *section) in cras_alsa_mixer_get_control_for_section()
|
D | cras_alsa_io.c | 2280 struct ucm_section *section) in alsa_iodev_ucm_add_nodes_and_jacks()
|
/external/adhd/cras/src/tests/ |
D | alsa_card_unittest.cc | 93 static struct ucm_section* ucm_get_sections_return_value; 777 struct ucm_section* sections = NULL; in TEST() 778 struct ucm_section* section; in TEST() 796 ASSERT_NE(ucm_get_sections_return_value, (struct ucm_section*)NULL); in TEST() 819 struct ucm_section* GenerateUcmSections(void) { in GenerateUcmSections() 820 struct ucm_section* sections = NULL; in GenerateUcmSections() 821 struct ucm_section* section; in GenerateUcmSections() 864 ASSERT_NE(ucm_get_sections_return_value, (struct ucm_section*)NULL); in TEST() 903 ASSERT_NE(ucm_get_sections_return_value, (struct ucm_section*)NULL); in TEST() 1057 struct ucm_section* section) { in alsa_iodev_ucm_add_nodes_and_jacks() [all …]
|
D | alsa_jack_unittest.cc | 245 struct ucm_section* ucm_section, in run_test_with_section() argument 263 jack_list, ucm_section, &jack)); in run_test_with_section() 730 struct ucm_section* section; in TEST() 766 struct ucm_section* section; in TEST() 808 struct ucm_section* section; in TEST() 830 struct ucm_section* section; in TEST() 962 struct ucm_section* section) { in cras_alsa_mixer_get_control_for_section()
|
D | alsa_mixer_unittest.cc | 1269 struct ucm_section* sections = NULL; in SetUp() 1270 struct ucm_section* section; in SetUp() 1306 ASSERT_NE(sections, (struct ucm_section*)NULL); in SetUp() 1340 ASSERT_NE((struct ucm_section*)NULL, section->next); in SetUp() 1343 ASSERT_NE((struct ucm_section*)NULL, section->next); in SetUp() 1346 ASSERT_NE((struct ucm_section*)NULL, section->next); in SetUp() 1349 ASSERT_NE((struct ucm_section*)NULL, section->next); in SetUp() 1352 ASSERT_NE((struct ucm_section*)NULL, section->next); in SetUp() 1355 EXPECT_EQ(section->next, (struct ucm_section*)NULL); in SetUp() 1382 struct ucm_section* sections_; [all …]
|
D | alsa_ucm_unittest.cc | 1180 struct ucm_section* section_list = NULL; in TEST() 1181 struct ucm_section* section; in TEST() 1197 EXPECT_EQ(reinterpret_cast<struct ucm_section*>(NULL), section); in TEST() 1201 EXPECT_NE(reinterpret_cast<struct ucm_section*>(NULL), section); in TEST() 1251 struct ucm_section* sections; in TEST() 1252 struct ucm_section* section; in TEST() 1318 ASSERT_NE(sections, (struct ucm_section*)NULL); in TEST() 1405 struct ucm_section* sections; in TEST()
|
D | alsa_io_unittest.cc | 1027 struct ucm_section* section; in TEST() 1078 struct ucm_section* section; in TEST() 1120 struct ucm_section* section; in TEST() 1216 struct ucm_section* section; in TEST() 1256 struct ucm_section* section; in TEST() 1299 struct ucm_section* section; in TEST() 1383 struct ucm_section* section; in TEST() 1423 struct ucm_section* section; in TEST() 1553 struct ucm_section* section; in TEST() 1593 struct ucm_section* section; in TEST() [all …]
|