Lines Matching refs:codec_cap

1077 	struct bt_audio_codec_cap codec_cap =  in ZTEST()  local
1086 ret = bt_audio_codec_cap_get_val(&codec_cap, BT_AUDIO_CODEC_CAP_TYPE_FREQ, &data); in ZTEST()
1093 struct bt_audio_codec_cap codec_cap = in ZTEST() local
1103 ret = bt_audio_codec_cap_get_val(&codec_cap, BT_AUDIO_CODEC_CAP_TYPE_FREQ, &data); in ZTEST()
1107 ret = bt_audio_codec_cap_set_val(&codec_cap, BT_AUDIO_CODEC_CAP_TYPE_FREQ, in ZTEST()
1111 ret = bt_audio_codec_cap_get_val(&codec_cap, BT_AUDIO_CODEC_CAP_TYPE_FREQ, &data); in ZTEST()
1118 struct bt_audio_codec_cap codec_cap = in ZTEST() local
1124 ret = bt_audio_codec_cap_get_val(&codec_cap, BT_AUDIO_CODEC_CAP_TYPE_FREQ, &data); in ZTEST()
1127 ret = bt_audio_codec_cap_set_val(&codec_cap, BT_AUDIO_CODEC_CAP_TYPE_FREQ, in ZTEST()
1131 ret = bt_audio_codec_cap_get_val(&codec_cap, BT_AUDIO_CODEC_CAP_TYPE_FREQ, &data); in ZTEST()
1138 struct bt_audio_codec_cap codec_cap = in ZTEST() local
1147 ret = bt_audio_codec_cap_get_val(&codec_cap, BT_AUDIO_CODEC_CFG_FREQ, &data); in ZTEST()
1151 ret = bt_audio_codec_cap_unset_val(&codec_cap, BT_AUDIO_CODEC_CFG_FREQ); in ZTEST()
1154 ret = bt_audio_codec_cap_get_val(&codec_cap, BT_AUDIO_CODEC_CFG_FREQ, &data); in ZTEST()
1160 const struct bt_audio_codec_cap codec_cap = BT_AUDIO_CODEC_CAP_LC3( in ZTEST() local
1167 ret = bt_audio_codec_cap_get_freq(&codec_cap); in ZTEST()
1173 struct bt_audio_codec_cap codec_cap = BT_AUDIO_CODEC_CAP_LC3( in ZTEST() local
1180 ret = bt_audio_codec_cap_get_freq(&codec_cap); in ZTEST()
1183 ret = bt_audio_codec_cap_set_freq(&codec_cap, BT_AUDIO_CODEC_CAP_FREQ_22KHZ); in ZTEST()
1186 ret = bt_audio_codec_cap_get_freq(&codec_cap); in ZTEST()
1192 const struct bt_audio_codec_cap codec_cap = BT_AUDIO_CODEC_CAP_LC3( in ZTEST() local
1199 ret = bt_audio_codec_cap_get_frame_dur(&codec_cap); in ZTEST()
1205 struct bt_audio_codec_cap codec_cap = BT_AUDIO_CODEC_CAP_LC3( in ZTEST() local
1212 ret = bt_audio_codec_cap_get_frame_dur(&codec_cap); in ZTEST()
1215 ret = bt_audio_codec_cap_set_frame_dur(&codec_cap, BT_AUDIO_CODEC_CAP_DURATION_7_5); in ZTEST()
1218 ret = bt_audio_codec_cap_get_frame_dur(&codec_cap); in ZTEST()
1224 const struct bt_audio_codec_cap codec_cap = BT_AUDIO_CODEC_CAP_LC3( in ZTEST() local
1231 ret = bt_audio_codec_cap_get_supported_audio_chan_counts(&codec_cap, false); in ZTEST()
1238 struct bt_audio_codec_cap codec_cap = {.id = BT_HCI_CODING_FORMAT_LC3}; in ZTEST() local
1241 err = bt_audio_codec_cap_get_supported_audio_chan_counts(&codec_cap, true); in ZTEST()
1248 struct bt_audio_codec_cap codec_cap = {.id = BT_HCI_CODING_FORMAT_LC3}; in ZTEST() local
1251 err = bt_audio_codec_cap_get_supported_audio_chan_counts(&codec_cap, false); in ZTEST()
1257 struct bt_audio_codec_cap codec_cap = {0}; in ZTEST() local
1260 err = bt_audio_codec_cap_get_supported_audio_chan_counts(&codec_cap, true); in ZTEST()
1267 struct bt_audio_codec_cap codec_cap = {0}; in ZTEST() local
1270 err = bt_audio_codec_cap_get_supported_audio_chan_counts(&codec_cap, true); in ZTEST()
1276 struct bt_audio_codec_cap codec_cap = BT_AUDIO_CODEC_CAP_LC3( in ZTEST() local
1283 ret = bt_audio_codec_cap_get_supported_audio_chan_counts(&codec_cap, false); in ZTEST()
1287 &codec_cap, BT_AUDIO_CODEC_CAP_CHAN_COUNT_SUPPORT(2)); in ZTEST()
1290 ret = bt_audio_codec_cap_get_supported_audio_chan_counts(&codec_cap, false); in ZTEST()
1300 const struct bt_audio_codec_cap codec_cap = BT_AUDIO_CODEC_CAP_LC3( in ZTEST() local
1308 ret = bt_audio_codec_cap_get_octets_per_frame(&codec_cap, &codec_frame); in ZTEST()
1318 struct bt_audio_codec_cap codec_cap = BT_AUDIO_CODEC_CAP_LC3( in ZTEST() local
1325 ret = bt_audio_codec_cap_get_octets_per_frame(&codec_cap, &codec_frame); in ZTEST()
1332 ret = bt_audio_codec_cap_set_octets_per_frame(&codec_cap, &codec_frame); in ZTEST()
1335 ret = bt_audio_codec_cap_get_octets_per_frame(&codec_cap, &codec_frame); in ZTEST()
1343 const struct bt_audio_codec_cap codec_cap = BT_AUDIO_CODEC_CAP_LC3( in ZTEST() local
1350 ret = bt_audio_codec_cap_get_max_codec_frames_per_sdu(&codec_cap, false); in ZTEST()
1357 struct bt_audio_codec_cap codec_cap = {.id = BT_HCI_CODING_FORMAT_LC3}; in ZTEST() local
1360 err = bt_audio_codec_cap_get_max_codec_frames_per_sdu(&codec_cap, true); in ZTEST()
1367 struct bt_audio_codec_cap codec_cap = {.id = BT_HCI_CODING_FORMAT_LC3}; in ZTEST() local
1370 err = bt_audio_codec_cap_get_max_codec_frames_per_sdu(&codec_cap, false); in ZTEST()
1376 struct bt_audio_codec_cap codec_cap = {0}; in ZTEST() local
1379 err = bt_audio_codec_cap_get_max_codec_frames_per_sdu(&codec_cap, true); in ZTEST()
1385 struct bt_audio_codec_cap codec_cap = {0}; in ZTEST() local
1388 err = bt_audio_codec_cap_get_max_codec_frames_per_sdu(&codec_cap, true); in ZTEST()
1394 struct bt_audio_codec_cap codec_cap = BT_AUDIO_CODEC_CAP_LC3( in ZTEST() local
1401 ret = bt_audio_codec_cap_get_max_codec_frames_per_sdu(&codec_cap, false); in ZTEST()
1404 ret = bt_audio_codec_cap_set_max_codec_frames_per_sdu(&codec_cap, 4U); in ZTEST()
1407 ret = bt_audio_codec_cap_get_max_codec_frames_per_sdu(&codec_cap, false); in ZTEST()
1413 struct bt_audio_codec_cap codec_cap = in ZTEST() local
1421 ret = bt_audio_codec_cap_meta_get_val(&codec_cap, BT_AUDIO_METADATA_TYPE_PARENTAL_RATING, in ZTEST()
1429 struct bt_audio_codec_cap codec_cap = in ZTEST() local
1438 ret = bt_audio_codec_cap_meta_get_val(&codec_cap, BT_AUDIO_METADATA_TYPE_PARENTAL_RATING, in ZTEST()
1443 ret = bt_audio_codec_cap_meta_set_val(&codec_cap, BT_AUDIO_METADATA_TYPE_PARENTAL_RATING, in ZTEST()
1447 ret = bt_audio_codec_cap_meta_get_val(&codec_cap, BT_AUDIO_METADATA_TYPE_PARENTAL_RATING, in ZTEST()
1455 struct bt_audio_codec_cap codec_cap = in ZTEST() local
1461 ret = bt_audio_codec_cap_meta_get_val(&codec_cap, BT_AUDIO_METADATA_TYPE_PARENTAL_RATING, in ZTEST()
1465 ret = bt_audio_codec_cap_meta_set_val(&codec_cap, BT_AUDIO_METADATA_TYPE_PARENTAL_RATING, in ZTEST()
1469 ret = bt_audio_codec_cap_meta_get_val(&codec_cap, BT_AUDIO_METADATA_TYPE_PARENTAL_RATING, in ZTEST()
1477 struct bt_audio_codec_cap codec_cap = in ZTEST() local
1485 ret = bt_audio_codec_cap_meta_get_val(&codec_cap, BT_AUDIO_METADATA_TYPE_PARENTAL_RATING, in ZTEST()
1490 ret = bt_audio_codec_cap_meta_unset_val(&codec_cap, BT_AUDIO_METADATA_TYPE_PARENTAL_RATING); in ZTEST()
1493 ret = bt_audio_codec_cap_meta_get_val(&codec_cap, BT_AUDIO_METADATA_TYPE_PARENTAL_RATING, in ZTEST()
1513 struct bt_audio_codec_cap codec_cap = in ZTEST() local
1519 ret = bt_audio_codec_cap_meta_get_val(&codec_cap, BT_AUDIO_METADATA_TYPE_PARENTAL_RATING, in ZTEST()
1524 ret = bt_audio_codec_cap_meta_unset_val(&codec_cap, BT_AUDIO_METADATA_TYPE_PARENTAL_RATING); in ZTEST()
1527 ret = bt_audio_codec_cap_meta_get_val(&codec_cap, BT_AUDIO_METADATA_TYPE_PARENTAL_RATING, in ZTEST()
1534 struct bt_audio_codec_cap codec_cap = in ZTEST() local
1540 ret = bt_audio_codec_cap_meta_get_val(&codec_cap, BT_AUDIO_METADATA_TYPE_PREF_CONTEXT, in ZTEST()
1545 ret = bt_audio_codec_cap_meta_unset_val(&codec_cap, BT_AUDIO_METADATA_TYPE_PREF_CONTEXT); in ZTEST()
1548 ret = bt_audio_codec_cap_meta_get_val(&codec_cap, BT_AUDIO_METADATA_TYPE_PREF_CONTEXT, in ZTEST()
1555 struct bt_audio_codec_cap codec_cap = in ZTEST() local
1561 ret = bt_audio_codec_cap_meta_get_val(&codec_cap, BT_AUDIO_METADATA_TYPE_STREAM_CONTEXT, in ZTEST()
1566 ret = bt_audio_codec_cap_meta_unset_val(&codec_cap, BT_AUDIO_METADATA_TYPE_STREAM_CONTEXT); in ZTEST()
1569 ret = bt_audio_codec_cap_meta_get_val(&codec_cap, BT_AUDIO_METADATA_TYPE_STREAM_CONTEXT, in ZTEST()
1578 const struct bt_audio_codec_cap codec_cap = in ZTEST() local
1584 ret = bt_audio_codec_cap_meta_get_pref_context(&codec_cap); in ZTEST()
1593 struct bt_audio_codec_cap codec_cap = in ZTEST() local
1599 ret = bt_audio_codec_cap_meta_get_pref_context(&codec_cap); in ZTEST()
1602 ret = bt_audio_codec_cap_meta_set_pref_context(&codec_cap, new_ctx); in ZTEST()
1605 ret = bt_audio_codec_cap_meta_get_pref_context(&codec_cap); in ZTEST()
1613 const struct bt_audio_codec_cap codec_cap = in ZTEST() local
1619 ret = bt_audio_codec_cap_meta_get_stream_context(&codec_cap); in ZTEST()
1626 struct bt_audio_codec_cap codec_cap = in ZTEST() local
1632 ret = bt_audio_codec_cap_meta_get_stream_context(&codec_cap); in ZTEST()
1636 ret = bt_audio_codec_cap_meta_set_stream_context(&codec_cap, ctx); in ZTEST()
1639 ret = bt_audio_codec_cap_meta_get_stream_context(&codec_cap); in ZTEST()
1647 const struct bt_audio_codec_cap codec_cap = BT_AUDIO_CODEC_CAP( in ZTEST() local
1655 ret = bt_audio_codec_cap_meta_get_program_info(&codec_cap, &program_data); in ZTEST()
1665 struct bt_audio_codec_cap codec_cap = BT_AUDIO_CODEC_CAP( in ZTEST() local
1672 ret = bt_audio_codec_cap_meta_get_program_info(&codec_cap, &program_data); in ZTEST()
1676 ret = bt_audio_codec_cap_meta_set_program_info(&codec_cap, new_expected_data, in ZTEST()
1680 ret = bt_audio_codec_cap_meta_get_program_info(&codec_cap, &program_data); in ZTEST()
1687 const struct bt_audio_codec_cap codec_cap = BT_AUDIO_CODEC_CAP( in ZTEST() local
1694 ret = bt_audio_codec_cap_meta_get_lang(&codec_cap, &lang); in ZTEST()
1701 struct bt_audio_codec_cap codec_cap = BT_AUDIO_CODEC_CAP( in ZTEST() local
1709 ret = bt_audio_codec_cap_meta_get_lang(&codec_cap, &lang); in ZTEST()
1713 ret = bt_audio_codec_cap_meta_set_lang(&codec_cap, new_expected_data); in ZTEST()
1716 ret = bt_audio_codec_cap_meta_get_lang(&codec_cap, &lang); in ZTEST()
1724 const struct bt_audio_codec_cap codec_cap = BT_AUDIO_CODEC_CAP( in ZTEST() local
1730 ret = bt_audio_codec_cap_meta_get_ccid_list(&codec_cap, &ccid_list); in ZTEST()
1739 struct bt_audio_codec_cap codec_cap = BT_AUDIO_CODEC_CAP( in ZTEST() local
1745 ret = bt_audio_codec_cap_meta_get_ccid_list(&codec_cap, &ccid_list); in ZTEST()
1749 ret = bt_audio_codec_cap_meta_set_ccid_list(&codec_cap, new_expected_data, in ZTEST()
1753 ret = bt_audio_codec_cap_meta_get_ccid_list(&codec_cap, &ccid_list); in ZTEST()
1760 const struct bt_audio_codec_cap codec_cap = in ZTEST() local
1766 ret = bt_audio_codec_cap_meta_get_parental_rating(&codec_cap); in ZTEST()
1772 struct bt_audio_codec_cap codec_cap = in ZTEST() local
1778 ret = bt_audio_codec_cap_meta_get_parental_rating(&codec_cap); in ZTEST()
1781 ret = bt_audio_codec_cap_meta_set_parental_rating(&codec_cap, in ZTEST()
1785 ret = bt_audio_codec_cap_meta_get_parental_rating(&codec_cap); in ZTEST()
1792 const struct bt_audio_codec_cap codec_cap = BT_AUDIO_CODEC_CAP( in ZTEST() local
1799 ret = bt_audio_codec_cap_meta_get_program_info_uri(&codec_cap, &program_info_uri); in ZTEST()
1808 struct bt_audio_codec_cap codec_cap = BT_AUDIO_CODEC_CAP( in ZTEST() local
1815 ret = bt_audio_codec_cap_meta_get_program_info_uri(&codec_cap, &program_info_uri); in ZTEST()
1819 ret = bt_audio_codec_cap_meta_set_program_info_uri(&codec_cap, new_expected_data, in ZTEST()
1823 ret = bt_audio_codec_cap_meta_get_program_info_uri(&codec_cap, &program_info_uri); in ZTEST()
1830 const struct bt_audio_codec_cap codec_cap = in ZTEST() local
1836 ret = bt_audio_codec_cap_meta_get_audio_active_state(&codec_cap); in ZTEST()
1842 struct bt_audio_codec_cap codec_cap = in ZTEST() local
1848 ret = bt_audio_codec_cap_meta_get_audio_active_state(&codec_cap); in ZTEST()
1851 ret = bt_audio_codec_cap_meta_set_audio_active_state(&codec_cap, in ZTEST()
1855 ret = bt_audio_codec_cap_meta_get_audio_active_state(&codec_cap); in ZTEST()
1861 const struct bt_audio_codec_cap codec_cap = BT_AUDIO_CODEC_CAP( in ZTEST() local
1866 ret = bt_audio_codec_cap_meta_get_bcast_audio_immediate_rend_flag(&codec_cap); in ZTEST()
1872 struct bt_audio_codec_cap codec_cap = in ZTEST() local
1876 ret = bt_audio_codec_cap_meta_get_bcast_audio_immediate_rend_flag(&codec_cap); in ZTEST()
1879 ret = bt_audio_codec_cap_meta_set_bcast_audio_immediate_rend_flag(&codec_cap); in ZTEST()
1882 ret = bt_audio_codec_cap_meta_get_bcast_audio_immediate_rend_flag(&codec_cap); in ZTEST()
1888 const struct bt_audio_codec_cap codec_cap = BT_AUDIO_CODEC_CAP( in ZTEST() local
1894 ret = bt_audio_codec_cap_meta_get_assisted_listening_stream(&codec_cap); in ZTEST()
1900 struct bt_audio_codec_cap codec_cap = in ZTEST() local
1904 ret = bt_audio_codec_cap_meta_get_assisted_listening_stream(&codec_cap); in ZTEST()
1908 &codec_cap, BT_AUDIO_ASSISTED_LISTENING_STREAM_UNSPECIFIED); in ZTEST()
1911 ret = bt_audio_codec_cap_meta_get_assisted_listening_stream(&codec_cap); in ZTEST()
1918 const struct bt_audio_codec_cap codec_cap = in ZTEST() local
1925 ret = bt_audio_codec_cap_meta_get_broadcast_name(&codec_cap, &broadcast_name); in ZTEST()
1934 struct bt_audio_codec_cap codec_cap = in ZTEST() local
1941 ret = bt_audio_codec_cap_meta_get_broadcast_name(&codec_cap, &broadcast_name); in ZTEST()
1945 ret = bt_audio_codec_cap_meta_set_broadcast_name(&codec_cap, new_expected_data, in ZTEST()
1949 ret = bt_audio_codec_cap_meta_get_broadcast_name(&codec_cap, &broadcast_name); in ZTEST()
1957 const struct bt_audio_codec_cap codec_cap = BT_AUDIO_CODEC_CAP( in ZTEST() local
1963 ret = bt_audio_codec_cap_meta_get_extended(&codec_cap, &extended_meta); in ZTEST()
1972 struct bt_audio_codec_cap codec_cap = BT_AUDIO_CODEC_CAP( in ZTEST() local
1978 ret = bt_audio_codec_cap_meta_get_extended(&codec_cap, &extended_meta); in ZTEST()
1982 ret = bt_audio_codec_cap_meta_set_extended(&codec_cap, new_expected_data, in ZTEST()
1986 ret = bt_audio_codec_cap_meta_get_extended(&codec_cap, &extended_meta); in ZTEST()
1994 const struct bt_audio_codec_cap codec_cap = BT_AUDIO_CODEC_CAP( in ZTEST() local
2000 ret = bt_audio_codec_cap_meta_get_vendor(&codec_cap, &vendor_meta); in ZTEST()
2009 struct bt_audio_codec_cap codec_cap = BT_AUDIO_CODEC_CAP( in ZTEST() local
2015 ret = bt_audio_codec_cap_meta_get_vendor(&codec_cap, &extended_meta); in ZTEST()
2019 ret = bt_audio_codec_cap_meta_set_vendor(&codec_cap, new_expected_data, in ZTEST()
2023 ret = bt_audio_codec_cap_meta_get_vendor(&codec_cap, &extended_meta); in ZTEST()