/aosp_15_r20/packages/modules/Bluetooth/system/btif/src/ |
D | btif_sdp_server.cc | 429 result = get_legacy_stack_sdp_api()->handle.SDP_DeleteRecord(handle); in on_remove_record_event() 452 sdp_handle = get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in add_maps_sdp() 459 status &= get_legacy_stack_sdp_api()->handle.SDP_AddServiceClassIdList(sdp_handle, 1, &service); in add_maps_sdp() 470 status &= get_legacy_stack_sdp_api()->handle.SDP_AddProtocolList(sdp_handle, 3, protoList); in add_maps_sdp() 473 status &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in add_maps_sdp() 478 status &= get_legacy_stack_sdp_api()->handle.SDP_AddProfileDescriptorList( in add_maps_sdp() 482 status &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute(sdp_handle, ATTR_ID_MAS_INSTANCE_ID, in add_maps_sdp() 487 status &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in add_maps_sdp() 493 status &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in add_maps_sdp() 500 status &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in add_maps_sdp() [all …]
|
D | btif_sock_sdp.cc | 119 if (!get_legacy_stack_sdp_api()->handle.SDP_AddProtocolList(sdp_handle, num_proto_elements, in create_base_record() 127 if (!get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in create_base_record() 135 if (!get_legacy_stack_sdp_api()->handle.SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, in create_base_record() 160 uint32_t handle = get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in add_sdp_by_uuid() 189 if (!get_legacy_stack_sdp_api()->handle.SDP_AddSequence(handle, in add_sdp_by_uuid() 206 if (get_legacy_stack_sdp_api()->handle.SDP_DeleteRecord(handle)) { in add_sdp_by_uuid() 218 uint32_t handle = get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in add_pbap_sdp() 234 if (!get_legacy_stack_sdp_api()->handle.SDP_AddServiceClassIdList(handle, 1, &service)) { in add_pbap_sdp() 240 if (!get_legacy_stack_sdp_api()->handle.SDP_AddProfileDescriptorList( in add_pbap_sdp() 247 if (!get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in add_pbap_sdp() [all …]
|
/aosp_15_r20/packages/modules/Bluetooth/system/stack/test/fuzzers/sdp/ |
D | sdpFuzzFunctions.h | 60 bool success = get_legacy_stack_sdp_api()->service.SDP_InitDiscoveryDb( 71 [[maybe_unused]] bool rc = get_legacy_stack_sdp_api()->service.SDP_CancelServiceSearch( 80 [[maybe_unused]] bool rc = get_legacy_stack_sdp_api()->service.SDP_ServiceSearchRequest( 91 get_legacy_stack_sdp_api()->service.SDP_ServiceSearchAttributeRequest( 105 get_legacy_stack_sdp_api()->service.SDP_ServiceSearchAttributeRequest2( 113 [[maybe_unused]] bool rc = get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( 119 [[maybe_unused]] bool rc = get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb( 128 [[maybe_unused]] bool rc = get_legacy_stack_sdp_api()->db.SDP_FindServiceUUIDInDb( 138 get_legacy_stack_sdp_api()->record.SDP_FindServiceUUIDInRec_128bit(p_rec, &uuid); 143 [[maybe_unused]] bool rc = get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb_128bit( [all …]
|
/aosp_15_r20/packages/modules/Bluetooth/system/stack/test/sdp/ |
D | stack_sdp_db_test.cc | 28 using bluetooth::legacy::stack::sdp::get_legacy_stack_sdp_api; 44 uint32_t record_handle = get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in TEST_F() 57 ASSERT_TRUE(get_legacy_stack_sdp_api()->handle.SDP_DeleteRecord(record_handle)); in TEST_F() 61 uint32_t record_handle = get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in TEST_F() 64 ASSERT_TRUE(get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in TEST_F() 80 ASSERT_TRUE(get_legacy_stack_sdp_api()->handle.SDP_DeleteRecord(record_handle)); in TEST_F() 84 uint32_t record_handle = get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in TEST_F() 88 ASSERT_TRUE(get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in TEST_F() 91 ASSERT_TRUE(get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in TEST_F() 94 ASSERT_TRUE(get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in TEST_F() [all …]
|
D | stack_sdp_parse_test.cc | 42 using bluetooth::legacy::stack::sdp::get_legacy_stack_sdp_api; 105 const bool success = get_legacy_stack_sdp_api()->service.SDP_InitDiscoveryDb( in TEST_F() 109 ASSERT_TRUE(get_legacy_stack_sdp_api()->service.SDP_ServiceSearchRequest( in TEST_F() 123 ASSERT_TRUE(get_legacy_stack_sdp_api()->service.SDP_InitDiscoveryDb(p_db_, kSdpDbSize, 1, in SetUp() 125 ASSERT_TRUE(get_legacy_stack_sdp_api()->service.SDP_ServiceSearchRequest( in SetUp() 187 get_legacy_stack_sdp_api() in TEST_F_WITH_FLAGS() 193 p_sdp_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb_128bit(p_db_, p_sdp_rec); in TEST_F_WITH_FLAGS() 197 ASSERT_EQ(true, get_legacy_stack_sdp_api()->record.SDP_FindServiceUUIDInRec_128bit( in TEST_F_WITH_FLAGS() 204 get_legacy_stack_sdp_api() in TEST_F_WITH_FLAGS() 210 ASSERT_EQ(true, get_legacy_stack_sdp_api()->record.SDP_FindProtocolListElemInRec( in TEST_F_WITH_FLAGS() [all …]
|
D | stack_sdp_api_test.cc | 99 ASSERT_FALSE(bluetooth::legacy::stack::sdp::get_legacy_stack_sdp_api() in TEST_F() 116 ASSERT_FALSE(bluetooth::legacy::stack::sdp::get_legacy_stack_sdp_api() in TEST_F() 133 ASSERT_FALSE(bluetooth::legacy::stack::sdp::get_legacy_stack_sdp_api() in TEST_F()
|
/aosp_15_r20/packages/modules/Bluetooth/system/bta/sdp/ |
D | bta_sdp_act.cc | 60 p_attr = get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in bta_create_mns_sdp_record() 73 p_attr = get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec(p_rec, ATTR_ID_SERVICE_NAME); in bta_create_mns_sdp_record() 85 if (get_legacy_stack_sdp_api()->record.SDP_FindProfileVersionInRec( in bta_create_mns_sdp_record() 90 if (get_legacy_stack_sdp_api()->record.SDP_FindProtocolListElemInRec(p_rec, UUID_PROTOCOL_RFCOMM, in bta_create_mns_sdp_record() 95 p_attr = get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec(p_rec, ATTR_ID_GOEP_L2CAP_PSM); in bta_create_mns_sdp_record() 124 get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec(p_rec, ATTR_ID_MAS_INSTANCE_ID); in bta_create_mas_sdp_record() 136 p_attr = get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec(p_rec, in bta_create_mas_sdp_record() 149 p_attr = get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in bta_create_mas_sdp_record() 162 p_attr = get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec(p_rec, ATTR_ID_SERVICE_NAME); in bta_create_mas_sdp_record() 174 if (get_legacy_stack_sdp_api()->record.SDP_FindProfileVersionInRec( in bta_create_mas_sdp_record() [all …]
|
/aosp_15_r20/packages/modules/Bluetooth/system/stack/hid/ |
D | hidd_api.cc | 155 result &= get_legacy_stack_sdp_api()->handle.SDP_AddServiceClassIdList(handle, 1, &uuid); in HID_DevAddRecord() 169 result &= get_legacy_stack_sdp_api()->handle.SDP_AddProtocolList(handle, 2, proto_list); in HID_DevAddRecord() 174 result &= get_legacy_stack_sdp_api()->handle.SDP_AddLanguageBaseAttrIDList( in HID_DevAddRecord() 189 result &= get_legacy_stack_sdp_api()->handle.SDP_AddAdditionProtoLists(handle, 1, in HID_DevAddRecord() 201 result &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in HID_DevAddRecord() 205 result &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in HID_DevAddRecord() 209 result &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in HID_DevAddRecord() 219 result &= get_legacy_stack_sdp_api()->handle.SDP_AddProfileDescriptorList(handle, profile_uuid, in HID_DevAddRecord() 237 result &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in HID_DevAddRecord() 242 result &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in HID_DevAddRecord() [all …]
|
D | hidh_api.cc | 78 if (!get_legacy_stack_sdp_api()->service.SDP_InitDiscoveryDb(p_db, db_len, 1, &uuid_list, 0, in HID_HostGetSDPRecord() 83 if (get_legacy_stack_sdp_api()->service.SDP_ServiceSearchRequest(addr, p_db, in HID_HostGetSDPRecord() 99 p_attr = get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec(p_rec, attr_id); in hidh_get_str_attr() 134 p_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceUUIDInDb(p_db, hid_uuid, NULL); in hidh_search_callback() 143 if (((p_attr = get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in hidh_search_callback() 160 if (((p_attr = get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in hidh_search_callback() 167 if (((p_attr = get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in hidh_search_callback() 174 if (((p_attr = get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in hidh_search_callback() 182 if (((p_attr = get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in hidh_search_callback() 189 if (((p_attr = get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in hidh_search_callback() [all …]
|
/aosp_15_r20/packages/modules/Bluetooth/system/bta/hf_client/ |
D | bta_hf_client_sdp.cc | 129 result &= get_legacy_stack_sdp_api()->handle.SDP_AddProtocolList( in bta_hf_client_add_record() 135 result &= get_legacy_stack_sdp_api()->handle.SDP_AddServiceClassIdList( in bta_hf_client_add_record() 142 result &= get_legacy_stack_sdp_api()->handle.SDP_AddProfileDescriptorList(sdp_handle, in bta_hf_client_add_record() 147 result &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in bta_hf_client_add_record() 184 result &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in bta_hf_client_add_record() 188 result &= get_legacy_stack_sdp_api()->handle.SDP_AddUuidSequence( in bta_hf_client_add_record() 207 client_cb_arr->sdp_handle = get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in bta_hf_client_create_record() 230 if (get_legacy_stack_sdp_api()->handle.SDP_DeleteRecord(client_cb->sdp_handle)) { in bta_hf_client_del_record() 260 p_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb(client_cb->p_disc_db, in bta_hf_client_sdp_find_attr() 268 if (get_legacy_stack_sdp_api()->record.SDP_FindProtocolListElemInRec( in bta_hf_client_sdp_find_attr() [all …]
|
/aosp_15_r20/packages/modules/Bluetooth/system/stack/a2dp/ |
D | a2dp_api.cc | 91 if ((p_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb( in a2dp_sdp_cback() 99 if ((p_attr = get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in a2dp_sdp_cback() 112 if ((p_attr = get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in a2dp_sdp_cback() 125 if ((p_attr = get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in a2dp_sdp_cback() 138 if (get_legacy_stack_sdp_api()->record.SDP_FindProtocolListElemInRec( in a2dp_sdp_cback() 205 result &= get_legacy_stack_sdp_api()->handle.SDP_AddServiceClassIdList(sdp_handle, 1, in A2DP_AddRecord() 218 result &= get_legacy_stack_sdp_api()->handle.SDP_AddProtocolList(sdp_handle, A2DP_NUM_PROTO_ELEMS, in A2DP_AddRecord() 222 result &= get_legacy_stack_sdp_api()->handle.SDP_AddProfileDescriptorList( in A2DP_AddRecord() 229 result &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in A2DP_AddRecord() 235 result &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in A2DP_AddRecord() [all …]
|
/aosp_15_r20/packages/modules/Bluetooth/system/bta/ag/ |
D | bta_ag_sdp.cc | 182 result &= get_legacy_stack_sdp_api()->handle.SDP_AddProtocolList( in bta_ag_add_record() 188 result &= get_legacy_stack_sdp_api()->handle.SDP_AddServiceClassIdList( in bta_ag_add_record() 199 result &= get_legacy_stack_sdp_api()->handle.SDP_AddProfileDescriptorList(sdp_handle, in bta_ag_add_record() 204 result &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in bta_ag_add_record() 212 result &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in bta_ag_add_record() 231 result &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in bta_ag_add_record() 236 result &= get_legacy_stack_sdp_api()->handle.SDP_AddUuidSequence( in bta_ag_add_record() 262 bta_ag_cb.profile[i].sdp_handle = get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in bta_ag_create_records() 307 if (!get_legacy_stack_sdp_api()->handle.SDP_DeleteRecord(bta_ag_cb.profile[i].sdp_handle)) { in bta_ag_del_records() 353 p_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb(p_scb->p_disc_db, uuid, p_rec); in bta_ag_sdp_find_attr() [all …]
|
/aosp_15_r20/packages/modules/Bluetooth/system/bta/dm/ |
D | bta_dm_disc_sdp.cc | 92 tSDP_DISC_ATTR* p_attr = get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in store_avrcp_profile_feature() 131 tSDP_DISC_REC* sdp_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb( in bta_dm_store_audio_profiles_version() 137 if (get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in bta_dm_store_audio_profiles_version() 144 if (!get_legacy_stack_sdp_api()->record.SDP_FindProfileVersionInRec( in bta_dm_store_audio_profiles_version() 176 if (p_sdp_rec && get_legacy_stack_sdp_api()->record.SDP_FindProtocolListElemInRec( in bta_dm_sdp_result() 184 get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb(p_sdp_db, service, p_sdp_rec); in bta_dm_sdp_result() 192 p_sdp_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb(p_sdp_db, 0, p_sdp_rec); in bta_dm_sdp_result() 195 if (get_legacy_stack_sdp_api()->record.SDP_FindServiceUUIDInRec(p_sdp_rec, in bta_dm_sdp_result() 228 p_sdp_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb_128bit(p_sdp_db, p_sdp_rec); in bta_dm_sdp_result() 232 if (get_legacy_stack_sdp_api()->record.SDP_FindServiceUUIDInRec_128bit(p_sdp_rec, in bta_dm_sdp_result() [all …]
|
/aosp_15_r20/packages/modules/Bluetooth/system/stack/pan/ |
D | pan_utils.cc | 82 sdp_handle = get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in pan_register_with_sdp() 90 if (!get_legacy_stack_sdp_api()->handle.SDP_AddServiceClassIdList(sdp_handle, 1, &uuid)) { in pan_register_with_sdp() 95 if (!get_legacy_stack_sdp_api()->handle.SDP_AddAttribute(sdp_handle, ATTR_ID_PROTOCOL_DESC_LIST, in pan_register_with_sdp() 102 if (!get_legacy_stack_sdp_api()->handle.SDP_AddLanguageBaseAttrIDList( in pan_register_with_sdp() 108 if (!get_legacy_stack_sdp_api()->handle.SDP_AddProfileDescriptorList(sdp_handle, uuid, in pan_register_with_sdp() 114 if (!get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in pan_register_with_sdp() 121 if (!get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in pan_register_with_sdp() 132 if (!get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in pan_register_with_sdp() 145 if (!get_legacy_stack_sdp_api()->handle.SDP_AddAttribute(sdp_handle, ATTR_ID_NET_ACCESS_TYPE, in pan_register_with_sdp() 153 if (!get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in pan_register_with_sdp() [all …]
|
D | pan_api.cc | 180 if (!get_legacy_stack_sdp_api()->handle.SDP_DeleteRecord(pan_cb.pan_nap_sdp_handle)) { in PAN_SetRole() 192 if (!get_legacy_stack_sdp_api()->handle.SDP_DeleteRecord(pan_cb.pan_nap_sdp_handle)) { in PAN_SetRole() 210 if (!get_legacy_stack_sdp_api()->handle.SDP_DeleteRecord(pan_cb.pan_user_sdp_handle)) { in PAN_SetRole() 222 if (get_legacy_stack_sdp_api()->handle.SDP_DeleteRecord(pan_cb.pan_user_sdp_handle)) { in PAN_SetRole()
|
/aosp_15_r20/packages/modules/Bluetooth/system/bta/ar/ |
D | bta_ar.cc | 79 if (!get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in bta_ar_avrc_add_cat() 229 bta_ar_cb.sdp_tg_handle = get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in bta_ar_reg_avrc() 241 bta_ar_cb.sdp_ct_handle = get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in bta_ar_reg_avrc() 250 if (!get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in bta_ar_reg_avrc() 294 if (!get_legacy_stack_sdp_api()->handle.SDP_DeleteRecord(bta_ar_cb.sdp_tg_handle)) { in bta_ar_dereg_avrc() 306 if (get_legacy_stack_sdp_api()->handle.SDP_DeleteRecord(bta_ar_cb.sdp_ct_handle)) { in bta_ar_dereg_avrc() 315 if (!get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in bta_ar_dereg_avrc() 353 bta_ar_cb.sdp_tg_handle = get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in bta_ar_reg_avrc_for_src_sink_coexist() 367 bta_ar_cb.sdp_ct_handle = get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in bta_ar_reg_avrc_for_src_sink_coexist() 384 if (!get_legacy_stack_sdp_api()->handle.SDP_AddServiceClassIdList(bta_ar_cb.sdp_ct_handle, in bta_ar_reg_avrc_for_src_sink_coexist() [all …]
|
/aosp_15_r20/packages/modules/Bluetooth/system/stack/avrc/ |
D | avrc_sdp.cc | 152 result = get_legacy_stack_sdp_api()->service.SDP_InitDiscoveryDb( in AVRC_FindService() 162 result = get_legacy_stack_sdp_api()->service.SDP_ServiceSearchAttributeRequest( in AVRC_FindService() 243 result &= get_legacy_stack_sdp_api()->handle.SDP_AddServiceClassIdList(sdp_handle, count, in AVRC_AddRecord() 268 result &= get_legacy_stack_sdp_api()->handle.SDP_AddProtocolList(sdp_handle, AVRC_NUM_PROTO_ELEMS, in AVRC_AddRecord() 315 result &= get_legacy_stack_sdp_api()->handle.SDP_AddAdditionProtoLists( in AVRC_AddRecord() 320 result &= get_legacy_stack_sdp_api()->handle.SDP_AddProfileDescriptorList( in AVRC_AddRecord() 326 result &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in AVRC_AddRecord() 331 result &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in AVRC_AddRecord() 338 result &= get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in AVRC_AddRecord() 345 result &= get_legacy_stack_sdp_api()->handle.SDP_AddUuidSequence( in AVRC_AddRecord() [all …]
|
/aosp_15_r20/packages/modules/Bluetooth/system/bta/av/ |
D | bta_av_act.cc | 196 if (!get_legacy_stack_sdp_api()->handle.SDP_DeleteRecord(*p_sdp_handle)) { in bta_av_del_sdp_rec() 1746 if ((p_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb( in bta_av_store_peer_rc_version() 1748 if ((get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in bta_av_store_peer_rc_version() 1751 if (!get_legacy_stack_sdp_api()->record.SDP_FindProfileVersionInRec( in bta_av_store_peer_rc_version() 1764 if ((p_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb( in bta_av_store_peer_rc_version() 1766 if ((get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in bta_av_store_peer_rc_version() 1769 if (!get_legacy_stack_sdp_api()->record.SDP_FindProfileVersionInRec( in bta_av_store_peer_rc_version() 1804 p_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb(p_cb->p_disc_db, service_uuid, in bta_av_check_peer_features() 1810 if ((get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec( in bta_av_check_peer_features() 1813 if (get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb( in bta_av_check_peer_features() [all …]
|
/aosp_15_r20/packages/modules/Bluetooth/system/profile/avrcp/ |
D | avrcp_sdp_records.cc | 45 sdp_record_handle_ = get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in AddRecord() 68 return get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in UpdateRecord() 93 return get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in RemoveRecord() 172 result &= get_legacy_stack_sdp_api()->handle.SDP_AddServiceClassIdList(sdp_record_handle_, in UpdateRecord() 175 result &= get_legacy_stack_sdp_api()->handle.SDP_AddProfileDescriptorList( in UpdateRecord()
|
/aosp_15_r20/packages/modules/Bluetooth/system/btif/avrcp/ |
D | avrcp_service.cc | 62 using bluetooth::legacy::stack::sdp::get_legacy_stack_sdp_api; 146 return get_legacy_stack_sdp_api()->service.SDP_InitDiscoveryDb(a, b, c, d, e, f); in InitDiscoveryDb() 151 return get_legacy_stack_sdp_api()->service.SDP_ServiceSearchAttributeRequest(a, b, c); in ServiceSearchAttributeRequest() 155 return get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb(a, b, c); in FindServiceInDb() 159 return get_legacy_stack_sdp_api()->record.SDP_FindAttributeInRec(a, b); in FindAttributeInRec() 163 return get_legacy_stack_sdp_api()->record.SDP_FindProfileVersionInRec(a, b, c); in FindProfileVersionInRec() 420 sdp_record_handle = get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in Init() 426 ct_sdp_record_handle = get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in Init() 509 sdp_record_handle = get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in RegisterBipServer() 523 sdp_record_handle = get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in UnregisterBipServer() [all …]
|
/aosp_15_r20/packages/modules/Bluetooth/system/bta/gatt/ |
D | bta_gattc_cache.cc | 363 get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb(cb_data->p_sdp_db, 0, nullptr); in bta_gattc_sdp_callback() 367 if (!get_legacy_stack_sdp_api()->record.SDP_FindServiceUUIDInRec(p_sdp_rec, &service_uuid)) { in bta_gattc_sdp_callback() 372 if (!get_legacy_stack_sdp_api()->record.SDP_FindProtocolListElemInRec(p_sdp_rec, in bta_gattc_sdp_callback() 388 get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb(cb_data->p_sdp_db, 0, p_sdp_rec); in bta_gattc_sdp_callback() 395 p_sdp_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceInDb(cb_data->p_sdp_db, 0, p_sdp_rec); in bta_gattc_sdp_callback() 426 if (!get_legacy_stack_sdp_api()->service.SDP_InitDiscoveryDb( in bta_gattc_sdp_service_disc() 431 if (!get_legacy_stack_sdp_api()->service.SDP_ServiceSearchAttributeRequest2( in bta_gattc_sdp_service_disc()
|
/aosp_15_r20/packages/modules/Bluetooth/system/bta/hd/ |
D | bta_hd_act.cc | 140 if (!get_legacy_stack_sdp_api()->handle.SDP_DeleteRecord(bta_hd_cb.sdp_handle)) { in bta_hd_api_disable() 196 if (!get_legacy_stack_sdp_api()->handle.SDP_DeleteRecord(bta_hd_cb.sdp_handle)) { in bta_hd_register_act() 202 bta_hd_cb.sdp_handle = get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in bta_hd_register_act() 244 if (!get_legacy_stack_sdp_api()->handle.SDP_DeleteRecord(bta_hd_cb.sdp_handle)) { in bta_hd_unregister_act()
|
/aosp_15_r20/packages/modules/Bluetooth/system/test/headless/sdp/ |
D | sdp.cc | 49 if (!get_legacy_stack_sdp_api()->service.SDP_InitDiscoveryDb(sdp_discovery_db.RawPointer(), in sdp_query_uuid() 63 if (!get_legacy_stack_sdp_api()->service.SDP_ServiceSearchAttributeRequest2( in sdp_query_uuid()
|
/aosp_15_r20/packages/modules/Bluetooth/system/stack/gatt/ |
D | gatt_utils.cc | 945 uint32_t sdp_handle = get_legacy_stack_sdp_api()->handle.SDP_CreateRecord(); in gatt_add_sdp_record() 953 if (!get_legacy_stack_sdp_api()->handle.SDP_AddServiceClassIdList(sdp_handle, 1, &tmp)) { in gatt_add_sdp_record() 963 if (!get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in gatt_add_sdp_record() 974 if (!get_legacy_stack_sdp_api()->handle.SDP_AddAttribute( in gatt_add_sdp_record() 992 if (!get_legacy_stack_sdp_api()->handle.SDP_AddProtocolList(sdp_handle, 2, proto_elem_list)) { in gatt_add_sdp_record() 998 if (!get_legacy_stack_sdp_api()->handle.SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, in gatt_add_sdp_record()
|
/aosp_15_r20/packages/modules/Bluetooth/system/bta/jv/ |
D | bta_jv_act.cc | 828 p_sdp_rec = get_legacy_stack_sdp_api()->db.SDP_FindServiceUUIDInDb( in bta_jv_start_discovery_cback() 832 if (p_sdp_rec && get_legacy_stack_sdp_api()->record.SDP_FindProtocolListElemInRec( in bta_jv_start_discovery_cback() 880 if (!get_legacy_stack_sdp_api()->service.SDP_InitDiscoveryDb( in bta_jv_start_discovery() 897 if (!get_legacy_stack_sdp_api()->service.SDP_ServiceSearchAttributeRequest2( in bta_jv_start_discovery() 923 if (!get_legacy_stack_sdp_api()->service.SDP_CancelServiceSearch(p_bta_jv_cfg->p_sdp_db)) { in bta_jv_cancel_discovery() 956 if (!get_legacy_stack_sdp_api()->handle.SDP_DeleteRecord(handle)) { in bta_jv_delete_record()
|