Home
last modified time | relevance | path

Searched refs:num_uuids (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Bluetooth/system/btif/test/
Dbtif_storage_test.cc38 size_t num_uuids = btif_split_uuids_string(s1, uuids, 2); in TEST() local
39 EXPECT_EQ(num_uuids, 2u); in TEST()
50 size_t num_uuids = btif_split_uuids_string(s1, uuids, 1); in TEST() local
51 EXPECT_EQ(num_uuids, 1u); in TEST()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_storage.cc318 size_t num_uuids = btif_split_uuids_string(value, p_uuid, BT_MAX_NUM_UUIDS); in cfg2prop() local
319 prop->len = num_uuids * sizeof(Uuid); in cfg2prop()
557 size_t num_uuids = 0; in btif_split_uuids_string() local
558 while (str && num_uuids < max_uuids) { in btif_split_uuids_string()
568 num_uuids++; in btif_split_uuids_string()
575 return num_uuids; in btif_split_uuids_string()
631 uint32_t num_uuids = 0; in btif_storage_get_adapter_property() local
642 *(p_uuid + num_uuids) = Uuid::From16Bit(UUID_SERVCLASS_AG_HANDSFREE); in btif_storage_get_adapter_property()
643 num_uuids++; in btif_storage_get_adapter_property()
649 *(p_uuid + num_uuids) = Uuid::From16Bit(UUID_SERVCLASS_HEADSET_AUDIO_GATEWAY); in btif_storage_get_adapter_property()
[all …]
Dbtif_dm.cc1360 uint8_t num_uuids = 0, max_num_uuid = 32; in btif_dm_search_devices_evt() local
1379 &num_uuids, uuid_list, max_num_uuid)) { in btif_dm_search_devices_evt()
1482 if (num_uuids > 0) { in btif_dm_search_devices_evt()
1490 for (int i = 0; i < num_uuids; ++i) { in btif_dm_search_devices_evt()
/packages/modules/Bluetooth/system/stack/test/fuzzers/sdp/
DsdpFuzzFunctions.h48 uint8_t num_uuids = fdp->ConsumeIntegral<uint8_t>();
49 for (uint8_t i = 0; i < num_uuids; i++) {
204 uint16_t num_uuids = fdp->ConsumeIntegralInRange<uint16_t>(1, 64);
205 uint16_t* uuids = new uint16_t[num_uuids];
206 for (uint16_t i = 0; i < num_uuids; i++) {
212 fdp->ConsumeIntegral<uint16_t>(), num_uuids, uuids);
/packages/modules/Bluetooth/system/stack/sdp/
Dsdp_db.cc596 bool SDP_AddUuidSequence(uint32_t handle, uint16_t attr_id, uint16_t num_uuids, uint16_t* p_uuids) { in SDP_AddUuidSequence() argument
606 for (xx = 0; xx < num_uuids; xx++, p_uuids++) { in SDP_AddUuidSequence()
611 log::warn("SDP_AddUuidSequence - too long, add {} uuids of {}", xx, num_uuids); in SDP_AddUuidSequence()
Dsdp_api.cc740 uint16_t num_uuids = 1; in SDP_DiDiscover() local
746 if (SDP_InitDiscoveryDb(p_db, len, num_uuids, &init_uuid, 0, NULL)) { in SDP_DiDiscover()
Dsdp_discovery.cc59 static uint8_t* sdpu_build_uuid_seq(uint8_t* p_out, uint16_t num_uuids, Uuid* p_uuid_list, in sdpu_build_uuid_seq() argument
80 for (xx = 0; xx < num_uuids; xx++, p_uuid_list++) { in sdpu_build_uuid_seq()
/packages/modules/Bluetooth/system/stack/sdp/internal/
Dsdp_api.h303 bool SDP_AddUuidSequence(uint32_t handle, uint16_t attr_id, uint16_t num_uuids, uint16_t* p_uuids);
/packages/modules/Bluetooth/system/stack/include/
Dsdp_api.h389 [[nodiscard]] bool (*SDP_AddUuidSequence)(uint32_t handle, uint16_t attr_id, uint16_t num_uuids,