Home
last modified time | relevance | path

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

/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dgmap_ugg_test.c143 const char *preset_arg) in gmap_get_named_preset() argument
148 if (!strcmp(preset_arg, gmap_unicast_snk_presets[i].name)) { in gmap_get_named_preset()
154 if (!strcmp(preset_arg, gmap_unicast_src_presets[i].name)) { in gmap_get_named_preset()
162 if (!strcmp(preset_arg, gmap_broadcast_presets[i].name)) { in gmap_get_named_preset()
1465 const char *preset_arg = argv[++argn]; in test_args() local
1468 gmap_get_named_preset(true, BT_AUDIO_DIR_SINK, preset_arg); in test_args()
1470 FAIL("Failed to get sink preset from %s\n", preset_arg); in test_args()
1473 const char *preset_arg = argv[++argn]; in test_args() local
1476 gmap_get_named_preset(true, BT_AUDIO_DIR_SOURCE, preset_arg); in test_args()
1478 FAIL("Failed to get source preset from %s\n", preset_arg); in test_args()
[all …]
Dcap_initiator_broadcast_test.c827 static const struct named_lc3_preset *cap_get_named_preset(const char *preset_arg) in cap_get_named_preset() argument
830 if (strcmp(preset_arg, lc3_broadcast_presets[i].name) == 0) { in cap_get_named_preset()
844 const char *preset_arg = argv[++argn]; in test_args() local
846 named_preset = cap_get_named_preset(preset_arg); in test_args()
848 FAIL("Failed to get preset from %s\n", preset_arg); in test_args()
Dcap_initiator_unicast_test.c982 static const struct named_lc3_preset *cap_get_named_preset(const char *preset_arg) in cap_get_named_preset() argument
985 if (strcmp(preset_arg, lc3_unicast_presets[i].name) == 0) { in cap_get_named_preset()
1633 const char *preset_arg = argv[++argn]; in test_args() local
1635 snk_named_preset = cap_get_named_preset(preset_arg); in test_args()
1637 FAIL("Failed to get sink preset from %s\n", preset_arg); in test_args()
1640 const char *preset_arg = argv[++argn]; in test_args() local
1642 src_named_preset = cap_get_named_preset(preset_arg); in test_args()
1644 FAIL("Failed to get source preset from %s\n", preset_arg); in test_args()
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dgmap.c240 const char *preset_arg) in gmap_get_named_preset() argument
245 if (!strcmp(preset_arg, gmap_unicast_snk_presets[i].name)) { in gmap_get_named_preset()
251 if (!strcmp(preset_arg, gmap_unicast_src_presets[i].name)) { in gmap_get_named_preset()
258 if (!strcmp(preset_arg, gmap_broadcast_presets[i].name)) { in gmap_get_named_preset()
Daudio.h83 const char *preset_arg);
151 const char *preset_arg);
Dbap.c542 const char *preset_arg) in bap_get_named_preset() argument
546 if (!strcmp(preset_arg, lc3_unicast_presets[i].name)) { in bap_get_named_preset()
552 if (!strcmp(preset_arg, lc3_broadcast_presets[i].name)) { in bap_get_named_preset()
559 return gmap_get_named_preset(is_unicast, dir, preset_arg); in bap_get_named_preset()