HomeSort by relevance Sort by last modified time
    Searched refs:p_attr (Results 1 - 22 of 22) sorted by null

  /external/bluetooth/bluedroid/stack/sdp/
sdp_api.c 267 tSDP_DISC_ATTR *p_attr; local
280 p_attr = p_rec->p_first_attr;
281 while (p_attr)
283 if (p_attr->attr_id == attr_id)
286 p_attr = p_attr->p_next_attr;
310 tSDP_DISC_ATTR *p_attr; local
312 p_attr = p_rec->p_first_attr;
313 while (p_attr)
315 if (p_attr->attr_id == attr_id
341 tSDP_DISC_ATTR *p_attr, *p_sattr, *p_extra_sattr; local
432 tSDP_DISC_ATTR *p_attr, *p_sattr, *p_extra_sattr; local
489 tSDP_DISC_ATTR *p_attr, *p_sattr, *p_extra_sattr; local
596 tSDP_DISC_ATTR *p_attr, *p_sattr, *p_extra_sattr; local
662 tSDP_DISC_ATTR *p_attr, *p_sattr; local
795 tSDP_DISC_ATTR *p_attr; local
828 tSDP_DISC_ATTR *p_attr, *p_sattr; local
874 tSDP_DISC_ATTR *p_attr, *p_sattr; local
1271 tSDP_ATTRIBUTE *p_attr; local
    [all...]
sdp_utils.c 178 UINT8 *sdpu_build_attrib_seq (UINT8 *p_out, UINT16 *p_attr, UINT16 num_attrs)
184 if (!p_attr)
201 if (!p_attr)
210 for (xx = 0; xx < num_attrs; xx++, p_attr++)
213 UINT16_TO_BE_STREAM (p_out, *p_attr);
232 UINT8 *sdpu_build_attrib_entry (UINT8 *p_out, tSDP_ATTRIBUTE *p_attr)
236 UINT16_TO_BE_STREAM (p_out, p_attr->id);
240 switch(p_attr->type)
247 if(p_attr->len > 0xFFFF)
249 UINT8_TO_BE_STREAM (p_out, (p_attr->type << 3) | SIZE_IN_NEXT_LONG)
883 tSDP_ATTRIBUTE *p_attr; local
    [all...]
sdp_db.c 63 tSDP_ATTRIBUTE *p_attr; local
78 p_attr = &p_rec->attribute[0];
79 for (xx = 0; xx < p_rec->num_attributes; xx++, p_attr++)
81 if (p_attr->type == UUID_DESC_TYPE)
83 if (sdpu_compare_uuid_arrays (p_attr->value_ptr, p_attr->len,
88 else if (p_attr->type == DATA_ELE_SEQ_DESC_TYPE)
90 if (find_uuid_in_seq (p_attr->value_ptr, p_attr->len,
444 tSDP_ATTRIBUTE *p_attr = &p_rec->attribute[0] local
909 tSDP_ATTRIBUTE *p_attr = &p_rec->attribute[0]; local
978 tSDP_ATTRIBUTE *p_attr; local
    [all...]
sdp_server.c 313 tSDP_ATTRIBUTE *p_attr; local
403 p_attr = sdp_db_find_attr_in_rec (p_rec, attr_seq.attr_entry[xx].start, attr_seq.attr_entry[xx].end);
405 if (p_attr)
414 p_ccb->cont_info.next_attr_start_id = p_attr->id;
418 attr_len = sdpu_get_attrib_entry_len(p_attr);
422 p_rsp = sdpu_build_partial_attrib_entry (p_rsp, p_attr, rem_len,
441 p_rsp = sdpu_build_partial_attrib_entry (p_rsp, p_attr, (UINT16)rem_len,
445 p_ccb->cont_info.next_attr_start_id = p_attr->id;
449 p_rsp = sdpu_build_attrib_entry (p_rsp, p_attr);
455 attr_seq.attr_entry[xx].start = p_attr->id + 1
563 tSDP_ATTRIBUTE *p_attr; local
    [all...]
sdp_discovery.c 898 tSDP_DISC_ATTR *p_attr; local
928 p_attr = (tSDP_DISC_ATTR *) p_db->p_free_mem;
929 p_attr->attr_id = attr_id;
930 p_attr->attr_len_type = (UINT16)attr_len | (attr_type << 12);
931 p_attr->p_next_attr = NULL;
958 p = add_attr (p, p_db, p_rec, ATTR_ID_PROTOCOL_DESC_LIST, p_attr, (UINT8)(nest_level + 1));
969 p_attr->attr_value.v.u8 = *p++;
972 BE_STREAM_TO_UINT16 (p_attr->attr_value.v.u16, p);
975 BE_STREAM_TO_UINT32 (p_attr->attr_value.v.u32, p);
978 BE_STREAM_TO_ARRAY (p, p_attr->attr_value.v.array, (INT32)attr_len)
    [all...]
sdpint.h 281 extern UINT8 *sdpu_build_attrib_seq (UINT8 *p_out, UINT16 *p_attr, UINT16 num_attrs);
282 extern UINT8 *sdpu_build_attrib_entry (UINT8 *p_out, tSDP_ATTRIBUTE *p_attr);
292 extern BOOLEAN sdpu_compare_uuid_with_attr (tBT_UUID *p_btuuid, tSDP_DISC_ATTR *p_attr);
297 extern UINT16 sdpu_get_attrib_entry_len(tSDP_ATTRIBUTE *p_attr);
298 extern UINT8 *sdpu_build_partial_attrib_entry (UINT8 *p_out, tSDP_ATTRIBUTE *p_attr, UINT16 len, UINT16 *offset);
  /external/bluetooth/bluedroid/bta/gatt/
bta_gattc_cache.c 70 tBTA_GATTC_CACHE_ATTR *p_attr; local
83 p_attr = p_cur_srvc->p_attr;
85 for (j = 0; p_attr; j ++ )
88 j + 1, p_attr->attr_handle, p_attr->p_uuid->uuid16, p_attr->inst_id,
89 bta_gattc_attr_type[p_attr->attr_type], p_attr->property);
91 p_attr = p_attr->p_next
239 tBTA_GATTC_CACHE_ATTR *p_attr; local
353 tBTA_GATTC_CACHE_ATTR *p_attr; local
1053 tBTA_GATTC_CACHE_ATTR *p_attr; local
1150 tBTA_GATTC_CACHE_ATTR *p_attr, *p_char = NULL; local
1281 tBTA_GATTC_CACHE_ATTR *p_attr; local
1560 tBTA_GATTC_CACHE_ATTR *p_attr; local
    [all...]
bta_gattc_ci.c 83 tBTA_GATTC_NV_ATTR *p_attr, tBTA_GATT_STATUS status,
98 if (p_evt->num_attr > 0 && p_attr != NULL)
100 memcpy(p_evt->attr, p_attr, p_evt->num_attr * sizeof(tBTA_GATTC_NV_ATTR));
bta_gattc_utils.c 588 void bta_gattc_pack_attr_uuid(tBTA_GATTC_CACHE_ATTR *p_attr, tBT_UUID *p_uuid)
590 UINT8 *pp = (UINT8 *)p_attr->p_uuid;
594 p_uuid->len = p_attr->uuid_len;
596 if (p_attr->uuid_len == LEN_UUID_16)
758 tGATT_VALUE *p_attr,
761 UINT8 i = 0, *pp = p_attr->value;
769 while (p_attr->len >= 2 && i < BTA_GATTC_MULTI_MAX)
784 p_attr->len -= 2;
791 p_value->unformat.len = p_attr->len;
792 p_value->unformat.p_value = p_attr->value
    [all...]
bta_gattc_int.h 260 tBTA_GATTC_CACHE_ATTR *p_attr; member in struct:gattc_svc_cache
508 extern void bta_gattc_pack_attr_uuid(tBTA_GATTC_CACHE_ATTR *p_attr, tBT_UUID *p_uuid);
510 extern tBTA_GATT_STATUS bta_gattc_pack_read_cb_data(tBTA_GATTC_SERV *p_srcb, tBT_UUID *p_descr_uuid, tGATT_VALUE *p_attr, tBTA_GATT_READ_VAL *p_value);
530 extern void bta_gattc_rebuild_cache(tBTA_GATTC_SERV *p_srcv, UINT16 num_attr, tBTA_GATTC_NV_ATTR *p_attr, UINT16 attr_index);
  /external/bluetooth/bluedroid/stack/hid/
hidh_api.c 79 tSDP_DISC_ATTR *p_attr; local
82 if ((p_attr = SDP_FindAttributeInRec(p_rec, attr_id)) != NULL)
84 if((name_len = SDP_DISC_ATTR_LEN(p_attr->attr_len_type)) < max_len )
86 memcpy( str, (char *) p_attr->attr_value.v.array, name_len );
91 memcpy( str, (char *) p_attr->attr_value.v.array, max_len-1 );
104 tSDP_DISC_ATTR *p_attr, *p_subattr1, *p_subattr2, *p_repdesc; local
129 if (((p_attr = SDP_FindAttributeInRec (p_rec, ATTR_ID_HID_DESCRIPTOR_LIST)) == NULL)
130 || (SDP_DISC_ATTR_TYPE(p_attr->attr_len_type) != DATA_ELE_SEQ_DESC_TYPE)
131 || ((p_subattr1 = p_attr->attr_value.v.p_sub_attr) == NULL)
144 if (((p_attr = SDP_FindAttributeInRec (p_rec, ATTR_ID_HID_VIRTUAL_CABLE)) != NULL) &
    [all...]
  /external/bluetooth/bluedroid/stack/gatt/
gatt_db.c 41 static BOOLEAN deallocate_attr_in_db(tGATT_SVC_DB *p_db, void *p_attr);
116 static tGATT_STATUS gatts_check_attr_readability(tGATT_ATTR16 *p_attr,
123 tGATT_PERM perm = p_attr->permission;
165 switch (p_attr->uuid)
192 ** Parameter p_attr: pointer to the attribute to read.
204 static tGATT_STATUS read_attr_value (void *p_attr,
217 tGATT_ATTR16 *p_attr16 = (tGATT_ATTR16 *)p_attr;
226 status = gatts_check_attr_readability((tGATT_ATTR16 *)p_attr, offset, read_long, sec_flag, key_size);
329 tGATT_ATTR16 *p_attr; local
336 p_attr = (tGATT_ATTR16 *)p_db->p_attr_list
415 tGATT_ATTR16 *p_attr; local
611 tGATT_ATTR16 *p_attr; local
665 tGATT_ATTR16 *p_attr; local
709 tGATT_ATTR16 *p_attr; local
1133 tGATT_ATTR16 *p_attr; local
    [all...]
gatt_auth.c 45 tGATT_VALUE *p_attr = (tGATT_VALUE *)p_clcb->p_attr_buf; local
54 p_data = (UINT8 *)GKI_getbuf((UINT16)(p_attr->len + 3)); /* 3 = 2 byte handle + opcode */
60 UINT16_TO_STREAM(p, p_attr->handle);
61 ARRAY_TO_STREAM(p, p_attr->value, p_attr->len);
64 if ((payload_size - GATT_AUTH_SIGN_LEN - 3) < p_attr->len)
65 p_attr->len = payload_size - GATT_AUTH_SIGN_LEN - 3;
67 p_signature = p_attr->value + p_attr->len;
70 (UINT16)(p_attr->len + 3), /* 3 = 2 byte handle + opcode *
    [all...]
gatt_cl.c 220 tGATT_VALUE *p_attr = (tGATT_VALUE *)p_clcb->p_attr_buf; local
222 if (p_attr)
227 p_clcb->s_handle = p_attr->handle;
232 p_attr->handle,
233 p_attr->len,
235 p_attr->value);
239 if (p_attr->len <= (p_tcb->payload_size - GATT_HDR_SIZE))
241 p_clcb->s_handle = p_attr->handle;
246 p_attr->handle,
247 p_attr->len
313 tGATT_VALUE *p_attr = (tGATT_VALUE *)p_clcb->p_attr_buf; local
356 tGATT_VALUE *p_attr = (tGATT_VALUE *)p_clcb->p_attr_buf; local
546 tGATT_VALUE *p_attr = (tGATT_VALUE *)p_clcb->p_attr_buf; local
    [all...]
gatt_sr.c 623 tGATT_ATTR16 *p_attr = NULL; local
630 p_attr = (tGATT_ATTR16 *) p_rcb->p_db->p_attr_list;
634 while (p_attr)
636 if (p_attr->handle > e_hdl)
641 if (p_attr->handle >= s_hdl)
644 p_msg->offset = (p_attr->uuid_type == GATT_ATTR_UUID_TYPE_128) ? GATT_INFO_TYPE_PAIR_128 : GATT_INFO_TYPE_PAIR_16;
648 if (p_msg->offset == GATT_INFO_TYPE_PAIR_16 && p_attr->uuid_type == GATT_ATTR_UUID_TYPE_16)
650 UINT16_TO_STREAM(p, p_attr->handle);
651 UINT16_TO_STREAM(p, p_attr->uuid);
654 p_attr->uuid_type == GATT_ATTR_UUID_TYPE_128
1247 tGATT_ATTR16 *p_attr; local
    [all...]
  /external/bluetooth/bluedroid/bta/include/
bta_gattc_co.h 72 ** p_attr: pointer to the list of attributes to save.
79 UINT16 num_attr, tBTA_GATTC_NV_ATTR *p_attr,
  /external/bluetooth/bluedroid/stack/a2dp/
a2d_api.c 57 tSDP_DISC_ATTR *p_attr; local
78 if ((p_attr = SDP_FindAttributeInRec(p_rec,
81 a2d_svc.p_service_name = (char *) p_attr->attr_value.v.array;
82 a2d_svc.service_len = SDP_DISC_ATTR_LEN(p_attr->attr_len_type);
86 if ((p_attr = SDP_FindAttributeInRec(p_rec,
89 a2d_svc.p_provider_name = (char *) p_attr->attr_value.v.array;
90 a2d_svc.provider_len = SDP_DISC_ATTR_LEN(p_attr->attr_len_type);
94 if ((p_attr = SDP_FindAttributeInRec(p_rec,
97 a2d_svc.features = p_attr->attr_value.v.u16;
  /external/bluetooth/bluedroid/bta/hl/
bta_hl_sdp.c 38 BOOLEAN bta_hl_fill_sup_feature_list( const tSDP_DISC_ATTR *p_attr,
46 for (p_attr = p_attr->attr_value.v.p_sub_attr; p_attr; p_attr = p_attr->p_next_attr)
49 if (SDP_DISC_ATTR_TYPE(p_attr->attr_len_type) != DATA_ELE_SEQ_DESC_TYPE)
53 seq_len =SDP_DISC_ATTR_LEN(p_attr->attr_len_type);
56 for (p_sattr = p_attr->attr_value.v.p_sub_attr; p_sattr && (item_cnt < 4) ; p_sattr = p_sattr->p_next_attr)
587 tSDP_DISC_ATTR *p_attr, *p_sattr local
    [all...]
bta_hl_act.c 1690 tSDP_DISC_ATTR *p_attr; local
    [all...]
bta_hl_int.h 611 extern BOOLEAN bta_hl_fill_sup_feature_list( const tSDP_DISC_ATTR *p_attr,
    [all...]
  /external/bluetooth/bluedroid/bta/ag/
bta_ag_sdp.c 308 tSDP_DISC_ATTR *p_attr; local
366 if ((p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_SUPPORTED_FEATURES)) != NULL)
372 p_scb->peer_features = p_attr->attr_value.v.u16;
377 if ((p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_REMOTE_AUDIO_VOLUME_CONTROL)) != NULL)
380 if (p_attr->attr_value.v.u8)
  /external/bluetooth/bluedroid/bta/av/
bta_av_act.c 1619 tSDP_DISC_ATTR *p_attr; local
    [all...]

Completed in 444 milliseconds