Searched refs:attr_len (Results 1 - 5 of 5) sorted by relevance

/system/bt/stack/sdp/
H A Dsdp_db.c396 UINT32 attr_len, UINT8 *p_val)
413 UINT32 len = (attr_len > 200) ? 200 : attr_len;
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);
471 p_attr->len = attr_len;
473 if (p_rec->free_pad_ptr + attr_len >= SDP_MAX_PAD_LEN)
478 SDP_TRACE_WARNING("SDP_AddAttribute: attr_len:%d too long. truncate to (%d)",
479 attr_len, SDP_MAX_PAD_LE
395 SDP_AddAttribute(UINT32 handle, UINT16 attr_id, UINT8 attr_type, UINT32 attr_len, UINT8 *p_val) argument
[all...]
H A Dsdp_discovery.c723 UINT32 seq_len, attr_len; local
757 p = sdpu_get_len_from_type (p, type, &attr_len);
758 if (((type >> 3) != UINT_DESC_TYPE) || (attr_len != 2))
760 SDP_TRACE_WARNING ("SDP - Bad type: 0x%02x or len: %d in attr_rsp", type, attr_len);
836 UINT32 attr_len; local
847 p = sdpu_get_len_from_type (p, type, &attr_len);
849 attr_len &= SDP_DISC_ATTR_LEN_MASK;
853 if (attr_len > 4)
854 total_len = attr_len - 4 + (UINT16)sizeof (tSDP_DISC_ATTR);
867 p_attr->attr_len_type = (UINT16)attr_len | (attr_typ
[all...]
H A Dsdp_utils.c480 UINT32 list_len, attr_len; local
529 attr_len = 2;
532 attr_len = 4;
535 BE_STREAM_TO_UINT8 (attr_len, p);
538 BE_STREAM_TO_UINT16 (attr_len, p);
541 BE_STREAM_TO_UINT32 (attr_len, p);
549 if (attr_len == 2)
554 else if (attr_len == 4)
774 UINT16 attr_len = SDP_DISC_ATTR_LEN (p_attr->attr_len_type); local
777 if (p_btuuid->len != attr_len)
1005 UINT16 attr_len = sdpu_get_attrib_entry_len(p_attr); local
[all...]
H A Dsdp_server.c328 UINT16 attr_len; local
415 attr_len = sdpu_get_attrib_entry_len(p_attr);
423 if (p_ccb->cont_info.attr_offset != attr_len)
428 else if (rem_len < attr_len) /* Not enough space for attr... so add partially */
430 if (attr_len >= SDP_MAX_ATTR_LEN)
432 SDP_TRACE_ERROR("SDP attr too big: max_list_len=%d,attr_len=%d", max_list_len, attr_len);
559 UINT16 seq_len, attr_len; local
660 attr_len = sdpu_get_attrib_entry_len(p_attr);
668 if (p_ccb->cont_info.attr_offset != attr_len)
[all...]
/system/bt/stack/include/
H A Dsdp_api.h470 UINT8 attr_type, UINT32 attr_len,

Completed in 266 milliseconds