Lines Matching refs:codec_cfg
32 struct bt_audio_codec_cfg codec_cfg = in ZTEST() local
41 ret = bt_audio_codec_cfg_get_val(&codec_cfg, BT_AUDIO_CODEC_CFG_FREQ, &data); in ZTEST()
48 struct bt_audio_codec_cfg codec_cfg = in ZTEST() local
58 ret = bt_audio_codec_cfg_get_val(&codec_cfg, BT_AUDIO_CODEC_CFG_FREQ, &data); in ZTEST()
62 ret = bt_audio_codec_cfg_set_val(&codec_cfg, BT_AUDIO_CODEC_CFG_FREQ, in ZTEST()
66 ret = bt_audio_codec_cfg_get_val(&codec_cfg, BT_AUDIO_CODEC_CFG_FREQ, &data); in ZTEST()
73 struct bt_audio_codec_cfg codec_cfg = in ZTEST() local
79 ret = bt_audio_codec_cfg_get_val(&codec_cfg, BT_AUDIO_CODEC_CFG_FREQ, &data); in ZTEST()
82 ret = bt_audio_codec_cfg_set_val(&codec_cfg, BT_AUDIO_CODEC_CFG_FREQ, in ZTEST()
86 ret = bt_audio_codec_cfg_get_val(&codec_cfg, BT_AUDIO_CODEC_CFG_FREQ, &data); in ZTEST()
93 struct bt_audio_codec_cfg codec_cfg = in ZTEST() local
102 ret = bt_audio_codec_cfg_get_val(&codec_cfg, BT_AUDIO_CODEC_CFG_FREQ, &data); in ZTEST()
106 ret = bt_audio_codec_cfg_unset_val(&codec_cfg, BT_AUDIO_CODEC_CFG_FREQ); in ZTEST()
109 ret = bt_audio_codec_cfg_get_val(&codec_cfg, BT_AUDIO_CODEC_CFG_FREQ, &data); in ZTEST()
151 ret = bt_audio_codec_cfg_get_freq(&preset.codec_cfg); in ZTEST()
165 ret = bt_audio_codec_cfg_get_frame_blocks_per_sdu(&preset.codec_cfg, false); in ZTEST()
168 ret = bt_audio_codec_cfg_set_frame_blocks_per_sdu(&preset.codec_cfg, frame_blocks); in ZTEST()
171 ret = bt_audio_codec_cfg_get_frame_blocks_per_sdu(&preset.codec_cfg, false); in ZTEST()
181 ret = bt_audio_codec_cfg_get_freq(&preset.codec_cfg); in ZTEST()
184 ret = bt_audio_codec_cfg_set_freq(&preset.codec_cfg, BT_AUDIO_CODEC_CFG_FREQ_32KHZ); in ZTEST()
187 ret = bt_audio_codec_cfg_get_freq(&preset.codec_cfg); in ZTEST()
220 ret = bt_audio_codec_cfg_get_frame_dur(&preset.codec_cfg); in ZTEST()
230 ret = bt_audio_codec_cfg_get_frame_dur(&preset.codec_cfg); in ZTEST()
233 ret = bt_audio_codec_cfg_set_frame_dur(&preset.codec_cfg, in ZTEST()
237 ret = bt_audio_codec_cfg_get_frame_dur(&preset.codec_cfg); in ZTEST()
248 err = bt_audio_codec_cfg_get_chan_allocation(&preset.codec_cfg, &chan_allocation, false); in ZTEST()
256 struct bt_audio_codec_cfg codec_cfg = {.id = BT_HCI_CODING_FORMAT_LC3}; in ZTEST() local
260 err = bt_audio_codec_cfg_get_chan_allocation(&codec_cfg, &chan_allocation, true); in ZTEST()
268 struct bt_audio_codec_cfg codec_cfg = {.id = BT_HCI_CODING_FORMAT_LC3}; in ZTEST() local
272 err = bt_audio_codec_cfg_get_chan_allocation(&codec_cfg, &chan_allocation, false); in ZTEST()
278 struct bt_audio_codec_cfg codec_cfg = {0}; in ZTEST() local
282 err = bt_audio_codec_cfg_get_chan_allocation(&codec_cfg, &chan_allocation, true); in ZTEST()
288 struct bt_audio_codec_cfg codec_cfg = {0}; in ZTEST() local
292 err = bt_audio_codec_cfg_get_chan_allocation(&codec_cfg, &chan_allocation, false); in ZTEST()
303 err = bt_audio_codec_cfg_get_chan_allocation(&preset.codec_cfg, &chan_allocation, false); in ZTEST()
310 err = bt_audio_codec_cfg_set_chan_allocation(&preset.codec_cfg, chan_allocation); in ZTEST()
313 err = bt_audio_codec_cfg_get_chan_allocation(&preset.codec_cfg, &chan_allocation, false); in ZTEST()
326 ret = bt_audio_codec_cfg_get_octets_per_frame(&preset.codec_cfg); in ZTEST()
336 ret = bt_audio_codec_cfg_get_octets_per_frame(&preset.codec_cfg); in ZTEST()
339 ret = bt_audio_codec_cfg_set_octets_per_frame(&preset.codec_cfg, 120); in ZTEST()
342 ret = bt_audio_codec_cfg_get_octets_per_frame(&preset.codec_cfg); in ZTEST()
353 ret = bt_audio_codec_cfg_get_frame_blocks_per_sdu(&preset.codec_cfg, true); in ZTEST()
359 struct bt_audio_codec_cfg codec_cfg = {.id = BT_HCI_CODING_FORMAT_LC3}; in ZTEST() local
362 err = bt_audio_codec_cfg_get_frame_blocks_per_sdu(&codec_cfg, true); in ZTEST()
368 struct bt_audio_codec_cfg codec_cfg = {.id = BT_HCI_CODING_FORMAT_LC3}; in ZTEST() local
371 err = bt_audio_codec_cfg_get_frame_blocks_per_sdu(&codec_cfg, false); in ZTEST()
377 struct bt_audio_codec_cfg codec_cfg = {0}; in ZTEST() local
380 err = bt_audio_codec_cfg_get_frame_blocks_per_sdu(&codec_cfg, true); in ZTEST()
386 struct bt_audio_codec_cfg codec_cfg = {0}; in ZTEST() local
389 err = bt_audio_codec_cfg_get_frame_blocks_per_sdu(&codec_cfg, false); in ZTEST()
399 ret = bt_audio_codec_cfg_get_frame_blocks_per_sdu(&preset.codec_cfg, true); in ZTEST()
402 ret = bt_audio_codec_cfg_set_frame_blocks_per_sdu(&preset.codec_cfg, 2U); in ZTEST()
405 ret = bt_audio_codec_cfg_get_frame_blocks_per_sdu(&preset.codec_cfg, true); in ZTEST()
411 struct bt_audio_codec_cfg codec_cfg = in ZTEST() local
419 ret = bt_audio_codec_cfg_meta_get_val(&codec_cfg, BT_AUDIO_METADATA_TYPE_PARENTAL_RATING, in ZTEST()
427 struct bt_audio_codec_cfg codec_cfg = in ZTEST() local
436 ret = bt_audio_codec_cfg_meta_get_val(&codec_cfg, BT_AUDIO_METADATA_TYPE_PARENTAL_RATING, in ZTEST()
441 ret = bt_audio_codec_cfg_meta_set_val(&codec_cfg, BT_AUDIO_METADATA_TYPE_PARENTAL_RATING, in ZTEST()
445 ret = bt_audio_codec_cfg_meta_get_val(&codec_cfg, BT_AUDIO_METADATA_TYPE_PARENTAL_RATING, in ZTEST()
453 struct bt_audio_codec_cfg codec_cfg = in ZTEST() local
459 ret = bt_audio_codec_cfg_meta_get_val(&codec_cfg, BT_AUDIO_METADATA_TYPE_PARENTAL_RATING, in ZTEST()
463 ret = bt_audio_codec_cfg_meta_set_val(&codec_cfg, BT_AUDIO_METADATA_TYPE_PARENTAL_RATING, in ZTEST()
467 ret = bt_audio_codec_cfg_meta_get_val(&codec_cfg, BT_AUDIO_METADATA_TYPE_PARENTAL_RATING, in ZTEST()
475 struct bt_audio_codec_cfg codec_cfg = in ZTEST() local
483 ret = bt_audio_codec_cfg_meta_get_val(&codec_cfg, BT_AUDIO_METADATA_TYPE_PARENTAL_RATING, in ZTEST()
488 ret = bt_audio_codec_cfg_meta_unset_val(&codec_cfg, BT_AUDIO_METADATA_TYPE_PARENTAL_RATING); in ZTEST()
491 ret = bt_audio_codec_cfg_meta_get_val(&codec_cfg, BT_AUDIO_METADATA_TYPE_PARENTAL_RATING, in ZTEST()
500 const struct bt_audio_codec_cfg codec_cfg = in ZTEST() local
506 ret = bt_audio_codec_cfg_meta_get_pref_context(&codec_cfg, false); in ZTEST()
512 struct bt_audio_codec_cfg codec_cfg = {.id = BT_HCI_CODING_FORMAT_LC3}; in ZTEST() local
515 err = bt_audio_codec_cfg_meta_get_pref_context(&codec_cfg, true); in ZTEST()
521 struct bt_audio_codec_cfg codec_cfg = {.id = BT_HCI_CODING_FORMAT_LC3}; in ZTEST() local
524 err = bt_audio_codec_cfg_meta_get_pref_context(&codec_cfg, false); in ZTEST()
530 struct bt_audio_codec_cfg codec_cfg = {0}; in ZTEST() local
533 err = bt_audio_codec_cfg_meta_get_pref_context(&codec_cfg, true); in ZTEST()
539 struct bt_audio_codec_cfg codec_cfg = {0}; in ZTEST() local
542 err = bt_audio_codec_cfg_meta_get_pref_context(&codec_cfg, true); in ZTEST()
551 struct bt_audio_codec_cfg codec_cfg = in ZTEST() local
557 ret = bt_audio_codec_cfg_meta_get_pref_context(&codec_cfg, false); in ZTEST()
560 ret = bt_audio_codec_cfg_meta_set_pref_context(&codec_cfg, new_ctx); in ZTEST()
563 ret = bt_audio_codec_cfg_meta_get_pref_context(&codec_cfg, false); in ZTEST()
571 const struct bt_audio_codec_cfg codec_cfg = in ZTEST() local
577 ret = bt_audio_codec_cfg_meta_get_stream_context(&codec_cfg); in ZTEST()
584 struct bt_audio_codec_cfg codec_cfg = in ZTEST() local
590 ret = bt_audio_codec_cfg_meta_get_stream_context(&codec_cfg); in ZTEST()
594 ret = bt_audio_codec_cfg_meta_set_stream_context(&codec_cfg, ctx); in ZTEST()
597 ret = bt_audio_codec_cfg_meta_get_stream_context(&codec_cfg); in ZTEST()
605 const struct bt_audio_codec_cfg codec_cfg = BT_AUDIO_CODEC_CFG( in ZTEST() local
613 ret = bt_audio_codec_cfg_meta_get_program_info(&codec_cfg, &program_data); in ZTEST()
623 struct bt_audio_codec_cfg codec_cfg = BT_AUDIO_CODEC_CFG( in ZTEST() local
630 ret = bt_audio_codec_cfg_meta_get_program_info(&codec_cfg, &program_data); in ZTEST()
634 ret = bt_audio_codec_cfg_meta_set_program_info(&codec_cfg, new_expected_data, in ZTEST()
638 ret = bt_audio_codec_cfg_meta_get_program_info(&codec_cfg, &program_data); in ZTEST()
645 const struct bt_audio_codec_cfg codec_cfg = BT_AUDIO_CODEC_CFG( in ZTEST() local
652 ret = bt_audio_codec_cfg_meta_get_lang(&codec_cfg, &lang); in ZTEST()
659 struct bt_audio_codec_cfg codec_cfg = BT_AUDIO_CODEC_CFG( in ZTEST() local
667 ret = bt_audio_codec_cfg_meta_get_lang(&codec_cfg, &lang); in ZTEST()
671 ret = bt_audio_codec_cfg_meta_set_lang(&codec_cfg, new_expected_data); in ZTEST()
674 ret = bt_audio_codec_cfg_meta_get_lang(&codec_cfg, &lang); in ZTEST()
682 const struct bt_audio_codec_cfg codec_cfg = BT_AUDIO_CODEC_CFG( in ZTEST() local
688 ret = bt_audio_codec_cfg_meta_get_ccid_list(&codec_cfg, &ccid_list); in ZTEST()
697 struct bt_audio_codec_cfg codec_cfg = BT_AUDIO_CODEC_CFG( in ZTEST() local
703 ret = bt_audio_codec_cfg_meta_get_ccid_list(&codec_cfg, &ccid_list); in ZTEST()
707 ret = bt_audio_codec_cfg_meta_set_ccid_list(&codec_cfg, new_expected_data, in ZTEST()
711 ret = bt_audio_codec_cfg_meta_get_ccid_list(&codec_cfg, &ccid_list); in ZTEST()
720 struct bt_audio_codec_cfg codec_cfg = BT_AUDIO_CODEC_CFG( in ZTEST() local
726 ret = bt_audio_codec_cfg_meta_get_ccid_list(&codec_cfg, &ccid_list); in ZTEST()
730 ret = bt_audio_codec_cfg_meta_set_ccid_list(&codec_cfg, new_expected_data, in ZTEST()
734 ret = bt_audio_codec_cfg_meta_get_ccid_list(&codec_cfg, &ccid_list); in ZTEST()
753 struct bt_audio_codec_cfg codec_cfg = in ZTEST() local
758 ret = bt_audio_codec_cfg_meta_get_ccid_list(&codec_cfg, &ccid_list); in ZTEST()
762 ret = bt_audio_codec_cfg_meta_get_parental_rating(&codec_cfg); in ZTEST()
765 ret = bt_audio_codec_cfg_meta_set_ccid_list(&codec_cfg, new_expected_data, in ZTEST()
769 ret = bt_audio_codec_cfg_meta_get_ccid_list(&codec_cfg, &ccid_list); in ZTEST()
773 ret = bt_audio_codec_cfg_meta_get_parental_rating(&codec_cfg); in ZTEST()
781 struct bt_audio_codec_cfg codec_cfg = in ZTEST() local
786 ret = bt_audio_codec_cfg_meta_get_ccid_list(&codec_cfg, &ccid_list); in ZTEST()
790 ret = bt_audio_codec_cfg_meta_get_parental_rating(&codec_cfg); in ZTEST()
793 ret = bt_audio_codec_cfg_meta_set_ccid_list(&codec_cfg, new_expected_data, in ZTEST()
797 ret = bt_audio_codec_cfg_meta_get_ccid_list(&codec_cfg, &ccid_list); in ZTEST()
801 ret = bt_audio_codec_cfg_meta_get_parental_rating(&codec_cfg); in ZTEST()
807 const struct bt_audio_codec_cfg codec_cfg = in ZTEST() local
813 ret = bt_audio_codec_cfg_meta_get_parental_rating(&codec_cfg); in ZTEST()
819 struct bt_audio_codec_cfg codec_cfg = in ZTEST() local
825 ret = bt_audio_codec_cfg_meta_get_parental_rating(&codec_cfg); in ZTEST()
828 ret = bt_audio_codec_cfg_meta_set_parental_rating(&codec_cfg, in ZTEST()
832 ret = bt_audio_codec_cfg_meta_get_parental_rating(&codec_cfg); in ZTEST()
839 const struct bt_audio_codec_cfg codec_cfg = BT_AUDIO_CODEC_CFG( in ZTEST() local
846 ret = bt_audio_codec_cfg_meta_get_program_info_uri(&codec_cfg, &program_info_uri); in ZTEST()
855 struct bt_audio_codec_cfg codec_cfg = BT_AUDIO_CODEC_CFG( in ZTEST() local
862 ret = bt_audio_codec_cfg_meta_get_program_info_uri(&codec_cfg, &program_info_uri); in ZTEST()
866 ret = bt_audio_codec_cfg_meta_set_program_info_uri(&codec_cfg, new_expected_data, in ZTEST()
870 ret = bt_audio_codec_cfg_meta_get_program_info_uri(&codec_cfg, &program_info_uri); in ZTEST()
877 const struct bt_audio_codec_cfg codec_cfg = in ZTEST() local
883 ret = bt_audio_codec_cfg_meta_get_audio_active_state(&codec_cfg); in ZTEST()
889 struct bt_audio_codec_cfg codec_cfg = in ZTEST() local
895 ret = bt_audio_codec_cfg_meta_get_audio_active_state(&codec_cfg); in ZTEST()
898 ret = bt_audio_codec_cfg_meta_set_audio_active_state(&codec_cfg, in ZTEST()
902 ret = bt_audio_codec_cfg_meta_get_audio_active_state(&codec_cfg); in ZTEST()
908 const struct bt_audio_codec_cfg codec_cfg = BT_AUDIO_CODEC_CFG( in ZTEST() local
913 ret = bt_audio_codec_cfg_meta_get_bcast_audio_immediate_rend_flag(&codec_cfg); in ZTEST()
919 struct bt_audio_codec_cfg codec_cfg = in ZTEST() local
923 ret = bt_audio_codec_cfg_meta_get_bcast_audio_immediate_rend_flag(&codec_cfg); in ZTEST()
926 ret = bt_audio_codec_cfg_meta_set_bcast_audio_immediate_rend_flag(&codec_cfg); in ZTEST()
929 ret = bt_audio_codec_cfg_meta_get_bcast_audio_immediate_rend_flag(&codec_cfg); in ZTEST()
935 const struct bt_audio_codec_cfg codec_cfg = BT_AUDIO_CODEC_CFG( in ZTEST() local
941 ret = bt_audio_codec_cfg_meta_get_assisted_listening_stream(&codec_cfg); in ZTEST()
947 struct bt_audio_codec_cfg codec_cfg = in ZTEST() local
951 ret = bt_audio_codec_cfg_meta_get_assisted_listening_stream(&codec_cfg); in ZTEST()
955 &codec_cfg, BT_AUDIO_ASSISTED_LISTENING_STREAM_UNSPECIFIED); in ZTEST()
958 ret = bt_audio_codec_cfg_meta_get_assisted_listening_stream(&codec_cfg); in ZTEST()
965 const struct bt_audio_codec_cfg codec_cfg = in ZTEST() local
972 ret = bt_audio_codec_cfg_meta_get_broadcast_name(&codec_cfg, &broadcast_name); in ZTEST()
981 struct bt_audio_codec_cfg codec_cfg = in ZTEST() local
988 ret = bt_audio_codec_cfg_meta_get_broadcast_name(&codec_cfg, &broadcast_name); in ZTEST()
992 ret = bt_audio_codec_cfg_meta_set_broadcast_name(&codec_cfg, new_expected_data, in ZTEST()
996 ret = bt_audio_codec_cfg_meta_get_broadcast_name(&codec_cfg, &broadcast_name); in ZTEST()
1004 const struct bt_audio_codec_cfg codec_cfg = BT_AUDIO_CODEC_CFG( in ZTEST() local
1010 ret = bt_audio_codec_cfg_meta_get_extended(&codec_cfg, &extended_meta); in ZTEST()
1019 struct bt_audio_codec_cfg codec_cfg = BT_AUDIO_CODEC_CFG( in ZTEST() local
1025 ret = bt_audio_codec_cfg_meta_get_extended(&codec_cfg, &extended_meta); in ZTEST()
1029 ret = bt_audio_codec_cfg_meta_set_extended(&codec_cfg, new_expected_data, in ZTEST()
1033 ret = bt_audio_codec_cfg_meta_get_extended(&codec_cfg, &extended_meta); in ZTEST()
1041 const struct bt_audio_codec_cfg codec_cfg = BT_AUDIO_CODEC_CFG( in ZTEST() local
1047 ret = bt_audio_codec_cfg_meta_get_vendor(&codec_cfg, &vendor_meta); in ZTEST()
1056 struct bt_audio_codec_cfg codec_cfg = BT_AUDIO_CODEC_CFG( in ZTEST() local
1062 ret = bt_audio_codec_cfg_meta_get_vendor(&codec_cfg, &extended_meta); in ZTEST()
1066 ret = bt_audio_codec_cfg_meta_set_vendor(&codec_cfg, new_expected_data, in ZTEST()
1070 ret = bt_audio_codec_cfg_meta_get_vendor(&codec_cfg, &extended_meta); in ZTEST()