/external/autotest/server/site_tests/bluetooth_SDP_ServiceBrowse/ |
bluetooth_SDP_ServiceBrowse.py | 22 def get_attribute_ssr_sar(self, class_id, attr_id, size): 27 @param attr_id: ID of attribute to check. 41 record_handle, self.MAX_ATTR_BYTE_CNT, [attr_id]) 43 value[0] == attr_id): 50 def get_attribute_ssar(self, class_id, attr_id, size): 54 @param attr_id: ID of attribute to check. 61 [class_id], self.MAX_ATTR_BYTE_CNT, [attr_id], size) 69 elem[0] == attr_id): 76 def test_attribute(self, class_id, attr_id, get_attribute): 81 @param attr_id: ID of attribute to check [all...] |
/external/autotest/server/site_tests/bluetooth_SDP_ServiceAttributeRequest/ |
bluetooth_SDP_ServiceAttributeRequest.py | 140 def get_attribute(self, class_id, attr_id): 144 @param attr_id: ID of attribute to check. 150 record_handle, self.MAX_ATTR_BYTE_CNT, [attr_id]) 151 if isinstance(res, list) and len(res) == 2 and res[0] == attr_id: 158 def assert_attribute_equals(self, class_id, attr_id, expected_value): 159 """Verify that |attr_id| of service with |class_id| has |expected_value| 162 @param attr_id: ID of attribute to check. 166 self.assert_equal(self.get_attribute(class_id, attr_id), 308 for attr_id in self.FAKE_GENERAL_ATTRIBUTE_IDS: 310 attr_id, self.FAKE_ATTRIBUTE_VALUE [all...] |
/external/autotest/server/site_tests/bluetooth_SDP_ServiceSearchAttributeRequest/ |
bluetooth_SDP_ServiceSearchAttributeRequest.py | 99 for attr_id in self.FAKE_GENERAL_ATTRIBUTE_IDS: 100 attr = ET.Element('attribute', {'id': str(attr_id)}) 105 attr_id = self.FAKE_ATTRIBUTE_VALUE + offset 106 attr = ET.Element('attribute', {'id': str(attr_id)}) 115 def test_non_existing(self, class_id, attr_id): 119 @param attr_id: ID of attribute to check. 128 [attr_id], 132 'should not!' % (class_id, attr_id)) 135 def get_attribute(self, class_id, attr_id, size): 140 @param attr_id: ID of attribute to check [all...] |
/system/bt/bta/gatt/ |
bta_gatts_utils.cc | 150 uint16_t attr_id) { 157 attr_id >= p_cb->srvc_cb[i].service_id && 158 attr_id < p_cb->srvc_cb[i + 1].service_id) || 162 attr_id >= p_cb->srvc_cb[i].service_id) || 165 attr_id >= p_cb->srvc_cb[i].service_id)) {
|
bta_gatts_int.h | 82 uint16_t attr_id; member in struct:__anon112905 187 tBTA_GATTS_CB* p_cb, uint16_t attr_id);
|
bta_gatts_api.cc | 211 * attr_id - attribute ID to indicate. 219 void BTA_GATTS_HandleValueIndication(uint16_t conn_id, uint16_t attr_id, 227 p_buf->attr_id = attr_id;
|
/system/bt/stack/include/ |
sdp_api.h | 106 uint16_t attr_id; /* Attribute ID */ member in struct:t_sdp_disc_attr 256 tSDP_DISC_REC* SDP_FindAttributeInDb(tSDP_DISCOVERY_DB* p_db, uint16_t attr_id, 269 tSDP_DISC_ATTR* SDP_FindAttributeInRec(tSDP_DISC_REC* p_rec, uint16_t attr_id); 442 bool SDP_AddAttribute(uint32_t handle, uint16_t attr_id, uint8_t attr_type, 459 bool SDP_AddSequence(uint32_t handle, uint16_t attr_id, uint16_t num_elem, 474 bool SDP_AddUuidSequence(uint32_t handle, uint16_t attr_id, uint16_t num_uuids, 562 bool SDP_DeleteAttribute(uint32_t handle, uint16_t attr_id);
|
/system/bt/stack/sdp/ |
sdp_db.cc | 355 bool SDP_AddAttribute(uint32_t handle, uint16_t attr_id, uint8_t attr_type, 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_t num_elem [all...] |
sdp_api.cc | 228 tSDP_DISC_REC* SDP_FindAttributeInDb(tSDP_DISCOVERY_DB* p_db, uint16_t attr_id, 244 if (p_attr->attr_id == attr_id) return (p_rec); 265 tSDP_DISC_ATTR* SDP_FindAttributeInRec(tSDP_DISC_REC* p_rec, uint16_t attr_id) { 270 if (p_attr->attr_id == attr_id) return (p_attr); 298 if ((p_attr->attr_id == ATTR_ID_SERVICE_CLASS_ID_LIST) && 344 } else if (p_attr->attr_id == ATTR_ID_SERVICE_ID) { 374 if ((p_attr->attr_id == ATTR_ID_SERVICE_CLASS_ID_LIST) && 392 } else if (p_attr->attr_id == ATTR_ID_SERVICE_ID) [all...] |
sdp_discovery.cc | 53 tSDP_DISC_REC* p_rec, uint16_t attr_id, 674 uint16_t attr_id; local 709 BE_STREAM_TO_UINT16(attr_id, p); 712 p = add_attr(p, p_ccb->p_db, p_rec, attr_id, NULL, 0); 773 tSDP_DISC_REC* p_rec, uint16_t attr_id, 805 p_attr->attr_id = attr_id; 910 attr_id == ATTR_ID_ADDITION_PROTO_DESC_LISTS) 960 p_parent_attr, p_parent_attr->attr_id, p_attr, p_attr->attr_id); */ [all...] |
/external/syslinux/gpxe/src/net/infiniband/ |
ib_smc.c | 56 mad->hdr.attr_id = htons ( IB_SMP_ATTR_PORT_INFO ); 86 mad->hdr.attr_id = htons ( IB_SMP_ATTR_GUID_INFO ); 115 mad->hdr.attr_id = htons ( IB_SMP_ATTR_PKEY_TABLE );
|
ib_sma.c | 316 .attr_id = htons ( IB_SMP_ATTR_NODE_INFO ), 322 .attr_id = htons ( IB_SMP_ATTR_NODE_DESC ), 328 .attr_id = htons ( IB_SMP_ATTR_GUID_INFO ), 334 .attr_id = htons ( IB_SMP_ATTR_PORT_INFO ), 340 .attr_id = htons ( IB_SMP_ATTR_PKEY_TABLE ),
|
ib_mi.c | 95 ( agent->attr_id != hdr->attr_id ) ) 150 ntohs ( hdr->attr_id ), ntohs ( hdr->status ) ); 190 ntohs ( hdr->attr_id ), ntohs ( hdr->status ) );
|
ib_cm.c | 65 mad.hdr.attr_id = htons ( IB_CM_ATTR_READY_TO_USE ); 120 .attr_id = htons ( IB_CM_ATTR_CONNECT_REPLY ), 182 switch ( mad->hdr.attr_id ) { 221 conn, ntohs ( mad->hdr.attr_id ) ); 275 mad.hdr.attr_id = htons ( IB_CM_ATTR_CONNECT_REQUEST );
|
/toolchain/binutils/binutils-2.25/binutils/ |
sysinfo.y | 51 %type <s> attr_desc attr_id attr_type 249 '(' attr_desc '(' attr_type attr_size ')' attr_id 372 attr_id: label
|
/system/extras/simpleperf/ |
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);
|
record_file_writer.cpp | 86 for (auto& attr_id : attr_ids) { 87 if (!Write(attr_id.ids.data(), attr_id.ids.size() * sizeof(uint64_t))) { 97 for (auto& attr_id : attr_ids) { 99 file_attr.attr = *attr_id.attr; 101 file_attr.ids.size = attr_id.ids.size() * sizeof(uint64_t);
|
event_selection_set.cpp | 148 EventAttrWithId attr_id; local 149 attr_id.attr = &selection.event_attr; 151 attr_id.ids.push_back(fd->Id()); 154 attr_id.ids.push_back(selection.inplace_samplers[0]->Id()); 156 result.push_back(attr_id); 779 uint64_t attr_id = 0; local 784 event_id_data.push_back(attr_id); 788 ++attr_id;
|
/system/bt/stack/avrc/ |
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)) 182 p_app_set[xx].attr_id = *p++; 184 if (!avrc_is_valid_player_attrib_value(p_app_set[xx].attr_id, 207 BE_STREAM_TO_UINT8(p_result->get_app_val_txt.attr_id, p); 208 if (!AVRC_IS_VALID_ATTRIBUTE(p_result->get_app_val_txt.attr_id)) 212 if ((len - 2 /* attr_id & num_val */) != 220 p_result->get_app_val_txt.attr_id, p_u8[xx])) {
|
avrc_pars_ct.cc | 123 BE_STREAM_TO_UINT8(p_rsp->param.player_setting.attr_id[index], 282 BE_STREAM_TO_UINT32(attr_entry->attr_id, p); 293 __func__, attr_entry->attr_id, 491 BE_STREAM_TO_UINT8(app_sett[xx].attr_id, p); 512 BE_STREAM_TO_UINT8(p_result->get_app_attr_txt.p_attrs[xx].attr_id, p); 544 BE_STREAM_TO_UINT8(p_result->get_app_val_txt.p_attrs[i].attr_id, p); 576 BE_STREAM_TO_UINT32(p_attrs[i].attr_id, p);
|
avrc_bld_tg.cc | 237 if (avrc_is_valid_player_attrib_value(p_rsp->p_vals[xx].attr_id, 240 UINT8_TO_BE_STREAM(p_data, p_rsp->p_vals[xx].attr_id); 324 UINT8_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].attr_id); 420 p_attrs[index].attr_id); 421 CHECK(AVRC_IS_VALID_MEDIA_ATTRIBUTE(p_attrs[index].attr_id)); 425 /* 8 is the size of attr_id, char set and str_len */ 429 "%s not enough buffer space for attr_id[%d]: %d," 431 __func__, index, p_attrs[index].attr_id, num_attrs - index); 436 "%s not enough buffer space for attr_id[%d]: %d," 438 __func__, index, p_attrs[index].attr_id); [all...] |
/external/wpa_supplicant_8/src/eap_common/ |
eap_sake_common.c | 19 u8 attr_id, u8 len, const u8 *data) 23 switch (attr_id) { 133 if (attr_id < 128) { 135 " attribute %d", attr_id); 139 "attribute %d", attr_id);
|
/external/syslinux/gpxe/src/include/gpxe/ |
ib_mi.h | 27 uint16_t attr_id; member in struct:ib_mad_agent
|
/external/autotest/client/common_lib/cros/bluetooth/ |
bluetooth_sdp_socket.py | 356 for attr_id in attr_ids: 359 if isinstance(attr_id, list): 361 attr_id[0], attr_id[1]) 363 packed_attr_id = struct.pack('>BH', SDP_UINT16, attr_id)
|
/system/connectivity/wificond/net/ |
nl80211_attribute.cpp | 61 int attr_id, 69 if (header->nla_type == attr_id) {
|