Lines Matching +full:0 +full:x02
26 0x51, 0x18, /* uuid */ in bap_base_test_suite_fixture_init()
27 0x40, 0x9C, 0x00, /* pd */ in bap_base_test_suite_fixture_init()
28 0x02, /* subgroup count */ in bap_base_test_suite_fixture_init()
29 0x01, /* Subgroup 1: bis count */ in bap_base_test_suite_fixture_init()
30 0x06, 0x00, 0x00, 0x00, 0x00, /* LC3 codec_id*/ in bap_base_test_suite_fixture_init()
31 0x10, /* cc length */ in bap_base_test_suite_fixture_init()
32 0x02, 0x01, 0x03, 0x02, 0x02, 0x01, 0x05, 0x03, in bap_base_test_suite_fixture_init()
33 0x01, 0x00, 0x00, 0x00, 0x03, 0x04, 0x28, 0x00, /* cc */ in bap_base_test_suite_fixture_init()
34 0x04, /* meta length */ in bap_base_test_suite_fixture_init()
35 0x03, 0x02, 0x01, 0x00, /* meta */ in bap_base_test_suite_fixture_init()
36 0x01, /* bis index */ in bap_base_test_suite_fixture_init()
37 0x03, /* bis cc length */ in bap_base_test_suite_fixture_init()
38 0x02, 0x03, 0x03, /* bis cc length */ in bap_base_test_suite_fixture_init()
39 0x01, /* Subgroup 1: bis count */ in bap_base_test_suite_fixture_init()
40 0x06, 0x00, 0x00, 0x00, 0x00, /* LC3 codec_id*/ in bap_base_test_suite_fixture_init()
41 0x10, /* cc length */ in bap_base_test_suite_fixture_init()
42 0x02, 0x01, 0x03, 0x02, 0x02, 0x01, 0x05, 0x03, in bap_base_test_suite_fixture_init()
43 0x01, 0x00, 0x00, 0x00, 0x03, 0x04, 0x28, 0x00, /* cc */ in bap_base_test_suite_fixture_init()
44 0x04, /* meta length */ in bap_base_test_suite_fixture_init()
45 0x03, 0x02, 0x01, 0x00, /* meta */ in bap_base_test_suite_fixture_init()
46 0x02, /* bis index */ in bap_base_test_suite_fixture_init()
47 0x03, /* bis cc length */ in bap_base_test_suite_fixture_init()
48 0x02, 0x03, 0x03 /* bis cc length */ in bap_base_test_suite_fixture_init()
55 fixture->valid_base_ad.type = 0x16; /* service data */ in bap_base_test_suite_fixture_init()
60 base_data[12] = 0xaa; /* Set invalid CC length*/ in bap_base_test_suite_fixture_init()
65 fixture->invalid_base_ad.type = 0x16; /* service data */ in bap_base_test_suite_fixture_init()
82 memset(f, 0, sizeof(struct bap_base_test_suite_fixture)); in bap_base_test_suite_before()
126 fixture->valid_base_ad.type = 0x03; /* BT_DATA_UUID16_ALL */ in ZTEST_F()
137 fixture->valid_base_ad.data_len = 0x03; /* Minimum len is BASE_MIN_SIZE (16) */ in ZTEST_F()
149 fixture->valid_base_data[0] = 0x01; in ZTEST_F()
150 fixture->valid_base_data[1] = 0x02; in ZTEST_F()
223 zassert_equal(ret, 0, "Unexpected return value: %d", ret); in ZTEST_F()
224 zassert_equal(bis_indexes, 0x00000003 /* Bit 1 and 2 */, in ZTEST_F()
225 "Unexpected BIS index value: 0x%08X", bis_indexes); in ZTEST_F()
261 size_t count = 0U; in ZTEST_F()
267 zassert_equal(ret, 0, "Unexpected return value: %d", ret); in ZTEST_F()
268 zassert_equal(count, 0x02, "Unexpected subgroup count value: %u", count); in ZTEST_F()
298 zassert_equal(ret, 0, "Unexpected return value: %d", ret); in test_base_get_subgroup_codec_id_cb()
299 zassert_equal(codec_id.id, 0x06, "Unexpected codec.id value: %u", codec_id.id); in test_base_get_subgroup_codec_id_cb()
300 zassert_equal(codec_id.cid, 0x0000, "Unexpected codec.cid value: %u", codec_id.cid); in test_base_get_subgroup_codec_id_cb()
301 zassert_equal(codec_id.vid, 0x0000, "Unexpected codec.vid value: %u", codec_id.vid); in test_base_get_subgroup_codec_id_cb()
314 zassert_equal(ret, 0, "Unexpected return value: %d", ret); in ZTEST_F()
338 zassert_equal(ret, 0, "Unexpected return value: %d", ret); in ZTEST_F()
362 zassert_equal(ret, 0, "Unexpected return value: %d", ret); in ZTEST_F()
369 0x02, 0x01, 0x03, 0x02, 0x02, 0x01, 0x05, 0x03, in test_base_get_subgroup_codec_data_cb()
370 0x01, 0x00, 0x00, 0x00, 0x03, 0x04, 0x28, 0x00, in test_base_get_subgroup_codec_data_cb()
390 zassert_equal(ret, 0, "Unexpected return value: %d", ret); in ZTEST_F()
414 zassert_equal(ret, 0, "Unexpected return value: %d", ret); in ZTEST_F()
438 zassert_equal(ret, 0, "Unexpected return value: %d", ret); in ZTEST_F()
444 const uint8_t expected_data[] = {0x03, 0x02, 0x01, 0x00}; in test_base_get_subgroup_codec_meta_cb()
463 zassert_equal(ret, 0, "Unexpected return value: %d", ret); in ZTEST_F()
487 zassert_equal(ret, 0, "Unexpected return value: %d", ret); in ZTEST_F()
511 zassert_equal(ret, 0, "Unexpected return value: %d", ret); in ZTEST_F()
517 const uint8_t expected_meta[] = {0x03, 0x02, 0x01, 0x00}; in test_base_subgroup_codec_to_codec_cfg_cb()
519 0x02, 0x01, 0x03, 0x02, 0x02, 0x01, 0x05, 0x03, in test_base_subgroup_codec_to_codec_cfg_cb()
520 0x01, 0x00, 0x00, 0x00, 0x03, 0x04, 0x28, 0x00, in test_base_subgroup_codec_to_codec_cfg_cb()
526 zassert_equal(ret, 0, "Unexpected return value: %d", ret); in test_base_subgroup_codec_to_codec_cfg_cb()
543 zassert_equal(ret, 0, "Unexpected return value: %d", ret); in ZTEST_F()
567 zassert_equal(ret, 0, "Unexpected return value: %d", ret); in ZTEST_F()
590 zassert_equal(ret, 0, "Unexpected return value: %d", ret); in ZTEST_F()
599 zassert_equal(ret, 0x01, "Unexpected return value: %d", ret); in test_base_get_subgroup_bis_count_cb()
612 zassert_equal(ret, 0, "Unexpected return value: %d", ret); in ZTEST_F()
635 zassert_equal(ret, 0, "Unexpected return value: %d", ret); in ZTEST_F()
646 zassert_equal(ret, 0, "Unexpected return value: %d", ret); in test_bt_bap_base_subgroup_get_bis_indexes_cb()
647 zassert_not_equal(bis_indexes, 0 /* May be Bit 1 or 2 */, in test_bt_bap_base_subgroup_get_bis_indexes_cb()
648 "Unexpected BIS index value: 0x%08X", bis_indexes); in test_bt_bap_base_subgroup_get_bis_indexes_cb()
662 zassert_equal(ret, 0, "Unexpected return value: %d", ret); in ZTEST_F()
686 zassert_equal(ret, 0, "Unexpected return value: %d", ret); in ZTEST_F()
709 zassert_equal(ret, 0, "Unexpected return value: %d", ret); in ZTEST_F()
727 size_t count = 0U; in test_base_subgroup_foreach_bis_subgroup_cb()
732 zassert_equal(ret, 0, "Unexpected return value: %d", ret); in test_base_subgroup_foreach_bis_subgroup_cb()
733 zassert_equal(count, 0x01, "Unexpected subgroup count value: %u", count); in test_base_subgroup_foreach_bis_subgroup_cb()
743 size_t count = 0U; in ZTEST_F()
750 zassert_equal(ret, 0, "Unexpected return value: %d", ret); in ZTEST_F()
751 zassert_equal(count, 0x02, "Unexpected subgroup count value: %u", count); in ZTEST_F()
776 zassert_equal(ret, 0, "Unexpected return value: %d", ret); in ZTEST_F()
800 zassert_equal(ret, 0, "Unexpected return value: %d", ret); in ZTEST_F()
807 const uint8_t expected_data[] = {0x02, 0x03, 0x03}; in test_base_subgroup_bis_codec_to_codec_cfg_bis_cb()
812 zassert_equal(ret, 0, "Unexpected return value: %d", ret); in test_base_subgroup_bis_codec_to_codec_cfg_bis_cb()
827 zassert_equal(ret, 0, "Unexpected return value: %d", ret); in test_base_subgroup_bis_codec_to_codec_cfg_subgroup_cb()
841 zassert_equal(ret, 0, "Unexpected return value: %d", ret); in ZTEST_F()
878 zassert_equal(ret, 0, "Unexpected return value: %d", ret); in ZTEST_F()
916 zassert_equal(ret, 0, "Unexpected return value: %d", ret); in ZTEST_F()