/system/bt/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_api.cc | 234 void BTA_GATTS_HandleValueIndication(uint16_t conn_id, uint16_t attr_id, in BTA_GATTS_HandleValueIndication() argument 242 p_buf->attr_id = attr_id; in BTA_GATTS_HandleValueIndication()
|
D | bta_gatts_int.h | 83 uint16_t attr_id; member 186 tBTA_GATTS_CB* p_cb, uint16_t attr_id);
|
/system/bt/stack/sdp/ |
D | sdp_db.cc | 354 bool SDP_AddAttribute(uint32_t handle, uint16_t attr_id, uint8_t attr_type, in SDP_AddAttribute() argument 377 handle, attr_id, attr_type, attr_len, p_val, num_array); in SDP_AddAttribute() 382 handle, attr_id, attr_type, attr_len, p_val, *p_val); in SDP_AddAttribute() 387 handle, attr_id, attr_type, attr_len, p_val, p_val); in SDP_AddAttribute() 399 if (p_attr->id == attr_id) { in SDP_AddAttribute() 400 SDP_DeleteAttribute(handle, attr_id); in SDP_AddAttribute() 403 if (p_attr->id > attr_id) break; in SDP_AddAttribute() 417 p_attr->id = attr_id; in SDP_AddAttribute() 446 attr_id, attr_len); in SDP_AddAttribute() 472 bool SDP_AddSequence(uint32_t handle, uint16_t attr_id, uint16_t num_elem, in SDP_AddSequence() argument [all …]
|
D | sdp_api.cc | 220 tSDP_DISC_ATTR* SDP_FindAttributeInRec(tSDP_DISC_REC* p_rec, uint16_t attr_id) { in SDP_FindAttributeInRec() argument 225 if (p_attr->attr_id == attr_id) return (p_attr); in SDP_FindAttributeInRec() 253 if ((p_attr->attr_id == ATTR_ID_SERVICE_CLASS_ID_LIST) && in SDP_FindServiceUUIDInRec() 294 } else if (p_attr->attr_id == ATTR_ID_SERVICE_ID) { in SDP_FindServiceUUIDInRec() 323 if ((p_attr->attr_id == ATTR_ID_SERVICE_CLASS_ID_LIST) && in SDP_FindServiceUUIDInRec_128bit() 338 } else if (p_attr->attr_id == ATTR_ID_SERVICE_ID) { in SDP_FindServiceUUIDInRec_128bit() 380 if ((p_attr->attr_id == ATTR_ID_SERVICE_CLASS_ID_LIST) && in SDP_FindServiceInDb() 433 } else if (p_attr->attr_id == ATTR_ID_SERVICE_ID) { in SDP_FindServiceInDb() 482 if ((p_attr->attr_id == ATTR_ID_SERVICE_CLASS_ID_LIST) && in SDP_FindServiceInDb_128bit() 493 } else if (p_attr->attr_id == ATTR_ID_SERVICE_ID) { in SDP_FindServiceInDb_128bit() [all …]
|
D | sdp_discovery.cc | 55 tSDP_DISC_REC* p_rec, uint16_t attr_id, 697 uint16_t attr_id; in save_attr_seq() local 735 BE_STREAM_TO_UINT16(attr_id, p); in save_attr_seq() 738 p = add_attr(p, p_seq_end, p_ccb->p_db, p_rec, attr_id, NULL, 0); in save_attr_seq() 799 tSDP_DISC_REC* p_rec, uint16_t attr_id, in add_attr() argument 841 p_attr->attr_id = attr_id; in add_attr() 944 attr_id == ATTR_ID_ADDITION_PROTO_DESC_LISTS) in add_attr()
|
/system/bt/stack/include/ |
D | sdp_api.h | 100 uint16_t attr_id; /* Attribute ID */ member 248 tSDP_DISC_ATTR* SDP_FindAttributeInRec(tSDP_DISC_REC* p_rec, uint16_t attr_id); 393 bool SDP_AddAttribute(uint32_t handle, uint16_t attr_id, uint8_t attr_type, 410 bool SDP_AddSequence(uint32_t handle, uint16_t attr_id, uint16_t num_elem, 425 bool SDP_AddUuidSequence(uint32_t handle, uint16_t attr_id, uint16_t num_uuids, 513 bool SDP_DeleteAttribute(uint32_t handle, uint16_t attr_id);
|
/system/bt/service/common/android/bluetooth/ |
D | IBluetoothAvrcpTargetCallback.aidl | 26 void OnListPlayerAppValues(String addr, int attr_id); in OnListPlayerAppValues() argument 29 void OnGetPlayerAppValuesText(String addr, int attr_id, in int[] values); in OnGetPlayerAppValuesText() argument
|
/system/bt/bta/test/ |
D | bta_hf_client_add_record_test.cc | 23 bool SDP_AddAttribute(uint32_t handle, uint16_t attr_id, uint8_t attr_type, in SDP_AddAttribute() argument 27 bool SDP_AddUuidSequence(uint32_t handle, uint16_t attr_id, uint16_t num_uuids, in SDP_AddUuidSequence() argument
|
/system/extras/simpleperf/ |
D | record_file_test.cpp | 43 EventAttrWithId attr_id; in AddEventType() local 44 attr_id.attr = attrs_.back().get(); in AddEventType() 45 attr_id.ids.push_back(attrs_.size()); // Fake id. in AddEventType() 46 attr_ids_.push_back(attr_id); in AddEventType()
|
D | record_file_writer.cpp | 89 for (auto& attr_id : attr_ids) { in WriteAttrSection() local 90 if (!Write(attr_id.ids.data(), attr_id.ids.size() * sizeof(uint64_t))) { in WriteAttrSection() 100 for (auto& attr_id : attr_ids) { in WriteAttrSection() local 102 file_attr.attr = *attr_id.attr; in WriteAttrSection() 104 file_attr.ids.size = attr_id.ids.size() * sizeof(uint64_t); in WriteAttrSection()
|
D | cmd_report.cpp | 453 void ProcessSampleRecordInTraceOffCpuMode(std::unique_ptr<Record> record, size_t attr_id); 885 size_t attr_id = record_file_reader_->GetAttrIndexOfRecord(record.get()); in ProcessRecord() local 887 sample_tree_builder_[attr_id]->ReportCmdProcessSampleRecord( in ProcessRecord() 890 ProcessSampleRecordInTraceOffCpuMode(std::move(record), attr_id); in ProcessRecord() 904 size_t attr_id) { in ProcessSampleRecordInTraceOffCpuMode() argument 906 if (attr_id == sched_switch_attr_id_) { in ProcessSampleRecordInTraceOffCpuMode() 916 sample_tree_builder_[attr_id]->ReportCmdProcessSampleRecord(r); in ProcessSampleRecordInTraceOffCpuMode()
|
/system/bt/service/ |
D | avrcp_target.h | 49 int32_t attr_id) = 0; 55 const std::string& addr, int32_t attr_id, 124 void ListPlayerAppValuesCallback(btrc_player_attr_t attr_id, 131 void GetPlayerAppValuesTextCallback(uint8_t attr_id, uint8_t num_val,
|
D | avrcp_target.cc | 80 btrc_attrs[i].attr_id = attrs[i].id(); in StringValueToElementAttrVal() 265 void AvrcpTarget::ListPlayerAppValuesCallback(btrc_player_attr_t attr_id, in ListPlayerAppValuesCallback() argument 270 delegate_->OnListPlayerAppValues(str_addr, static_cast<int32_t>(attr_id)); in ListPlayerAppValuesCallback() 301 void AvrcpTarget::GetPlayerAppValuesTextCallback(uint8_t attr_id, in GetPlayerAppValuesTextCallback() argument 313 delegate_->OnGetPlayerAppValuesText(str_addr, attr_id, val_vec); in GetPlayerAppValuesTextCallback()
|
/system/bt/stack/avrc/ |
D | avrc_pars_tg.cc | 148 p_result->list_app_values.attr_id = *p++; in avrc_pars_vendor_cmd() 149 if (!AVRC_IS_VALID_ATTRIBUTE(p_result->list_app_values.attr_id)) in avrc_pars_vendor_cmd() 191 p_app_set[xx].attr_id = *p++; in avrc_pars_vendor_cmd() 193 if (!avrc_is_valid_player_attrib_value(p_app_set[xx].attr_id, in avrc_pars_vendor_cmd() 216 BE_STREAM_TO_UINT8(p_result->get_app_val_txt.attr_id, p); in avrc_pars_vendor_cmd() 217 if (!AVRC_IS_VALID_ATTRIBUTE(p_result->get_app_val_txt.attr_id)) in avrc_pars_vendor_cmd() 234 p_result->get_app_val_txt.attr_id, p_u8[xx])) { in avrc_pars_vendor_cmd()
|
D | avrc_bld_tg.cc | 236 if (avrc_is_valid_player_attrib_value(p_rsp->p_vals[xx].attr_id, in avrc_bld_get_cur_app_setting_value_rsp() 239 UINT8_TO_BE_STREAM(p_data, p_rsp->p_vals[xx].attr_id); in avrc_bld_get_cur_app_setting_value_rsp() 323 UINT8_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].attr_id); in avrc_bld_app_setting_text_rsp() 419 p_attrs[index].attr_id); in avrc_build_attribute_entries() 420 CHECK(AVRC_IS_VALID_MEDIA_ATTRIBUTE(p_attrs[index].attr_id)); in avrc_build_attribute_entries() 430 __func__, index, p_attrs[index].attr_id, num_attrs - index); in avrc_build_attribute_entries() 437 __func__, index, p_attrs[index].attr_id); in avrc_build_attribute_entries() 442 UINT32_TO_BE_STREAM(p_data, p_attrs[index].attr_id); in avrc_build_attribute_entries() 627 p_rsp->param.player_setting.attr_id[xx], in avrc_bld_notify_rsp() 629 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 | 173 BE_STREAM_TO_UINT8(p_rsp->param.player_setting.attr_id[index], in avrc_parse_notification_rsp() 378 BE_STREAM_TO_UINT32(attr_entry->attr_id, p); in avrc_pars_browse_rsp() 390 __func__, attr_entry->attr_id, in avrc_pars_browse_rsp() 437 BE_STREAM_TO_UINT32(attr_entry->attr_id, p); in avrc_pars_browse_rsp() 446 attr_entry->attr_id, attr_entry->name.charset_id, in avrc_pars_browse_rsp() 662 BE_STREAM_TO_UINT8(app_sett[xx].attr_id, p); in avrc_ctrl_pars_vendor_rsp() 696 BE_STREAM_TO_UINT8(p_result->get_app_attr_txt.p_attrs[xx].attr_id, p); in avrc_ctrl_pars_vendor_rsp() 749 BE_STREAM_TO_UINT8(p_result->get_app_val_txt.p_attrs[i].attr_id, p); in avrc_ctrl_pars_vendor_rsp() 800 BE_STREAM_TO_UINT32(p_attrs[i].attr_id, p); in avrc_ctrl_pars_vendor_rsp()
|
/system/connectivity/wificond/net/ |
D | netlink_utils.cpp | 570 int attr_id = attr.GetAttributeId(); in MergePacketsForSplitWiphyDump() local 571 if (attr_id != NL80211_ATTR_WIPHY && in MergePacketsForSplitWiphyDump() 572 attr_id != NL80211_ATTR_IFINDEX && in MergePacketsForSplitWiphyDump() 573 attr_id != NL80211_ATTR_WDEV) { in MergePacketsForSplitWiphyDump() 575 attr_by_wiphy_and_id[wiphy_index].find(attr_id); in MergePacketsForSplitWiphyDump() 578 insert(make_pair(attr_id, move(attr))); in MergePacketsForSplitWiphyDump()
|
/system/bt/include/hardware/ |
D | bt_rc.h | 196 uint8_t attr_id; member 205 uint8_t attr_id; member 242 uint32_t attr_id; member 298 typedef void (*btrc_list_player_app_values_callback)(btrc_player_attr_t attr_id, 318 uint8_t attr_id, uint8_t num_val, uint8_t* p_vals,
|
/system/bt/service/ipc/binder/ |
D | bluetooth_avrcp_target_binder_server.cc | 237 const std::string& addr, int32_t attr_id) { in OnListPlayerAppValues() argument 240 cb->OnListPlayerAppValues(String16(addr.data(), addr.size()), attr_id); in OnListPlayerAppValues() 258 const std::string& addr, int32_t attr_id, in OnGetPlayerAppValuesText() argument 262 cb->OnGetPlayerAppValuesText(String16(addr.data(), addr.size()), attr_id, in OnGetPlayerAppValuesText()
|
D | bluetooth_avrcp_target_binder_server.h | 97 void OnListPlayerAppValues(const std::string& addr, int32_t attr_id) override; 102 void OnGetPlayerAppValuesText(const std::string& addr, int32_t attr_id,
|
/system/bt/service/hal/ |
D | bluetooth_avrcp_interface.h | 40 virtual void ListPlayerAppValuesCallback(btrc_player_attr_t attr_id, 48 virtual void GetPlayerAppValuesTextCallback(uint8_t attr_id,
|
D | bluetooth_avrcp_interface.cc | 96 void ListPlayerAppValuesCallback(btrc_player_attr_t attr_id, in ListPlayerAppValuesCallback() argument 102 observer.ListPlayerAppValuesCallback(attr_id, bd_addr); in ListPlayerAppValuesCallback() 127 void GetPlayerAppValuesTextCallback(uint8_t attr_id, uint8_t num_val, in GetPlayerAppValuesTextCallback() argument 134 observer.GetPlayerAppValuesTextCallback(attr_id, num_val, p_vals, bd_addr); in GetPlayerAppValuesTextCallback() 653 btrc_player_attr_t attr_id, const RawAddress& bd_addr) { in ListPlayerAppValuesCallback() argument 668 uint8_t attr_id, uint8_t num_val, uint8_t* p_vals, in GetPlayerAppValuesTextCallback() argument
|
/system/bt/btif/src/ |
D | btif_rc.cc | 478 attr_vals[attr_cnt].attr_id = p_attrs[attr_cnt].attr_id; in fill_avrc_attr_entry() 485 (unsigned int)attr_vals[attr_cnt].attr_id, in fill_avrc_attr_entry() 1925 element_attrs[i].attr_id = p_attrs[i].attr_id; in get_element_attr_rsp() 1932 (unsigned int)element_attrs[i].attr_id, in get_element_attr_rsp() 3397 app_settings.attr_ids[xx] = p_rsp->param.player_setting.attr_id[xx]; in handle_notification_response() 3465 p_dev->rc_app_settings.ext_attrs[st_index].attr_id = p_rsp->attrs[xx]; in handle_app_attr_response() 3469 p_dev->rc_app_settings.attrs[st_index].attr_id = p_rsp->attrs[xx]; in handle_app_attr_response() 3477 list_player_app_setting_value_cmd(p_dev->rc_app_settings.attrs[0].attr_id, in handle_app_attr_response() 3523 p_app_settings->attrs[p_app_settings->attr_index].attr_id, p_dev); in handle_app_val_response() 3528 p_app_settings->ext_attrs[attr_index].attr_id, p_dev); in handle_app_val_response() [all …]
|
/system/bt/test/headless/sdp/ |
D | sdp.cc | 118 rec->p_first_attr->attr_id, rec->remote_bd_addr.ToString().c_str(), in sdp_query_uuid()
|