Lines Matching refs:new_expected_data
53 const uint8_t new_expected_data = BT_AUDIO_CODEC_CFG_FREQ_48KHZ; in ZTEST() local
63 &new_expected_data, sizeof(new_expected_data)); in ZTEST()
67 zassert_equal(ret, sizeof(new_expected_data), "Unexpected return value %d", ret); in ZTEST()
68 zassert_equal(data[0], new_expected_data, "Unexpected data value %u", data[0]); in ZTEST()
75 const uint8_t new_expected_data = BT_AUDIO_CODEC_CFG_FREQ_48KHZ; in ZTEST() local
83 &new_expected_data, sizeof(new_expected_data)); in ZTEST()
87 zassert_equal(ret, sizeof(new_expected_data), "Unexpected return value %d", ret); in ZTEST()
88 zassert_equal(data[0], new_expected_data, "Unexpected return value %d", ret); in ZTEST()
431 const uint8_t new_expected_data = BT_AUDIO_PARENTAL_RATING_AGE_13_OR_ABOVE; in ZTEST() local
442 &new_expected_data, sizeof(new_expected_data)); in ZTEST()
447 zassert_equal(ret, sizeof(new_expected_data), "Unexpected return value %d", ret); in ZTEST()
448 zassert_equal(data[0], new_expected_data, "Unexpected data value %u", data[0]); in ZTEST()
455 const uint8_t new_expected_data = BT_AUDIO_PARENTAL_RATING_AGE_13_OR_ABOVE; in ZTEST() local
464 &new_expected_data, sizeof(new_expected_data)); in ZTEST()
469 zassert_equal(ret, sizeof(new_expected_data), "Unexpected return value %d", ret); in ZTEST()
470 zassert_equal(data[0], new_expected_data, "Unexpected return value %d", ret); in ZTEST()
622 const uint8_t new_expected_data[] = {'N', 'e', 'w', ' ', 'i', 'n', 'f', 'o'}; in ZTEST() local
634 ret = bt_audio_codec_cfg_meta_set_program_info(&codec_cfg, new_expected_data, in ZTEST()
635 ARRAY_SIZE(new_expected_data)); in ZTEST()
639 zassert_equal(ret, ARRAY_SIZE(new_expected_data), "Unexpected return value %d", ret); in ZTEST()
640 zassert_mem_equal(new_expected_data, program_data, ARRAY_SIZE(new_expected_data)); in ZTEST()
662 const uint8_t new_expected_data[] = "deu"; in ZTEST() local
671 ret = bt_audio_codec_cfg_meta_set_lang(&codec_cfg, new_expected_data); in ZTEST()
676 zassert_mem_equal(new_expected_data, lang, BT_AUDIO_LANG_SIZE); in ZTEST()
696 const uint8_t new_expected_data[] = {0x25, 0x30}; in ZTEST() local
707 ret = bt_audio_codec_cfg_meta_set_ccid_list(&codec_cfg, new_expected_data, in ZTEST()
708 ARRAY_SIZE(new_expected_data)); in ZTEST()
712 zassert_equal(ret, ARRAY_SIZE(new_expected_data), "Unexpected return value %d", ret); in ZTEST()
713 zassert_mem_equal(new_expected_data, ccid_list, ARRAY_SIZE(new_expected_data)); in ZTEST()
719 const uint8_t new_expected_data[] = {0x25, 0x30, 0x35, 0x40}; in ZTEST() local
730 ret = bt_audio_codec_cfg_meta_set_ccid_list(&codec_cfg, new_expected_data, in ZTEST()
731 ARRAY_SIZE(new_expected_data)); in ZTEST()
735 zassert_equal(ret, ARRAY_SIZE(new_expected_data), "Unexpected return value %d", ret); in ZTEST()
736 zassert_mem_equal(new_expected_data, ccid_list, ARRAY_SIZE(new_expected_data)); in ZTEST()
752 const uint8_t new_expected_data[] = {0x25, 0x30}; in ZTEST() local
765 ret = bt_audio_codec_cfg_meta_set_ccid_list(&codec_cfg, new_expected_data, in ZTEST()
766 ARRAY_SIZE(new_expected_data)); in ZTEST()
770 zassert_equal(ret, ARRAY_SIZE(new_expected_data), "Unexpected return value %d", ret); in ZTEST()
771 zassert_mem_equal(new_expected_data, ccid_list, ARRAY_SIZE(new_expected_data)); in ZTEST()
780 const uint8_t new_expected_data[] = {0x25, 0x30, 0x35, 0x40}; in ZTEST() local
793 ret = bt_audio_codec_cfg_meta_set_ccid_list(&codec_cfg, new_expected_data, in ZTEST()
794 ARRAY_SIZE(new_expected_data)); in ZTEST()
798 zassert_equal(ret, ARRAY_SIZE(new_expected_data), "Unexpected return value %d", ret); in ZTEST()
799 zassert_mem_equal(new_expected_data, ccid_list, ARRAY_SIZE(new_expected_data)); in ZTEST()
854 const uint8_t new_expected_data[] = {'n', 'e', 'w', '.', 'c', 'o', 'm'}; in ZTEST() local
866 ret = bt_audio_codec_cfg_meta_set_program_info_uri(&codec_cfg, new_expected_data, in ZTEST()
867 ARRAY_SIZE(new_expected_data)); in ZTEST()
871 zassert_equal(ret, ARRAY_SIZE(new_expected_data), "Unexpected return value %d", ret); in ZTEST()
872 zassert_mem_equal(new_expected_data, program_info_uri, ARRAY_SIZE(new_expected_data)); in ZTEST()
980 const uint8_t new_expected_data[] = {'n', 'e', 'w', ' ', 'b', 'c', 'a', 's', 't'}; in ZTEST() local
992 ret = bt_audio_codec_cfg_meta_set_broadcast_name(&codec_cfg, new_expected_data, in ZTEST()
993 ARRAY_SIZE(new_expected_data)); in ZTEST()
997 zassert_equal(ret, ARRAY_SIZE(new_expected_data), "Unexpected return value %d", ret); in ZTEST()
998 zassert_mem_equal(new_expected_data, broadcast_name, ARRAY_SIZE(new_expected_data)); in ZTEST()
1018 const uint8_t new_expected_data[] = {0x04, 0x05}; in ZTEST() local
1029 ret = bt_audio_codec_cfg_meta_set_extended(&codec_cfg, new_expected_data, in ZTEST()
1030 ARRAY_SIZE(new_expected_data)); in ZTEST()
1034 zassert_equal(ret, ARRAY_SIZE(new_expected_data), "Unexpected return value %d", ret); in ZTEST()
1035 zassert_mem_equal(new_expected_data, extended_meta, ARRAY_SIZE(new_expected_data)); in ZTEST()
1055 const uint8_t new_expected_data[] = {0x04, 0x05, 0x06, 0x07, 0x08}; in ZTEST() local
1066 ret = bt_audio_codec_cfg_meta_set_vendor(&codec_cfg, new_expected_data, in ZTEST()
1067 ARRAY_SIZE(new_expected_data)); in ZTEST()
1071 zassert_equal(ret, ARRAY_SIZE(new_expected_data), "Unexpected return value %d", ret); in ZTEST()
1072 zassert_mem_equal(new_expected_data, extended_meta, ARRAY_SIZE(new_expected_data)); in ZTEST()
1098 const uint8_t new_expected_data = BT_AUDIO_CODEC_CFG_FREQ_48KHZ; in ZTEST() local
1108 &new_expected_data, sizeof(new_expected_data)); in ZTEST()
1112 zassert_equal(ret, sizeof(new_expected_data), "Unexpected return value %d", ret); in ZTEST()
1113 zassert_equal(data[0], new_expected_data, "Unexpected data value %u", data[0]); in ZTEST()
1120 const uint8_t new_expected_data = BT_AUDIO_CODEC_CFG_FREQ_48KHZ; in ZTEST() local
1128 &new_expected_data, sizeof(new_expected_data)); in ZTEST()
1132 zassert_equal(ret, sizeof(new_expected_data), "Unexpected return value %d", ret); in ZTEST()
1133 zassert_equal(data[0], new_expected_data, "Unexpected return value %d", ret); in ZTEST()
1433 const uint8_t new_expected_data = BT_AUDIO_PARENTAL_RATING_AGE_13_OR_ABOVE; in ZTEST() local
1444 &new_expected_data, sizeof(new_expected_data)); in ZTEST()
1449 zassert_equal(ret, sizeof(new_expected_data), "Unexpected return value %d", ret); in ZTEST()
1450 zassert_equal(data[0], new_expected_data, "Unexpected data value %u", data[0]); in ZTEST()
1457 const uint8_t new_expected_data = BT_AUDIO_PARENTAL_RATING_AGE_13_OR_ABOVE; in ZTEST() local
1466 &new_expected_data, sizeof(new_expected_data)); in ZTEST()
1471 zassert_equal(ret, sizeof(new_expected_data), "Unexpected return value %d", ret); in ZTEST()
1472 zassert_equal(data[0], new_expected_data, "Unexpected return value %d", ret); in ZTEST()
1664 const uint8_t new_expected_data[] = {'N', 'e', 'w', ' ', 'i', 'n', 'f', 'o'}; in ZTEST() local
1676 ret = bt_audio_codec_cap_meta_set_program_info(&codec_cap, new_expected_data, in ZTEST()
1677 ARRAY_SIZE(new_expected_data)); in ZTEST()
1681 zassert_equal(ret, ARRAY_SIZE(new_expected_data), "Unexpected return value %d", ret); in ZTEST()
1682 zassert_mem_equal(new_expected_data, program_data, ARRAY_SIZE(new_expected_data)); in ZTEST()
1704 const uint8_t new_expected_data[] = "deu"; in ZTEST() local
1713 ret = bt_audio_codec_cap_meta_set_lang(&codec_cap, new_expected_data); in ZTEST()
1718 zassert_mem_equal(new_expected_data, lang, BT_AUDIO_LANG_SIZE); in ZTEST()
1738 const uint8_t new_expected_data[] = {0x25, 0x30}; in ZTEST() local
1749 ret = bt_audio_codec_cap_meta_set_ccid_list(&codec_cap, new_expected_data, in ZTEST()
1750 ARRAY_SIZE(new_expected_data)); in ZTEST()
1754 zassert_equal(ret, ARRAY_SIZE(new_expected_data), "Unexpected return value %d", ret); in ZTEST()
1755 zassert_mem_equal(new_expected_data, ccid_list, ARRAY_SIZE(new_expected_data)); in ZTEST()
1807 const uint8_t new_expected_data[] = {'n', 'e', 'w', '.', 'c', 'o', 'm'}; in ZTEST() local
1819 ret = bt_audio_codec_cap_meta_set_program_info_uri(&codec_cap, new_expected_data, in ZTEST()
1820 ARRAY_SIZE(new_expected_data)); in ZTEST()
1824 zassert_equal(ret, ARRAY_SIZE(new_expected_data), "Unexpected return value %d", ret); in ZTEST()
1825 zassert_mem_equal(new_expected_data, program_info_uri, ARRAY_SIZE(new_expected_data)); in ZTEST()
1933 const uint8_t new_expected_data[] = {'n', 'e', 'w', ' ', 'b', 'c', 'a', 's', 't'}; in ZTEST() local
1945 ret = bt_audio_codec_cap_meta_set_broadcast_name(&codec_cap, new_expected_data, in ZTEST()
1946 ARRAY_SIZE(new_expected_data)); in ZTEST()
1950 zassert_equal(ret, ARRAY_SIZE(new_expected_data), "Unexpected return value %d", ret); in ZTEST()
1951 zassert_mem_equal(new_expected_data, broadcast_name, ARRAY_SIZE(new_expected_data)); in ZTEST()
1971 const uint8_t new_expected_data[] = {0x04, 0x05}; in ZTEST() local
1982 ret = bt_audio_codec_cap_meta_set_extended(&codec_cap, new_expected_data, in ZTEST()
1983 ARRAY_SIZE(new_expected_data)); in ZTEST()
1987 zassert_equal(ret, ARRAY_SIZE(new_expected_data), "Unexpected return value %d", ret); in ZTEST()
1988 zassert_mem_equal(new_expected_data, extended_meta, ARRAY_SIZE(new_expected_data)); in ZTEST()
2008 const uint8_t new_expected_data[] = {0x04, 0x05, 0x06, 0x07, 0x08}; in ZTEST() local
2019 ret = bt_audio_codec_cap_meta_set_vendor(&codec_cap, new_expected_data, in ZTEST()
2020 ARRAY_SIZE(new_expected_data)); in ZTEST()
2024 zassert_equal(ret, ARRAY_SIZE(new_expected_data), "Unexpected return value %d", ret); in ZTEST()
2025 zassert_mem_equal(new_expected_data, extended_meta, ARRAY_SIZE(new_expected_data)); in ZTEST()