/packages/modules/Bluetooth/system/bta/test/ |
D | bta_dip_test.cc | 35 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/ |
D | stack_sdp_test.cc | 283 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{};
|
D | stack_sdp_utils_test.cc | 696 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/ |
D | sdp_api.cc | 226 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 …]
|
D | sdp_discovery.cc | 295 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 …]
|
D | sdp_discovery_db.h | 54 } tSDP_DISC_ATTR; typedef 57 tSDP_DISC_ATTR* p_first_attr; /* First attribute of record */
|
D | sdp_utils.cc | 88 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 …]
|
D | sdpint.h | 278 tSDP_DISC_ATTR* p_attr);
|
/packages/modules/Bluetooth/system/stack/test/fuzzers/sdp/ |
D | sdpFuzzHelpers.h | 56 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/ |
D | bta_sdp_act.cc | 50 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/ |
D | mock_stack_sdp_api.h | 176 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()
|
D | mock_stack_sdp_api.cc | 119 tSDP_DISC_ATTR* SDP_FindAttributeInRec(const tSDP_DISC_REC* p_rec, in SDP_FindAttributeInRec()
|
/packages/modules/Bluetooth/system/profile/avrcp/ |
D | avrcp_internal.h | 87 virtual tSDP_DISC_ATTR* FindAttributeInRec(t_sdp_disc_rec* a, uint16_t b) = 0;
|
D | connection_handler.cc | 527 tSDP_DISC_ATTR* sdp_attribute = in SdpCb() 569 tSDP_DISC_ATTR* sdp_attribute = in SdpCb()
|
/packages/modules/Bluetooth/system/stack/sdp/internal/ |
D | sdp_api.h | 115 tSDP_DISC_ATTR* SDP_FindAttributeInRec(const tSDP_DISC_REC* p_rec,
|
/packages/modules/Bluetooth/system/stack/include/ |
D | sdp_api.h | 225 [[nodiscard]] tSDP_DISC_ATTR* (*SDP_FindAttributeInRec)(
|
/packages/modules/Bluetooth/system/stack/hid/ |
D | hidh_api.cc | 96 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/ |
D | avrcp_test_helper.h | 115 MOCK_METHOD2(FindAttributeInRec, tSDP_DISC_ATTR*(t_sdp_disc_rec*, uint16_t));
|
D | avrcp_connection_handler_test.cc | 61 static tSDP_DISC_ATTR fake_features; in SetUpSdp()
|
/packages/modules/Bluetooth/system/bta/hf_client/ |
D | bta_hf_client_sdp.cc | 241 tSDP_DISC_ATTR* p_attr; in bta_hf_client_sdp_find_attr()
|
/packages/modules/Bluetooth/system/stack/a2dp/ |
D | a2dp_api.cc | 76 tSDP_DISC_ATTR* p_attr; in a2dp_sdp_cback()
|
/packages/modules/Bluetooth/system/bta/dm/ |
D | bta_dm_disc_sdp.cc | 90 tSDP_DISC_ATTR* p_attr = in store_avrcp_profile_feature()
|
/packages/modules/Bluetooth/system/bta/av/ |
D | bta_av_act.cc | 1838 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/ |
D | bta_ag_sdp.cc | 329 tSDP_DISC_ATTR* p_attr; in bta_ag_sdp_find_attr()
|
/packages/modules/Bluetooth/system/btif/avrcp/ |
D | avrcp_service.cc | 161 tSDP_DISC_ATTR* FindAttributeInRec(t_sdp_disc_rec* a, uint16_t b) override { in FindAttributeInRec()
|