Home
last modified time | relevance | path

Searched refs:tSDP_DISC_ATTR (Results 1 – 25 of 26) sorted by relevance

12

/packages/modules/Bluetooth/system/bta/test/
Dbta_dip_test.cc35 static tSDP_DISC_ATTR g_attr_service_class_id_list;
36 static tSDP_DISC_ATTR g_sub_attr;
37 static tSDP_DISC_ATTR g_attr_spec_id;
38 static tSDP_DISC_ATTR g_attr_vendor_id;
39 static tSDP_DISC_ATTR g_attr_vendor_id_src;
40 static tSDP_DISC_ATTR g_attr_vendor_product_id;
41 static tSDP_DISC_ATTR g_attr_vendor_product_version;
42 static tSDP_DISC_ATTR g_attr_vendor_product_primary_record;
/packages/modules/Bluetooth/system/stack/test/sdp/
Dstack_sdp_test.cc283 static tSDP_DISC_ATTR uuid_desc_attr{};
284 static tSDP_DISC_ATTR client_exe_url_attr{};
285 static tSDP_DISC_ATTR service_desc_attr{};
286 static tSDP_DISC_ATTR doc_url_desc_attr{};
287 static tSDP_DISC_ATTR spec_id_attr{};
288 static tSDP_DISC_ATTR vendor_id_attr{};
289 static tSDP_DISC_ATTR vendor_id_src_attr{};
290 static tSDP_DISC_ATTR prod_id_attr{};
291 static tSDP_DISC_ATTR prod_version_attr{};
292 static tSDP_DISC_ATTR primary_rec_attr{};
Dstack_sdp_utils_test.cc696 tSDP_DISC_ATTR attr = { in TEST_F()
718 tSDP_DISC_ATTR attr = { in TEST_F()
740 tSDP_DISC_ATTR* p_attr = in TEST_F()
741 (tSDP_DISC_ATTR*)calloc(1, sizeof(tSDP_DISC_ATTR) + 16); in TEST_F()
742 tSDP_DISC_ATTR attr = { in TEST_F()
754 memcpy(p_attr, &attr, sizeof(tSDP_DISC_ATTR)); in TEST_F()
/packages/modules/Bluetooth/system/stack/sdp/
Dsdp_api.cc226 tSDP_DISC_ATTR* SDP_FindAttributeInRec(const tSDP_DISC_REC* p_rec, in SDP_FindAttributeInRec()
228 tSDP_DISC_ATTR* p_attr; in SDP_FindAttributeInRec()
255 tSDP_DISC_ATTR *p_attr, *p_sattr, *p_extra_sattr; in SDP_FindServiceUUIDInRec()
328 tSDP_DISC_ATTR* p_attr = p_rec->p_first_attr; in SDP_FindServiceUUIDInRec_128bit()
332 tSDP_DISC_ATTR* p_sattr = p_attr->attr_value.v.p_sub_attr; in SDP_FindServiceUUIDInRec_128bit()
374 tSDP_DISC_ATTR *p_attr, *p_sattr, *p_extra_sattr; in SDP_FindServiceInDb()
476 tSDP_DISC_ATTR *p_attr, *p_sattr; in SDP_FindServiceInDb_128bit()
535 tSDP_DISC_ATTR *p_attr, *p_sattr; in SDP_FindServiceUUIDInDb()
583 static bool sdp_fill_proto_elem(const tSDP_DISC_ATTR* p_attr, in sdp_fill_proto_elem()
586 tSDP_DISC_ATTR* p_sattr; in sdp_fill_proto_elem()
[all …]
Dsdp_discovery.cc295 tSDP_DISC_ATTR* p_parent_attr, uint8_t nest_level) { in add_attr()
296 tSDP_DISC_ATTR* p_attr; in add_attr()
318 total_len = attr_len - 4 + (uint16_t)sizeof(tSDP_DISC_ATTR); in add_attr()
320 total_len = sizeof(tSDP_DISC_ATTR); in add_attr()
334 p_attr = (tSDP_DISC_ATTR*)p_db->p_free_mem; in add_attr()
349 p_db->p_free_mem += sizeof(tSDP_DISC_ATTR); in add_attr()
350 p_db->mem_free -= sizeof(tSDP_DISC_ATTR); in add_attr()
428 p_db->p_free_mem += sizeof(tSDP_DISC_ATTR); in add_attr()
429 p_db->mem_free -= sizeof(tSDP_DISC_ATTR); in add_attr()
479 tSDP_DISC_ATTR* p_attr1 = p_rec->p_first_attr; in add_attr()
[all …]
Dsdp_discovery_db.h54 } tSDP_DISC_ATTR; typedef
57 tSDP_DISC_ATTR* p_first_attr; /* First attribute of record */
Dsdp_utils.cc88 for (tSDP_DISC_ATTR* p_attr = p_rec->p_first_attr; p_attr != nullptr; in sdpu_find_profile_version()
96 for (tSDP_DISC_ATTR* p_sattr = p_attr->attr_value.v.p_sub_attr; in sdpu_find_profile_version()
106 for (tSDP_DISC_ATTR* p_ssattr = p_sattr->attr_value.v.p_sub_attr; in sdpu_find_profile_version()
114 tSDP_DISC_ATTR* version_attr = p_ssattr->p_next_attr; in sdpu_find_profile_version()
144 for (tSDP_DISC_ATTR* p_attr = p_rec->p_first_attr; p_attr != nullptr; in sdpu_find_most_specific_service_uuid()
148 tSDP_DISC_ATTR* p_first_attr = p_attr->attr_value.v.p_sub_attr; in sdpu_find_most_specific_service_uuid()
159 for (tSDP_DISC_ATTR* p_extra_sattr = in sdpu_find_most_specific_service_uuid()
245 tSDP_DISC_ATTR* p_attr = in sdpu_log_attribute_metrics()
260 tSDP_DISC_ATTR* p_attr = in sdpu_log_attribute_metrics()
275 tSDP_DISC_ATTR* p_attr = in sdpu_log_attribute_metrics()
[all …]
Dsdpint.h278 tSDP_DISC_ATTR* p_attr);
/packages/modules/Bluetooth/system/stack/test/fuzzers/sdp/
DsdpFuzzHelpers.h56 std::vector<std::shared_ptr<tSDP_DISC_ATTR>> sdp_disc_attr_vect;
59 std::shared_ptr<tSDP_DISC_ATTR> generateArbitrarySdpDiscAttr(
116 std::shared_ptr<tSDP_DISC_ATTR> generateArbitrarySdpDiscAttr( in generateArbitrarySdpDiscAttr()
124 std::shared_ptr<tSDP_DISC_ATTR> new_attr(new tSDP_DISC_ATTR); in generateArbitrarySdpDiscAttr()
/packages/modules/Bluetooth/system/bta/sdp/
Dbta_sdp_act.cc50 tSDP_DISC_ATTR* p_attr; in bta_create_mns_sdp_record()
114 tSDP_DISC_ATTR* p_attr; in bta_create_mas_sdp_record()
207 tSDP_DISC_ATTR* p_attr; in bta_create_pse_sdp_record()
286 tSDP_DISC_ATTR *p_attr, *p_sattr; in bta_create_ops_sdp_record()
388 tSDP_DISC_ATTR* p_attr; in bta_create_sap_sdp_record()
426 tSDP_DISC_ATTR* p_attr; in bta_create_dip_sdp_record()
519 tSDP_DISC_ATTR* p_attr; in bta_create_raw_sdp_record()
/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_sdp_api.h176 std::function<tSDP_DISC_ATTR*(const tSDP_DISC_REC* p_rec, uint16_t attr_id)>
180 tSDP_DISC_ATTR* operator()(const tSDP_DISC_REC* p_rec, uint16_t attr_id) { in operator()
Dmock_stack_sdp_api.cc119 tSDP_DISC_ATTR* SDP_FindAttributeInRec(const tSDP_DISC_REC* p_rec, in SDP_FindAttributeInRec()
/packages/modules/Bluetooth/system/profile/avrcp/
Davrcp_internal.h87 virtual tSDP_DISC_ATTR* FindAttributeInRec(t_sdp_disc_rec* a, uint16_t b) = 0;
Dconnection_handler.cc527 tSDP_DISC_ATTR* sdp_attribute = in SdpCb()
569 tSDP_DISC_ATTR* sdp_attribute = in SdpCb()
/packages/modules/Bluetooth/system/stack/sdp/internal/
Dsdp_api.h115 tSDP_DISC_ATTR* SDP_FindAttributeInRec(const tSDP_DISC_REC* p_rec,
/packages/modules/Bluetooth/system/stack/include/
Dsdp_api.h225 [[nodiscard]] tSDP_DISC_ATTR* (*SDP_FindAttributeInRec)(
/packages/modules/Bluetooth/system/stack/hid/
Dhidh_api.cc96 tSDP_DISC_ATTR* p_attr; in hidh_get_str_attr()
123 tSDP_DISC_ATTR *p_attr, *p_subattr1, *p_subattr2, *p_repdesc; in hidh_search_callback()
/packages/modules/Bluetooth/system/profile/avrcp/tests/
Davrcp_test_helper.h115 MOCK_METHOD2(FindAttributeInRec, tSDP_DISC_ATTR*(t_sdp_disc_rec*, uint16_t));
Davrcp_connection_handler_test.cc61 static tSDP_DISC_ATTR fake_features; in SetUpSdp()
/packages/modules/Bluetooth/system/bta/hf_client/
Dbta_hf_client_sdp.cc241 tSDP_DISC_ATTR* p_attr; in bta_hf_client_sdp_find_attr()
/packages/modules/Bluetooth/system/stack/a2dp/
Da2dp_api.cc76 tSDP_DISC_ATTR* p_attr; in a2dp_sdp_cback()
/packages/modules/Bluetooth/system/bta/dm/
Dbta_dm_disc_sdp.cc90 tSDP_DISC_ATTR* p_attr = in store_avrcp_profile_feature()
/packages/modules/Bluetooth/system/bta/av/
Dbta_av_act.cc1838 tSDP_DISC_ATTR* p_attr; in bta_av_check_peer_features()
1946 tSDP_DISC_ATTR* p_attr = in bta_avk_check_peer_features()
2002 tSDP_DISC_ATTR* p_attr = in bta_avk_get_cover_art_psm()
2020 tSDP_DISC_ATTR* p_protocol_list = p_attr->attr_value.v.p_sub_attr; in bta_avk_get_cover_art_psm()
2025 tSDP_DISC_ATTR* p_protocol = in bta_avk_get_cover_art_psm()
2035 tSDP_DISC_ATTR* p_protocol_param = in bta_avk_get_cover_art_psm()
/packages/modules/Bluetooth/system/bta/ag/
Dbta_ag_sdp.cc329 tSDP_DISC_ATTR* p_attr; in bta_ag_sdp_find_attr()
/packages/modules/Bluetooth/system/btif/avrcp/
Davrcp_service.cc161 tSDP_DISC_ATTR* FindAttributeInRec(t_sdp_disc_rec* a, uint16_t b) override { in FindAttributeInRec()

12