Home
last modified time | relevance | path

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

/external/adhd/cras/src/server/
Dcras_alsa_ucm_section.c19 free((void *)section->jack_type); in ucm_section_free()
38 const char *jack_type) in ucm_section_create() argument
66 if (jack_type) { in ucm_section_create()
67 section->jack_type = strdup(jack_type); in ucm_section_create()
68 if (!section->jack_type) in ucm_section_create()
126 section->jack_type); in ucm_section_dump()
Dcras_alsa_ucm_section.h31 const char *jack_type; member
60 const char *jack_type);
Dcras_alsa_jack.c1061 if (!ucm_section->jack_type) { 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()
1071 } else if (!strcmp(ucm_section->jack_type, "gpio")) { in cras_alsa_jack_list_add_jack_for_section()
1075 ucm_section->jack_type, ucm_section->name); in cras_alsa_jack_list_add_jack_for_section()
Dcras_alsa_ucm.c895 const char *jack_type = NULL; in ucm_parse_device_section() local
940 jack_type = "gpio"; in ucm_parse_device_section()
943 jack_type = "hctl"; in ucm_parse_device_section()
948 jack_type); in ucm_parse_device_section()
/external/adhd/cras/src/tests/
Dalsa_ucm_unittest.cc1191 static const char* jack_type = "gpio"; in TEST() local
1200 jack_name, jack_type); in TEST()
1207 EXPECT_NE(jack_type, section->jack_type); in TEST()
1329 EXPECT_EQ(0, strcmp(section->jack_type, "gpio")); in TEST()
1347 EXPECT_EQ(NULL, section->jack_type); in TEST()
1365 EXPECT_EQ(0, strcmp(section->jack_type, "gpio")); in TEST()
1378 EXPECT_EQ(NULL, section->jack_type); in TEST()
1394 EXPECT_EQ(NULL, section->jack_type); in TEST()
/external/cpuinfo/test/dmesg/
Dxiaomi-mi-5c.log974 [ 9.093798] rt5659_jack_detect_work: jack insert 0x00000080 rt5659->jack_type=0
976 [ 9.094200] rt5659_headset_detect jack_type = 0 plug out
979 [ 9.095536] jack_type = 0
Dzenfone-2.log1292 [ 4.336693] rt5647_headset_detect: jack_type=0