/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() 27 void ucm_section_free_list(struct ucm_section *sections) in ucm_section_free_list() 29 struct ucm_section *section; in ucm_section_free_list() 36 struct ucm_section *ucm_section_create(const char *name, in ucm_section_create() 42 struct ucm_section *section_list = NULL; in ucm_section_create() 43 struct ucm_section *section; in ucm_section_create() 48 section = (struct ucm_section *) in ucm_section_create() 49 calloc(1, sizeof(struct ucm_section)); in ucm_section_create() 81 int ucm_section_set_mixer_name(struct ucm_section *section, in ucm_section_set_mixer_name() 95 int ucm_section_add_coupled(struct ucm_section *section, in ucm_section_add_coupled() [all …]
|
D | cras_alsa_ucm_section.h | 17 struct ucm_section { struct 27 struct ucm_section *prev, *next; argument 42 struct ucm_section *ucm_section_create(const char *name, 57 int ucm_section_set_mixer_name(struct ucm_section *section, 71 int ucm_section_add_coupled(struct ucm_section *section, 84 int ucm_section_concat_coupled(struct ucm_section *section, 92 void ucm_section_free_list(struct ucm_section *sections); 99 void ucm_section_dump(struct ucm_section *section);
|
D | cras_alsa_jack.c | 142 struct ucm_section *section; 609 struct ucm_section *section = data->section; in open_and_monitor_gpio_with_section() 765 struct ucm_section *section, in find_gpio_jacks() 1009 struct ucm_section *section, in find_hctl_jack_for_section() 1080 struct ucm_section *ucm_section, in cras_alsa_jack_list_add_jack_for_section() argument 1085 if (!ucm_section) in cras_alsa_jack_list_add_jack_for_section() 1088 if (!ucm_section->jack_name) { in cras_alsa_jack_list_add_jack_for_section() 1093 if (!ucm_section->jack_type) { in cras_alsa_jack_list_add_jack_for_section() 1096 ucm_section->jack_name, ucm_section->name); in cras_alsa_jack_list_add_jack_for_section() 1100 if (!strcmp(ucm_section->jack_type, "hctl")) { in cras_alsa_jack_list_add_jack_for_section() [all …]
|
D | cras_alsa_mixer.h | 24 struct ucm_section; 46 struct ucm_section *section); 204 const struct ucm_section *section);
|
D | cras_alsa_io.h | 17 struct ucm_section; 74 struct ucm_section *section);
|
D | cras_alsa_jack.h | 81 struct ucm_section *ucm_section,
|
D | cras_alsa_ucm.h | 315 struct ucm_section *ucm_get_sections(struct cras_use_case_mgr *mgr);
|
D | cras_alsa_card.c | 331 struct ucm_section *section; in add_controls_and_iodevs_with_ucm() 332 struct ucm_section *ucm_sections; in add_controls_and_iodevs_with_ucm()
|
D | cras_alsa_ucm.c | 803 struct ucm_section *ucm_get_sections(struct cras_use_case_mgr *mgr) in ucm_get_sections() 805 struct ucm_section *sections = NULL; in ucm_get_sections() 806 struct ucm_section *dev_sec; in ucm_get_sections()
|
D | cras_alsa_mixer.c | 862 struct ucm_section *section) in cras_alsa_mixer_add_controls_in_section() 1132 const struct ucm_section *section) in cras_alsa_mixer_get_control_for_section()
|
D | cras_alsa_io.c | 2180 struct ucm_section *section) in alsa_iodev_ucm_add_nodes_and_jacks()
|
/external/adhd/cras/src/tests/ |
D | alsa_jack_unittest.cc | 258 struct ucm_section *ucm_section, in run_test_with_section() argument 282 cras_alsa_jack_list_add_jack_for_section(jack_list, ucm_section, &jack)); in run_test_with_section() 820 struct ucm_section *section; in TEST() 862 struct ucm_section *section; in TEST() 907 struct ucm_section *section; in TEST() 935 struct ucm_section *section; in TEST() 1079 struct ucm_section *section) in cras_alsa_mixer_get_control_for_section()
|
D | alsa_card_unittest.cc | 91 static struct ucm_section *ucm_get_sections_return_value; 713 struct ucm_section *GenerateUcmSections (void) { in GenerateUcmSections() 714 struct ucm_section *sections = NULL; in GenerateUcmSections() 715 struct ucm_section *section; in GenerateUcmSections() 758 ASSERT_NE(ucm_get_sections_return_value, (struct ucm_section *)NULL); in TEST() 797 ASSERT_NE(ucm_get_sections_return_value, (struct ucm_section *)NULL); in TEST() 913 struct ucm_section *section) { in alsa_iodev_ucm_add_nodes_and_jacks() 1107 struct ucm_section *ucm_get_sections(struct cras_use_case_mgr *mgr) in ucm_get_sections() 1121 struct ucm_section *section) in cras_alsa_mixer_add_controls_in_section()
|
D | alsa_mixer_unittest.cc | 1363 struct ucm_section *sections = NULL; in SetUp() 1364 struct ucm_section *section; in SetUp() 1399 ASSERT_NE(sections, (struct ucm_section *)NULL); in SetUp() 1436 ASSERT_NE((struct ucm_section *)NULL, section->next); in SetUp() 1439 ASSERT_NE((struct ucm_section *)NULL, section->next); in SetUp() 1442 ASSERT_NE((struct ucm_section *)NULL, section->next); in SetUp() 1445 ASSERT_NE((struct ucm_section *)NULL, section->next); in SetUp() 1448 ASSERT_NE((struct ucm_section *)NULL, section->next); in SetUp() 1451 EXPECT_EQ(section->next, (struct ucm_section*)NULL); in SetUp() 1478 struct ucm_section *sections_; [all …]
|
D | alsa_ucm_unittest.cc | 1104 struct ucm_section *section_list = NULL; in TEST() 1105 struct ucm_section *section; in TEST() 1121 EXPECT_EQ(reinterpret_cast<struct ucm_section*>(NULL), section); in TEST() 1124 EXPECT_NE(reinterpret_cast<struct ucm_section*>(NULL), section); in TEST() 1175 struct ucm_section* sections; in TEST() 1176 struct ucm_section* section; in TEST() 1245 ASSERT_NE(sections, (struct ucm_section*)NULL); in TEST() 1327 struct ucm_section* sections; in TEST() 1356 struct ucm_section* sections; in TEST()
|
D | alsa_io_unittest.cc | 1088 struct ucm_section *section; in TEST() 1144 struct ucm_section *section; in TEST() 1234 struct ucm_section *section; in TEST() 1276 struct ucm_section *section; in TEST() 1321 struct ucm_section *section; in TEST() 1408 struct ucm_section *section; in TEST() 1450 struct ucm_section *section; in TEST() 2442 const struct ucm_section *section) in cras_alsa_mixer_get_control_for_section() 2632 struct ucm_section *ucm_section, in cras_alsa_jack_list_add_jack_for_section() argument
|