/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.c | 156 tBTA_GATTS_SRVC_CB * bta_gatts_find_srvc_cb_by_attr_id(tBTA_GATTS_CB *p_cb, UINT16 attr_id) 166 attr_id >= p_cb->srvc_cb[i].service_id && 167 attr_id < p_cb->srvc_cb[i + 1].service_id) || 172 attr_id >= p_cb->srvc_cb[i].service_id) || 175 attr_id >= p_cb->srvc_cb[i].service_id)
|
bta_gatts_act.c | 394 UINT16 attr_id = 0; local 397 attr_id = GATTS_AddIncludeService(p_msg->api_add_incl_srvc.hdr.layer_specific, 402 cb_data.add_result.attr_id = attr_id; 404 if (attr_id) 428 UINT16 attr_id = 0; local 431 attr_id = GATTS_AddCharacteristic(p_msg->api_add_char.hdr.layer_specific, 437 cb_data.add_result.attr_id = attr_id; 440 if (attr_id) 464 UINT16 attr_id = 0; local [all...] |
bta_gatts_int.h | 119 UINT16 attr_id; member in struct:__anon71777 256 extern tBTA_GATTS_SRVC_CB * bta_gatts_find_srvc_cb_by_attr_id(tBTA_GATTS_CB *p_cb, UINT16 attr_id);
|
bta_gatts_api.c | 323 ** attr_id - attribute ID to indicate. 331 void BTA_GATTS_HandleValueIndication (UINT16 conn_id, UINT16 attr_id, UINT16 data_len, 339 p_buf->attr_id = attr_id;
|
/system/bt/stack/include/ |
sdp_api.h | 113 UINT16 attr_id; /* Attribute ID */ member in struct:t_sdp_disc_attr 271 UINT16 attr_id, 286 UINT16 attr_id); 469 BOOLEAN SDP_AddAttribute (UINT32 handle, UINT16 attr_id, 488 BOOLEAN SDP_AddSequence (UINT32 handle, UINT16 attr_id, 505 BOOLEAN SDP_AddUuidSequence (UINT32 handle, UINT16 attr_id, 599 BOOLEAN SDP_DeleteAttribute (UINT32 handle, UINT16 attr_id);
|
avrc_defs.h | 899 UINT8 attr_id; member in struct:__anon72551 905 UINT8 attr_id; member in struct:__anon72552 936 UINT32 attr_id; \/* Use AVRC_MEDIA_ATTR_ID_TITLE, AVRC_MEDIA_ATTR_ID_ARTIST, AVRC_MEDIA_ATTR_ID_ALBUM, member in struct:__anon72555 977 UINT8 attr_id; member in struct:__anon72560 1016 UINT8 attr_id; member in struct:__anon72564 1288 UINT8 attr_id[AVRC_MAX_APP_SETTINGS]; member in struct:__anon72589 [all...] |
/system/bt/stack/sdp/ |
sdp_db.c | 395 BOOLEAN SDP_AddAttribute (UINT32 handle, UINT16 attr_id, UINT8 attr_type, 421 handle,attr_id,attr_type,attr_len,p_val,num_array); 426 handle,attr_id,attr_type,attr_len,p_val,*p_val); 431 handle,attr_id,attr_type,attr_len,p_val,p_val); 447 if (p_attr->id == attr_id) 449 SDP_DeleteAttribute (handle, attr_id); 452 if (p_attr->id > attr_id) 469 p_attr->id = attr_id; 500 attr_id, attr_len ); 527 BOOLEAN SDP_AddSequence (UINT32 handle, UINT16 attr_id, UINT16 num_elem [all...] |
sdp_api.c | 260 tSDP_DISC_REC *SDP_FindAttributeInDb (tSDP_DISCOVERY_DB *p_db, UINT16 attr_id, 281 if (p_attr->attr_id == attr_id) 305 tSDP_DISC_ATTR *SDP_FindAttributeInRec (tSDP_DISC_REC *p_rec, UINT16 attr_id) 313 if (p_attr->attr_id == attr_id) 345 if ((p_attr->attr_id == ATTR_ID_SERVICE_CLASS_ID_LIST) 398 else if (p_attr->attr_id == ATTR_ID_SERVICE_ID) 434 if ((p_attr->attr_id == ATTR_ID_SERVICE_CLASS_ID_LIST) 456 else if (p_attr->attr_id == ATTR_ID_SERVICE_ID [all...] |
sdp_discovery.c | 54 UINT16 attr_id, tSDP_DISC_ATTR *p_parent_attr, UINT8 nest_level); 724 UINT16 attr_id; local 763 BE_STREAM_TO_UINT16 (attr_id, p); 766 p = add_attr (p, p_ccb->p_db, p_rec, attr_id, NULL, 0); 833 UINT16 attr_id, tSDP_DISC_ATTR *p_parent_attr, UINT8 nest_level) 866 p_attr->attr_id = attr_id; 986 if(is_additional_list != 0 || attr_id == ATTR_ID_ADDITION_PROTO_DESC_LISTS) [all...] |
/system/extras/simpleperf/ |
record_file_writer.cpp | 84 for (auto& attr_id : attr_ids) { 85 if (!Write(attr_id.ids.data(), attr_id.ids.size() * sizeof(uint64_t))) { 95 for (auto& attr_id : attr_ids) { 97 file_attr.attr = *attr_id.attr; 99 file_attr.ids.size = attr_id.ids.size() * sizeof(uint64_t);
|
record_file_test.cpp | 42 AttrWithId attr_id; local 43 attr_id.attr = attrs_.back().get(); 44 attr_id.ids.push_back(attrs_.size()); // Fake id. 45 attr_ids_.push_back(attr_id);
|
cmd_record.cpp | 515 AttrWithId attr_id; local 516 attr_id.attr = event_selection_set_.FindEventAttrByType(event_type); 517 CHECK(attr_id.attr != nullptr); 522 attr_id.ids.push_back(fd->Id()); 524 attr_ids.push_back(attr_id);
|
/system/bt/stack/avrc/ |
avrc_pars_tg.c | 157 p_result->list_app_values.attr_id = *p++; 158 if (!AVRC_IS_VALID_ATTRIBUTE(p_result->list_app_values.attr_id)) 196 p_app_set[xx].attr_id = *p++; 198 if (!avrc_is_valid_player_attrib_value(p_app_set[xx].attr_id, p_app_set[xx].attr_val)) 222 BE_STREAM_TO_UINT8 (p_result->get_app_val_txt.attr_id, p); 223 if (!AVRC_IS_VALID_ATTRIBUTE(p_result->get_app_val_txt.attr_id)) 228 if ( (len - 2/* attr_id & num_val */) != p_result->get_app_val_txt.num_val) 236 if (!avrc_is_valid_player_attrib_value(p_result->get_app_val_txt.attr_id,
|
avrc_bld_tg.c | 253 if (avrc_is_valid_player_attrib_value(p_rsp->p_vals[xx].attr_id, p_rsp->p_vals[xx].attr_val)) 256 UINT8_TO_BE_STREAM(p_data, p_rsp->p_vals[xx].attr_id); 350 UINT8_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].attr_id); 485 if (!AVRC_IS_VALID_MEDIA_ATTRIBUTE(p_rsp->p_attrs[xx].attr_id)) 488 __func__, xx, p_rsp->p_attrs[xx].attr_id); 495 UINT32_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].attr_id); 629 if (avrc_is_valid_player_attrib_value(p_rsp->param.player_setting.attr_id[xx], 632 UINT8_TO_BE_STREAM(p_data, p_rsp->param.player_setting.attr_id[xx]);
|
avrc_pars_ct.c | 126 BE_STREAM_TO_UINT8(p_rsp->param.player_setting.attr_id[index], p_stream); 263 BE_STREAM_TO_UINT8(app_sett[xx].attr_id, p); 286 BE_STREAM_TO_UINT8(p_result->get_app_attr_txt.p_attrs[xx].attr_id, p); 317 BE_STREAM_TO_UINT8(p_result->get_app_val_txt.p_attrs[i].attr_id, p); 351 BE_STREAM_TO_UINT32(p_attrs[i].attr_id, p);
|
avrc_bld_ct.c | 234 UINT8_TO_BE_STREAM(p_data,p_val[count].attr_id); 473 status = avrc_bld_list_player_app_values_cmd(p_pkt,p_cmd->list_app_values.attr_id);
|
/hardware/libhardware/include/hardware/ |
bt_rc.h | 114 uint8_t attr_id; member in struct:__anon31221 123 uint8_t attr_id; member in struct:__anon31222 145 uint8_t id; /* can be attr_id or value_id */ 150 uint32_t attr_id; member in struct:__anon31226 165 typedef void (* btrc_list_player_app_values_callback)(btrc_player_attr_t attr_id); 180 typedef void (* btrc_get_player_app_values_text_callback) (uint8_t attr_id, uint8_t num_val, uint8_t *p_vals); 249 /** Returns the current application attribute values for each of the specified attr_id */
|
/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
|
/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/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/bt/btif/src/ |
btif_rc.c | [all...] |
/system/media/audio_route/ |
audio_route.c | 437 const XML_Char *attr_id = NULL; local 454 attr_id = attr[i + 1]; 511 if (attr_id) { 513 id = atoi((char *)attr_id); 539 if (attr_id) 540 mixer_value.index = atoi((char *)attr_id);
|