Searched refs:proto_elem_list (Results 1 – 4 of 4) sorted by relevance
/system/bt/bta/hf_client/ |
D | bta_hf_client_sdp.c | 86 tSDP_PROTOCOL_ELEM proto_elem_list[BTA_HF_CLIENT_NUM_PROTO_ELEMS]; in bta_hf_client_add_record() local 97 memset( proto_elem_list, 0 , BTA_HF_CLIENT_NUM_PROTO_ELEMS*sizeof(tSDP_PROTOCOL_ELEM)); in bta_hf_client_add_record() 100 proto_elem_list[0].protocol_uuid = UUID_PROTOCOL_L2CAP; in bta_hf_client_add_record() 101 proto_elem_list[0].num_params = 0; in bta_hf_client_add_record() 102 proto_elem_list[1].protocol_uuid = UUID_PROTOCOL_RFCOMM; in bta_hf_client_add_record() 103 proto_elem_list[1].num_params = 1; in bta_hf_client_add_record() 104 proto_elem_list[1].params[0] = scn; in bta_hf_client_add_record() 105 result &= SDP_AddProtocolList(sdp_handle, BTA_HF_CLIENT_NUM_PROTO_ELEMS, proto_elem_list); in bta_hf_client_add_record()
|
/system/bt/bta/hl/ |
D | bta_hl_sdp.c | 174 tSDP_PROTOCOL_ELEM proto_elem_list[BTA_HL_NUM_PROTO_ELEMS]; in bta_hl_sdp_update() local 215 proto_elem_list[0].protocol_uuid = UUID_PROTOCOL_L2CAP; in bta_hl_sdp_update() 216 proto_elem_list[0].num_params = 1; in bta_hl_sdp_update() 217 proto_elem_list[0].params[0] = p_cb->ctrl_psm; in bta_hl_sdp_update() 218 proto_elem_list[1].protocol_uuid = UUID_PROTOCOL_MCAP_CTRL; in bta_hl_sdp_update() 219 proto_elem_list[1].num_params = 1; in bta_hl_sdp_update() 220 proto_elem_list[1].params[0] = version; in bta_hl_sdp_update() 221 result &= SDP_AddProtocolList(p_cb->sdp_handle, BTA_HL_NUM_PROTO_ELEMS, proto_elem_list); in bta_hl_sdp_update() 377 tSDP_PROTOCOL_ELEM proto_elem_list[BTA_HL_NUM_PROTO_ELEMS]; in bta_hl_sdp_register() local 426 proto_elem_list[0].protocol_uuid = UUID_PROTOCOL_L2CAP; in bta_hl_sdp_register() [all …]
|
/system/bt/bta/ag/ |
D | bta_ag_sdp.c | 131 tSDP_PROTOCOL_ELEM proto_elem_list[BTA_AG_NUM_PROTO_ELEMS]; in bta_ag_add_record() local 143 memset( proto_elem_list, 0 , BTA_AG_NUM_PROTO_ELEMS*sizeof(tSDP_PROTOCOL_ELEM)); in bta_ag_add_record() 146 proto_elem_list[0].protocol_uuid = UUID_PROTOCOL_L2CAP; in bta_ag_add_record() 147 proto_elem_list[0].num_params = 0; in bta_ag_add_record() 148 proto_elem_list[1].protocol_uuid = UUID_PROTOCOL_RFCOMM; in bta_ag_add_record() 149 proto_elem_list[1].num_params = 1; in bta_ag_add_record() 150 proto_elem_list[1].params[0] = scn; in bta_ag_add_record() 151 result &= SDP_AddProtocolList(sdp_handle, BTA_AG_NUM_PROTO_ELEMS, proto_elem_list); in bta_ag_add_record()
|
/system/bt/stack/gatt/ |
D | gatt_utils.c | 1529 tSDP_PROTOCOL_ELEM proto_elem_list[2]; in gatt_add_sdp_record() local 1568 proto_elem_list[0].protocol_uuid = UUID_PROTOCOL_L2CAP; in gatt_add_sdp_record() 1569 proto_elem_list[0].num_params = 1; in gatt_add_sdp_record() 1570 proto_elem_list[0].params[0] = BT_PSM_ATT; in gatt_add_sdp_record() 1571 proto_elem_list[1].protocol_uuid = UUID_PROTOCOL_ATT; in gatt_add_sdp_record() 1572 proto_elem_list[1].num_params = 2; in gatt_add_sdp_record() 1573 proto_elem_list[1].params[0] = start_hdl; in gatt_add_sdp_record() 1574 proto_elem_list[1].params[1] = end_hdl; in gatt_add_sdp_record() 1576 SDP_AddProtocolList(sdp_handle, 2, proto_elem_list); in gatt_add_sdp_record()
|