/system/bt/bta/gatt/ |
H A D | bta_gatts_utils.cc | 127 uint16_t attr_id) { 134 attr_id >= p_cb->srvc_cb[i].service_id && 135 attr_id < p_cb->srvc_cb[i + 1].service_id) || 139 attr_id >= p_cb->srvc_cb[i].service_id) || 142 attr_id >= p_cb->srvc_cb[i].service_id)) { 126 bta_gatts_find_srvc_cb_by_attr_id(tBTA_GATTS_CB* p_cb, uint16_t attr_id) argument
|
H A D | bta_gatts_int.h | 83 uint16_t attr_id; member in struct:__anon129 186 tBTA_GATTS_CB* p_cb, uint16_t attr_id);
|
H A D | bta_gatts_api.cc | 225 * attr_id - attribute ID to indicate. 233 void BTA_GATTS_HandleValueIndication(uint16_t conn_id, uint16_t attr_id, argument 241 p_buf->attr_id = attr_id;
|
H A D | bta_gatts_act.cc | 379 bta_gatts_find_srvc_cb_by_attr_id(p_cb, p_msg->api_indicate.attr_id); 389 p_msg->api_indicate.hdr.layer_specific, p_msg->api_indicate.attr_id, 393 p_msg->api_indicate.hdr.layer_specific, p_msg->api_indicate.attr_id, 416 << loghex(p_msg->api_indicate.attr_id);
|
/system/bt/stack/include/ |
H A D | sdp_api.h | 103 uint16_t attr_id; /* Attribute ID */ member in struct:t_sdp_disc_attr 253 tSDP_DISC_REC* SDP_FindAttributeInDb(tSDP_DISCOVERY_DB* p_db, uint16_t attr_id, 266 tSDP_DISC_ATTR* SDP_FindAttributeInRec(tSDP_DISC_REC* p_rec, uint16_t attr_id); 440 bool SDP_AddAttribute(uint32_t handle, uint16_t attr_id, uint8_t attr_type, 457 bool SDP_AddSequence(uint32_t handle, uint16_t attr_id, uint16_t num_elem, 472 bool SDP_AddUuidSequence(uint32_t handle, uint16_t attr_id, uint16_t num_uuids, 560 bool SDP_DeleteAttribute(uint32_t handle, uint16_t attr_id);
|
H A D | avrc_defs.h | 1031 uint8_t attr_id; member in struct:__anon1052 1036 uint8_t attr_id; member in struct:__anon1053 1069 attr_id; /* Use AVRC_MEDIA_ATTR_ID_TITLE, AVRC_MEDIA_ATTR_ID_ARTIST, member in struct:__anon1056 1108 uint8_t attr_id; member in struct:__anon1061 1143 uint8_t attr_id; member in struct:__anon1065 1396 uint8_t attr_id[AVRC_MAX_APP_SETTINGS]; member in struct:__anon1090
|
/system/bt/stack/sdp/ |
H A D | sdp_db.cc | 355 bool SDP_AddAttribute(uint32_t handle, uint16_t attr_id, uint8_t attr_type, argument 378 handle, attr_id, attr_type, attr_len, p_val, num_array); 383 handle, attr_id, attr_type, attr_len, p_val, *p_val); 388 handle, attr_id, attr_type, attr_len, p_val, p_val); 400 if (p_attr->id == attr_id) { 401 SDP_DeleteAttribute(handle, attr_id); 404 if (p_attr->id > attr_id) break; 418 p_attr->id = attr_id; 447 attr_id, attr_len); 473 bool SDP_AddSequence(uint32_t handle, uint16_t attr_id, uint16_ argument 547 SDP_AddUuidSequence(uint32_t handle, uint16_t attr_id, uint16_t num_uuids, uint16_t* p_uuids) argument 793 SDP_DeleteAttribute(uint32_t handle, uint16_t attr_id) argument [all...] |
H A D | sdp_api.cc | 230 tSDP_DISC_REC* SDP_FindAttributeInDb(tSDP_DISCOVERY_DB* p_db, uint16_t attr_id, argument 246 if (p_attr->attr_id == attr_id) return (p_rec); 267 tSDP_DISC_ATTR* SDP_FindAttributeInRec(tSDP_DISC_REC* p_rec, uint16_t attr_id) { argument 272 if (p_attr->attr_id == attr_id) return (p_attr); 300 if ((p_attr->attr_id == ATTR_ID_SERVICE_CLASS_ID_LIST) && 341 } else if (p_attr->attr_id == ATTR_ID_SERVICE_ID) { 370 if ((p_attr->attr_id == ATTR_ID_SERVICE_CLASS_ID_LIST) && 385 } else if (p_attr->attr_id [all...] |
H A D | sdp_discovery.cc | 59 tSDP_DISC_REC* p_rec, uint16_t attr_id, 717 uint16_t attr_id; local 752 BE_STREAM_TO_UINT16(attr_id, p); 755 p = add_attr(p, p_ccb->p_db, p_rec, attr_id, NULL, 0); 816 tSDP_DISC_REC* p_rec, uint16_t attr_id, 848 p_attr->attr_id = attr_id; 953 attr_id == ATTR_ID_ADDITION_PROTO_DESC_LISTS) 1003 p_parent_attr, p_parent_attr->attr_id, p_attr, p_attr->attr_id); */ 815 add_attr(uint8_t* p, tSDP_DISCOVERY_DB* p_db, tSDP_DISC_REC* p_rec, uint16_t attr_id, tSDP_DISC_ATTR* p_parent_attr, uint8_t nest_level) argument [all...] |
/system/extras/simpleperf/ |
H A D | record_file_test.cpp | 43 EventAttrWithId attr_id; local 44 attr_id.attr = attrs_.back().get(); 45 attr_id.ids.push_back(attrs_.size()); // Fake id. 46 attr_ids_.push_back(attr_id);
|
H A D | record_file_writer.cpp | 89 for (auto& attr_id : attr_ids) { 90 if (!Write(attr_id.ids.data(), attr_id.ids.size() * sizeof(uint64_t))) { 100 for (auto& attr_id : attr_ids) { 102 file_attr.attr = *attr_id.attr; 104 file_attr.ids.size = attr_id.ids.size() * sizeof(uint64_t);
|
H A D | event_selection_set.cpp | 250 EventAttrWithId attr_id; local 251 attr_id.attr = &selection.event_attr; 253 attr_id.ids.push_back(fd->Id()); 256 attr_id.ids.push_back(selection.inplace_samplers[0]->Id()); 258 result.push_back(attr_id); 865 uint64_t attr_id = 0; local 870 event_id_data.push_back(attr_id); 874 ++attr_id;
|
H A D | cmd_report.cpp | 440 void ProcessSampleRecordInTraceOffCpuMode(std::unique_ptr<Record> record, size_t attr_id); 878 size_t attr_id = record_file_reader_->GetAttrIndexOfRecord(record.get()); local 880 sample_tree_builder_[attr_id]->ReportCmdProcessSampleRecord( 883 ProcessSampleRecordInTraceOffCpuMode(std::move(record), attr_id); local 896 size_t attr_id) { 898 if (attr_id == sched_switch_attr_id_) { 908 sample_tree_builder_[attr_id]->ReportCmdProcessSampleRecord(r); 895 ProcessSampleRecordInTraceOffCpuMode(std::unique_ptr<Record> record, size_t attr_id) argument
|
H A D | cmd_record.cpp | 853 EventAttrWithId attr_id = event_selection_set_.GetEventAttrWithId()[0]; local 860 if (!DumpKernelAndModuleMmaps(*attr_id.attr, attr_id.ids[0])) { 863 if (!DumpThreadCommAndMmaps(*attr_id.attr, attr_id.ids[0])) {
|
/system/connectivity/wificond/net/ |
H A D | netlink_utils.cpp | 545 int attr_id = attr.GetAttributeId(); local 546 if (attr_id != NL80211_ATTR_WIPHY && 547 attr_id != NL80211_ATTR_IFINDEX && 548 attr_id != NL80211_ATTR_WDEV) { 550 attr_by_wiphy_and_id[wiphy_index].find(attr_id); 553 insert(make_pair(attr_id, move(attr)));
|
H A D | nl80211_attribute.cpp | 69 int attr_id, 77 if (header->nla_type == attr_id) { 67 GetAttributeImpl(const uint8_t* buf, size_t len, int attr_id, uint8_t** attr_start, uint8_t** attr_end) argument
|
H A D | nl80211_attribute.h | 49 int attr_id,
|
/system/bt/stack/avrc/ |
H A D | avrc_pars_tg.cc | 147 p_result->list_app_values.attr_id = *p++; 148 if (!AVRC_IS_VALID_ATTRIBUTE(p_result->list_app_values.attr_id)) 188 p_app_set[xx].attr_id = *p++; 190 if (!avrc_is_valid_player_attrib_value(p_app_set[xx].attr_id, 213 BE_STREAM_TO_UINT8(p_result->get_app_val_txt.attr_id, p); 214 if (!AVRC_IS_VALID_ATTRIBUTE(p_result->get_app_val_txt.attr_id)) 218 if ((len - 2 /* attr_id & num_val */) != 231 p_result->get_app_val_txt.attr_id, p_u8[xx])) {
|
H A D | avrc_bld_tg.cc | 236 if (avrc_is_valid_player_attrib_value(p_rsp->p_vals[xx].attr_id, 239 UINT8_TO_BE_STREAM(p_data, p_rsp->p_vals[xx].attr_id); 323 UINT8_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].attr_id); 419 p_attrs[index].attr_id); 420 CHECK(AVRC_IS_VALID_MEDIA_ATTRIBUTE(p_attrs[index].attr_id)); 424 /* 8 is the size of attr_id, char set and str_len */ 428 "%s not enough buffer space for attr_id[%d]: %d," 430 __func__, index, p_attrs[index].attr_id, num_attrs - index); 435 "%s not enough buffer space for attr_id[%d]: %d," 437 __func__, index, p_attrs[index].attr_id); [all...] |
H A D | avrc_pars_ct.cc | 126 BE_STREAM_TO_UINT8(p_rsp->param.player_setting.attr_id[index], 285 BE_STREAM_TO_UINT32(attr_entry->attr_id, p); 296 __func__, attr_entry->attr_id, 506 BE_STREAM_TO_UINT8(app_sett[xx].attr_id, p); 530 BE_STREAM_TO_UINT8(p_result->get_app_attr_txt.p_attrs[xx].attr_id, p); 564 BE_STREAM_TO_UINT8(p_result->get_app_val_txt.p_attrs[i].attr_id, p); 596 BE_STREAM_TO_UINT32(p_attrs[i].attr_id, p);
|
H A D | avrc_bld_ct.cc | 229 UINT8_TO_BE_STREAM(p_data, p_val[count].attr_id); 612 p_pkt, p_cmd->list_app_values.attr_id);
|
/system/bt/include/hardware/ |
H A D | bt_rc.h | 194 uint8_t attr_id; member in struct:__anon807 203 uint8_t attr_id; member in struct:__anon808 235 uint8_t id; /* can be attr_id or value_id */ 240 uint32_t attr_id; member in struct:__anon814 296 typedef void (*btrc_list_player_app_values_callback)(btrc_player_attr_t attr_id, 316 uint8_t attr_id, uint8_t num_val, uint8_t* p_vals, 457 * attr_id */
|
/system/bt/btif/src/ |
H A D | btif_rc.cc | 440 attr_vals[attr_cnt].attr_id = p_attrs[attr_cnt].attr_id; 446 "%s: attr_id: 0x%x, charset_id: 0x%x, str_len: %d, str: %s", __func__, 447 (unsigned int)attr_vals[attr_cnt].attr_id, 1849 element_attrs[i].attr_id = p_attrs[i].attr_id; 1854 "%s: attr_id: 0x%x, charset_id: 0x%x, str_len: %d, str: %s", __func__, 1855 (unsigned int)element_attrs[i].attr_id, 3340 app_settings.attr_ids[xx] = p_rsp->param.player_setting.attr_id[xx]; 3403 p_dev->rc_app_settings.ext_attrs[st_index].attr_id [all...] |
/system/media/audio_route/ |
H A D | audio_route.c | 455 const XML_Char *attr_id = NULL; local 472 attr_id = attr[i + 1]; 535 if (attr_id) { 537 id = atoi((char *)attr_id); 563 if (attr_id) 564 mixer_value.index = atoi((char *)attr_id);
|
/system/bt/stack/hid/ |
H A D | hidh_api.cc | 71 void hidh_get_str_attr(tSDP_DISC_REC* p_rec, uint16_t attr_id, uint16_t max_len, argument 76 p_attr = SDP_FindAttributeInRec(p_rec, attr_id);
|