Home
last modified time | relevance | path

Searched refs:jack_switch (Results 1 – 5 of 5) sorted by relevance

/external/adhd/cras/src/server/
Dcras_alsa_ucm_section.h33 int jack_switch; member
Dcras_alsa_ucm_section.c72 section->jack_switch = -1; in ucm_section_create()
Dcras_alsa_jack.c628 if (data->section && data->section->jack_switch >= 0) { in gpio_switches_monitor_device()
629 switches = &data->section->jack_switch; in gpio_switches_monitor_device()
Dcras_alsa_ucm.c956 dev_sec->jack_switch = ucm_get_jack_switch_for_dev(mgr, dev_name); in ucm_parse_device_section()
/external/adhd/cras/src/tests/
Dalsa_ucm_unittest.cc1337 EXPECT_EQ(2, section->jack_switch); in TEST()
1348 EXPECT_EQ(-1, section->jack_switch); in TEST()
1366 EXPECT_EQ(0, section->jack_switch); in TEST()
1379 EXPECT_EQ(-1, section->jack_switch); in TEST()
1395 EXPECT_EQ(-1, section->jack_switch); in TEST()