Home
last modified time | relevance | path

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

/external/adhd/cras/src/server/
Dcras_alsa_jack.c679 static int jack_matches_regex(const char *jack_name, const char *re) in jack_matches_regex() function
703 if (!jack_matches_regex(dev_name, "^.*Mic Jack$") && in gpio_switch_list_by_matching()
704 !jack_matches_regex(dev_name, "^.*Headset Jack$")) { in gpio_switch_list_by_matching()
709 if (!jack_matches_regex(dev_name, "^.*Headphone Jack$") && in gpio_switch_list_by_matching()
710 !jack_matches_regex(dev_name, "^.*Headset Jack$") && in gpio_switch_list_by_matching()
711 !jack_matches_regex(dev_name, "^.*HDMI Jack$")) { in gpio_switch_list_by_matching()
866 return jack_matches_regex(jack_name, direction == CRAS_STREAM_OUTPUT ? in is_jack_uac2()