Searched refs:p_elem (Results 1 – 6 of 6) sorted by relevance
/system/bt/stack/sdp/ |
D | sdp_api.c | 724 tSDP_PROTOCOL_ELEM *p_elem) in sdp_fill_proto_elem() argument 746 p_elem->protocol_uuid = layer_uuid; in sdp_fill_proto_elem() 747 p_elem->num_params = 0; in sdp_fill_proto_elem() 756 p_elem->params[p_elem->num_params++] = p_sattr->attr_value.v.u16; in sdp_fill_proto_elem() 758 p_elem->params[p_elem->num_params++] = p_sattr->attr_value.v.u8; in sdp_fill_proto_elem() 760 if (p_elem->num_params >= SDP_MAX_PROTOCOL_PARAMS) in sdp_fill_proto_elem() 783 …SDP_FindProtocolListElemInRec (tSDP_DISC_REC *p_rec, UINT16 layer_uuid, tSDP_PROTOCOL_ELEM *p_elem) in SDP_FindProtocolListElemInRec() argument 795 return sdp_fill_proto_elem(p_attr, layer_uuid, p_elem); in SDP_FindProtocolListElemInRec() 816 …DP_FindAddProtoListsElemInRec (tSDP_DISC_REC *p_rec, UINT16 layer_uuid, tSDP_PROTOCOL_ELEM *p_elem) in SDP_FindAddProtoListsElemInRec() argument 834 if ( (ret = sdp_fill_proto_elem(p_sattr, layer_uuid, p_elem)) == TRUE) in SDP_FindAddProtoListsElemInRec()
|
/system/bt/stack/gatt/ |
D | gatt_utils.c | 306 tGATT_HDL_LIST_ELEM * p_elem= &p_cb->hdl_list[0]; in gatt_alloc_hdl_buffer() local 308 for (i = 0; i < GATT_MAX_SR_PROFILES; i++, p_elem++) in gatt_alloc_hdl_buffer() 312 memset(p_elem, 0, sizeof(tGATT_HDL_LIST_ELEM)); in gatt_alloc_hdl_buffer() 313 p_elem->in_use = TRUE; in gatt_alloc_hdl_buffer() 314 p_elem->svc_db.svc_buffer = fixed_queue_new(SIZE_MAX); in gatt_alloc_hdl_buffer() 315 return p_elem; in gatt_alloc_hdl_buffer() 411 tGATT_HDL_LIST_ELEM *p_elem = &gatt_cb.hdl_list[0]; in gatt_free_srvc_db_buffer_app_id() local 414 for (i = 0; i < GATT_MAX_SR_PROFILES; i ++, p_elem ++) in gatt_free_srvc_db_buffer_app_id() 416 if (memcmp(p_app_id, &p_elem->asgn_range.app_uuid128, sizeof(tBT_UUID)) == 0) in gatt_free_srvc_db_buffer_app_id() 418 while (!fixed_queue_is_empty(p_elem->svc_db.svc_buffer)) in gatt_free_srvc_db_buffer_app_id() [all …]
|
/system/bt/btif/src/ |
D | btif_gatt_multi_adv_util.c | 341 tBTA_BLE_PROP_ELEM *p_elem = &p_prop->elem[0]; in btif_gattc_copy_datacb() local 342 p_elem->adv_type = BTM_BLE_AD_TYPE_SERVICE_DATA; in btif_gattc_copy_datacb() 343 p_elem->len = p_adv_data->service_data_len; in btif_gattc_copy_datacb() 344 memcpy(p_elem->val, p_adv_data->p_service_data, in btif_gattc_copy_datacb()
|
/system/bt/stack/include/ |
D | sdp_api.h | 369 tSDP_PROTOCOL_ELEM *p_elem); 385 tSDP_PROTOCOL_ELEM *p_elem);
|
/system/bt/stack/btm/ |
D | btm_ble_gap.c | 1364 tBTM_BLE_PROP_ELEM *p_elem; in btm_ble_build_adv_data() local 1595 p_elem = &p_data->proprietary.elem[i]; in btm_ble_build_adv_data() 1597 … if (len >= (MIN_ADV_LENGTH + p_elem->len))/* len byte(1) + ATTR type(1) + Uuid len(2) in btm_ble_build_adv_data() 1600 *p ++ = p_elem->len + 1; /* Uuid len + value length */ in btm_ble_build_adv_data() 1601 *p ++ = p_elem->adv_type; in btm_ble_build_adv_data() 1602 ARRAY_TO_STREAM(p, p_elem->val, p_elem->len); in btm_ble_build_adv_data() 1604 len -= (MIN_ADV_LENGTH + p_elem->len); in btm_ble_build_adv_data()
|
/system/bt/stack/avdt/ |
D | avdt_msg.c | 583 static UINT8 avdt_msg_prs_cfg(tAVDT_CFG *p_cfg, UINT8 *p, UINT16 len, UINT8* p_elem, UINT8 sig_id) in avdt_msg_prs_cfg() argument 764 *p_elem = elem; in avdt_msg_prs_cfg()
|