/packages/modules/Bluetooth/system/stack/sdp/ |
D | sdp_db.cc | 254 bool SDP_AddAttribute(uint32_t handle, uint16_t attr_id, uint8_t attr_type, in SDP_AddAttribute() argument 285 handle, attr_id, attr_type, attr_len, fmt::ptr(p_val), num_array); in SDP_AddAttribute() 290 handle, attr_id, attr_type, attr_len, fmt::ptr(p_val), *p_val); in SDP_AddAttribute() 297 handle, attr_id, attr_type, attr_len, fmt::ptr(p_val), in SDP_AddAttribute() 303 handle, attr_id, attr_type, attr_len, fmt::ptr(p_val)); in SDP_AddAttribute() 308 handle, attr_id, attr_type, attr_len, fmt::ptr(p_val)); in SDP_AddAttribute() 324 return SDP_AddAttributeToRecord(p_rec, attr_id, attr_type, attr_len, in SDP_AddAttribute() 444 bool SDP_AddAttributeToRecord(tSDP_RECORD* p_rec, uint16_t attr_id, in SDP_AddAttributeToRecord() argument 453 if (p_attr->id == attr_id) { in SDP_AddAttributeToRecord() 454 SDP_DeleteAttributeFromRecord(p_rec, attr_id); in SDP_AddAttributeToRecord() [all …]
|
D | sdp_api.cc | 227 uint16_t attr_id) { in SDP_FindAttributeInRec() argument 232 if (p_attr->attr_id == attr_id) return (p_attr); in SDP_FindAttributeInRec() 260 if ((p_attr->attr_id == ATTR_ID_SERVICE_CLASS_ID_LIST) && in SDP_FindServiceUUIDInRec() 301 } else if (p_attr->attr_id == ATTR_ID_SERVICE_ID) { in SDP_FindServiceUUIDInRec() 330 if ((p_attr->attr_id == ATTR_ID_SERVICE_CLASS_ID_LIST) && in SDP_FindServiceUUIDInRec_128bit() 345 } else if (p_attr->attr_id == ATTR_ID_SERVICE_ID) { in SDP_FindServiceUUIDInRec_128bit() 387 if ((p_attr->attr_id == ATTR_ID_SERVICE_CLASS_ID_LIST) && in SDP_FindServiceInDb() 440 } else if (p_attr->attr_id == ATTR_ID_SERVICE_ID) { in SDP_FindServiceInDb() 489 if ((p_attr->attr_id == ATTR_ID_SERVICE_CLASS_ID_LIST) && in SDP_FindServiceInDb_128bit() 500 } else if (p_attr->attr_id == ATTR_ID_SERVICE_ID) { in SDP_FindServiceInDb_128bit() [all …]
|
D | sdp_discovery.cc | 294 tSDP_DISC_REC* p_rec, uint16_t attr_id, in add_attr() argument 335 p_attr->attr_id = attr_id; in add_attr() 438 attr_id == ATTR_ID_ADDITION_PROTO_DESC_LISTS) in add_attr() 517 uint16_t attr_id; in save_attr_seq() local 555 BE_STREAM_TO_UINT16(attr_id, p); in save_attr_seq() 558 p = add_attr(p, p_seq_end, p_ccb->p_db, p_rec, attr_id, NULL, 0); in save_attr_seq()
|
D | sdpint.h | 288 bool SDP_AddAttributeToRecord(tSDP_RECORD* p_rec, uint16_t attr_id, 294 bool SDP_DeleteAttributeFromRecord(tSDP_RECORD* p_rec, uint16_t attr_id);
|
D | sdp_discovery_db.h | 51 uint16_t attr_id; /* Attribute ID */ member
|
/packages/modules/Bluetooth/system/bta/gatt/ |
D | bta_gatts_utils.cc | 127 uint16_t attr_id) { in bta_gatts_find_srvc_cb_by_attr_id() argument 134 attr_id >= p_cb->srvc_cb[i].service_id && in bta_gatts_find_srvc_cb_by_attr_id() 135 attr_id < p_cb->srvc_cb[i + 1].service_id) || in bta_gatts_find_srvc_cb_by_attr_id() 139 attr_id >= p_cb->srvc_cb[i].service_id) || in bta_gatts_find_srvc_cb_by_attr_id() 142 attr_id >= p_cb->srvc_cb[i].service_id)) { in bta_gatts_find_srvc_cb_by_attr_id()
|
D | bta_gatts_queue.cc | 81 log::verbose("op.type={}, attr_id={}", op.type, op.attr_id); in gatts_execute_next_op() 84 BTA_GATTS_HandleValueIndication(conn_id, op.attr_id, op.value, in gatts_execute_next_op() 102 .attr_id = handle, in SendNotification()
|
D | bta_gatts_api.cc | 244 void BTA_GATTS_HandleValueIndication(uint16_t conn_id, uint16_t attr_id, in BTA_GATTS_HandleValueIndication() argument 258 p_buf->attr_id = attr_id; in BTA_GATTS_HandleValueIndication()
|
D | bta_gatts_int.h | 90 uint16_t attr_id; member 198 uint16_t attr_id);
|
D | bta_gatts_act.cc | 373 bta_gatts_find_srvc_cb_by_attr_id(p_cb, p_msg->api_indicate.attr_id); in bta_gatts_indicate_handle() 383 p_msg->api_indicate.hdr.layer_specific, p_msg->api_indicate.attr_id, in bta_gatts_indicate_handle() 387 p_msg->api_indicate.hdr.layer_specific, p_msg->api_indicate.attr_id, in bta_gatts_indicate_handle() 409 p_msg->api_indicate.attr_id); in bta_gatts_indicate_handle()
|
/packages/modules/Bluetooth/system/bta/test/ |
D | bta_dip_test.cc | 54 g_attr_service_class_id_list.attr_id = ATTR_ID_SERVICE_CLASS_ID_LIST; in SetUp() 61 g_attr_spec_id.attr_id = ATTR_ID_SPECIFICATION_ID; in SetUp() 66 g_attr_vendor_id.attr_id = ATTR_ID_VENDOR_ID; in SetUp() 72 g_attr_vendor_id_src.attr_id = ATTR_ID_VENDOR_ID_SOURCE; in SetUp() 77 g_attr_vendor_product_id.attr_id = ATTR_ID_PRODUCT_ID; in SetUp() 82 g_attr_vendor_product_version.attr_id = ATTR_ID_PRODUCT_VERSION; in SetUp() 87 g_attr_vendor_product_primary_record.attr_id = ATTR_ID_PRIMARY_RECORD; in SetUp()
|
/packages/modules/Bluetooth/system/stack/test/sdp/ |
D | stack_sdp_test.cc | 301 uuid_desc_attr.attr_id = ATTR_ID_SERVICE_ID; in SetUp() 304 client_exe_url_attr.attr_id = ATTR_ID_CLIENT_EXE_URL; in SetUp() 307 service_desc_attr.attr_id = ATTR_ID_SERVICE_DESCRIPTION; in SetUp() 310 doc_url_desc_attr.attr_id = ATTR_ID_DOCUMENTATION_URL; in SetUp() 313 spec_id_attr.attr_id = ATTR_ID_SPECIFICATION_ID; in SetUp() 316 vendor_id_attr.attr_id = ATTR_ID_VENDOR_ID; in SetUp() 319 vendor_id_src_attr.attr_id = ATTR_ID_VENDOR_ID_SOURCE; in SetUp() 322 prod_id_attr.attr_id = ATTR_ID_PRODUCT_ID; in SetUp() 325 prod_version_attr.attr_id = ATTR_ID_PRODUCT_VERSION; in SetUp() 328 primary_rec_attr.attr_id = ATTR_ID_PRIMARY_RECORD; in SetUp() [all …]
|
/packages/modules/Bluetooth/system/stack/sdp/internal/ |
D | sdp_api.h | 116 uint16_t attr_id); 278 bool SDP_AddAttribute(uint32_t handle, uint16_t attr_id, uint8_t attr_type, 295 bool SDP_AddSequence(uint32_t handle, uint16_t attr_id, uint16_t num_elem, 310 bool SDP_AddUuidSequence(uint32_t handle, uint16_t attr_id, uint16_t num_uuids,
|
/packages/modules/Bluetooth/system/stack/include/ |
D | sdp_api.h | 353 [[nodiscard]] bool (*SDP_AddAttribute)(uint32_t handle, uint16_t attr_id, 378 [[nodiscard]] bool (*SDP_AddSequence)(uint32_t handle, uint16_t attr_id, 399 [[nodiscard]] bool (*SDP_AddUuidSequence)(uint32_t handle, uint16_t attr_id,
|
D | avrc_defs.h | 1037 uint8_t attr_id; member 1042 uint8_t attr_id; member 1075 attr_id; /* Use AVRC_MEDIA_ATTR_ID_TITLE, AVRC_MEDIA_ATTR_ID_ARTIST, member 1114 uint8_t attr_id; member 1149 uint8_t attr_id; member 1402 uint8_t attr_id[AVRC_MAX_APP_SETTINGS]; member
|
/packages/modules/Bluetooth/system/stack/avrc/ |
D | avrc_pars_tg.cc | 167 p_result->list_app_values.attr_id = *p++; in avrc_pars_vendor_cmd() 168 if (!AVRC_IS_VALID_ATTRIBUTE(p_result->list_app_values.attr_id)) in avrc_pars_vendor_cmd() 209 p_app_set[xx].attr_id = *p++; in avrc_pars_vendor_cmd() 211 if (!avrc_is_valid_player_attrib_value(p_app_set[xx].attr_id, in avrc_pars_vendor_cmd() 233 BE_STREAM_TO_UINT8(p_result->get_app_val_txt.attr_id, p); in avrc_pars_vendor_cmd() 234 if (!AVRC_IS_VALID_ATTRIBUTE(p_result->get_app_val_txt.attr_id)) in avrc_pars_vendor_cmd() 250 p_result->get_app_val_txt.attr_id, p_u8[xx])) { in avrc_pars_vendor_cmd()
|
D | avrc_bld_tg.cc | 244 if (avrc_is_valid_player_attrib_value(p_rsp->p_vals[xx].attr_id, in avrc_bld_get_cur_app_setting_value_rsp() 247 UINT8_TO_BE_STREAM(p_data, p_rsp->p_vals[xx].attr_id); in avrc_bld_get_cur_app_setting_value_rsp() 331 UINT8_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].attr_id); in avrc_bld_app_setting_text_rsp() 426 log::verbose("attr id[{}]: {}", index, p_attrs[index].attr_id); in avrc_build_attribute_entries() 428 AVRC_IS_VALID_MEDIA_ATTRIBUTE(p_attrs[index].attr_id), in avrc_build_attribute_entries() 438 index, p_attrs[index].attr_id, num_attrs - index); in avrc_build_attribute_entries() 444 index, p_attrs[index].attr_id); in avrc_build_attribute_entries() 449 UINT32_TO_BE_STREAM(p_data, p_attrs[index].attr_id); in avrc_build_attribute_entries() 634 p_rsp->param.player_setting.attr_id[xx], in avrc_bld_notify_rsp() 636 UINT8_TO_BE_STREAM(p_data, p_rsp->param.player_setting.attr_id[xx]); in avrc_bld_notify_rsp() [all …]
|
D | avrc_pars_ct.cc | 164 BE_STREAM_TO_UINT8(p_rsp->param.player_setting.attr_id[index], in avrc_parse_notification_rsp() 363 BE_STREAM_TO_UINT32(attr_entry->attr_id, p); in avrc_pars_browse_rsp() 375 attr_entry->attr_id, attr_entry->name.charset_id, in avrc_pars_browse_rsp() 424 BE_STREAM_TO_UINT32(attr_entry->attr_id, p); in avrc_pars_browse_rsp() 432 log::verbose("media attr id {} cs {} name len {}", attr_entry->attr_id, in avrc_pars_browse_rsp() 644 BE_STREAM_TO_UINT8(app_sett[xx].attr_id, p); in avrc_ctrl_pars_vendor_rsp() 677 BE_STREAM_TO_UINT8(p_result->get_app_attr_txt.p_attrs[xx].attr_id, p); in avrc_ctrl_pars_vendor_rsp() 729 BE_STREAM_TO_UINT8(p_result->get_app_val_txt.p_attrs[i].attr_id, p); in avrc_ctrl_pars_vendor_rsp() 780 BE_STREAM_TO_UINT32(p_attrs[i].attr_id, p); in avrc_ctrl_pars_vendor_rsp()
|
D | avrc_bld_ct.cc | 237 UINT8_TO_BE_STREAM(p_data, p_val[count].attr_id); in avrc_bld_set_current_player_app_values_cmd() 639 p_pkt, p_cmd->list_app_values.attr_id); in AVRC_BldCommand()
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_rc.cc | 547 attr_vals[attr_cnt].attr_id = p_attrs[attr_cnt].attr_id; in fill_avrc_attr_entry() 553 (unsigned int)attr_vals[attr_cnt].attr_id, in fill_avrc_attr_entry() 2060 element_attrs[i].attr_id = p_attrs[i].attr_id; in get_element_attr_rsp() 2066 (unsigned int)element_attrs[i].attr_id, in get_element_attr_rsp() 3384 app_settings.attr_ids[xx] = p_rsp->param.player_setting.attr_id[xx]; in handle_notification_response() 3449 p_dev->rc_app_settings.ext_attrs[st_index].attr_id = p_rsp->attrs[xx]; in handle_app_attr_response() 3453 p_dev->rc_app_settings.attrs[st_index].attr_id = p_rsp->attrs[xx]; in handle_app_attr_response() 3461 list_player_app_setting_value_cmd(p_dev->rc_app_settings.attrs[0].attr_id, in handle_app_attr_response() 3506 p_app_settings->attrs[p_app_settings->attr_index].attr_id, p_dev); in handle_app_val_response() 3511 p_app_settings->ext_attrs[attr_index].attr_id, p_dev); in handle_app_val_response() [all …]
|
/packages/modules/Bluetooth/system/bta/ras/ |
D | ras_server.cc | 135 uint16_t attr_id = in PushProcedureData() local 139 BTA_GATTS_HandleValueIndication(tracker.conn_id_, attr_id, data, in PushProcedureData() 159 uint16_t attr_id = GetCharacteristic(kRasRangingDataReadyCharacteristic) in PushProcedureData() local 164 BTA_GATTS_HandleValueIndication(tracker.conn_id_, attr_id, value, in PushProcedureData() 180 uint16_t attr_id = in PushProcedureData() local 186 BTA_GATTS_HandleValueIndication(tracker.conn_id_, attr_id, value, in PushProcedureData() 582 uint16_t attr_id = in OnGetRangingData() local 598 BTA_GATTS_HandleValueIndication(tracker->conn_id_, attr_id, in OnGetRangingData()
|
/packages/modules/Bluetooth/system/include/hardware/ |
D | bt_rc.h | 197 uint8_t attr_id; member 206 uint8_t attr_id; member 243 uint32_t attr_id; member 299 typedef void (*btrc_list_player_app_values_callback)(btrc_player_attr_t attr_id, 319 uint8_t attr_id, uint8_t num_val, uint8_t* p_vals,
|
/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() 181 return body(p_rec, attr_id); in operator()
|
D | mock_stack_sdp_api.cc | 120 uint16_t attr_id) { in SDP_FindAttributeInRec() argument 122 return test::mock::stack_sdp_api::SDP_FindAttributeInRec(p_rec, attr_id); in SDP_FindAttributeInRec()
|
/packages/modules/Bluetooth/system/bta/include/ |
D | bta_gatt_server_queue.h | 35 uint16_t attr_id; member
|