Searched refs:uc_verb (Results 1 – 2 of 2) sorted by relevance
/external/adhd/cras/src/server/ |
D | cras_alsa_ucm.c | 82 static inline const char *uc_verb(struct cras_use_case_mgr *mgr) in uc_verb() function 234 identifier = snd_use_case_identifier("_modifiers/%s", uc_verb(mgr)); in ucm_mod_exists_with_suffix() 246 identifier = snd_use_case_identifier("_modifiers/%s", uc_verb(mgr)); in ucm_mod_exists_with_name() 277 rc = get_var(mgr, var, list[i], uc_verb(mgr), &this_value); in ucm_get_sections_for_var() 309 identifier = snd_use_case_identifier("_devices/%s", uc_verb(mgr)); in ucm_get_devices_for_var() 322 rc = get_var(mgr, playback_device_name_var, dev, uc_verb(mgr), &name); in ucm_get_playback_device_name_for_dev() 335 rc = get_var(mgr, capture_device_name_var, dev, uc_verb(mgr), &name); in ucm_get_capture_device_name_for_dev() 356 rc = get_var(mgr, var, dev, uc_verb(mgr), &names_in_string); in ucm_get_mixer_names() 442 rc = snd_use_case_set(mgr->mgr, "_verb", uc_verb(mgr)); in ucm_set_use_case() 445 uc_verb(mgr), mgr->name, rc); in ucm_set_use_case() [all …]
|
/external/adhd/cras/src/tests/ |
D | alsa_ucm_unittest.cc | 1390 EXPECT_EQ(0, strcmp("HiFi", uc_verb(mgr))); in TEST() 1392 EXPECT_EQ(0, strcmp("Multimedia", uc_verb(mgr))); in TEST() 1394 EXPECT_EQ(0, strcmp("Voice Call", uc_verb(mgr))); in TEST() 1396 EXPECT_EQ(0, strcmp("Speech", uc_verb(mgr))); in TEST() 1398 EXPECT_EQ(0, strcmp("Pro Audio", uc_verb(mgr))); in TEST()
|