Home
last modified time | relevance | path

Searched refs:attr_id (Results 1 – 25 of 42) sorted by relevance

12

/system/bt/bta/gatt/
Dbta_gatts_utils.cc127 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()
Dbta_gatts_api.cc234 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()
Dbta_gatts_int.h83 uint16_t attr_id; member
186 tBTA_GATTS_CB* p_cb, uint16_t attr_id);
/system/bt/stack/sdp/
Dsdp_db.cc354 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 …]
Dsdp_api.cc220 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 …]
Dsdp_discovery.cc55 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/
Dsdp_api.h100 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/
DIBluetoothAvrcpTargetCallback.aidl26 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/
Dbta_hf_client_add_record_test.cc23 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/
Drecord_file_test.cpp43 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()
Drecord_file_writer.cpp89 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()
Dcmd_report.cpp453 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/
Davrcp_target.h49 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,
Davrcp_target.cc80 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/
Davrc_pars_tg.cc148 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()
Davrc_bld_tg.cc236 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 …]
Davrc_pars_ct.cc173 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/
Dnetlink_utils.cpp570 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/
Dbt_rc.h196 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/
Dbluetooth_avrcp_target_binder_server.cc237 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()
Dbluetooth_avrcp_target_binder_server.h97 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/
Dbluetooth_avrcp_interface.h40 virtual void ListPlayerAppValuesCallback(btrc_player_attr_t attr_id,
48 virtual void GetPlayerAppValuesTextCallback(uint8_t attr_id,
Dbluetooth_avrcp_interface.cc96 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/
Dbtif_rc.cc478 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/
Dsdp.cc118 rec->p_first_attr->attr_id, rec->remote_bd_addr.ToString().c_str(), in sdp_query_uuid()

12