Home
last modified time | relevance | path

Searched refs:proto_elem_list (Results 1 – 3 of 3) sorted by relevance

/system/bt/bta/hf_client/
Dbta_hf_client_sdp.cc96 tSDP_PROTOCOL_ELEM proto_elem_list[BTA_HF_CLIENT_NUM_PROTO_ELEMS]; in bta_hf_client_add_record() local
107 memset(proto_elem_list, 0, in bta_hf_client_add_record()
111 proto_elem_list[0].protocol_uuid = UUID_PROTOCOL_L2CAP; in bta_hf_client_add_record()
112 proto_elem_list[0].num_params = 0; in bta_hf_client_add_record()
113 proto_elem_list[1].protocol_uuid = UUID_PROTOCOL_RFCOMM; in bta_hf_client_add_record()
114 proto_elem_list[1].num_params = 1; in bta_hf_client_add_record()
115 proto_elem_list[1].params[0] = scn; in bta_hf_client_add_record()
117 proto_elem_list); in bta_hf_client_add_record()
/system/bt/bta/ag/
Dbta_ag_sdp.cc128 tSDP_PROTOCOL_ELEM proto_elem_list[BTA_AG_NUM_PROTO_ELEMS]; in bta_ag_add_record() local
140 for (auto& proto_element : proto_elem_list) { in bta_ag_add_record()
145 proto_elem_list[0].protocol_uuid = UUID_PROTOCOL_L2CAP; in bta_ag_add_record()
146 proto_elem_list[0].num_params = 0; in bta_ag_add_record()
147 proto_elem_list[1].protocol_uuid = UUID_PROTOCOL_RFCOMM; in bta_ag_add_record()
148 proto_elem_list[1].num_params = 1; in bta_ag_add_record()
149 proto_elem_list[1].params[0] = scn; in bta_ag_add_record()
151 SDP_AddProtocolList(sdp_handle, BTA_AG_NUM_PROTO_ELEMS, proto_elem_list); in bta_ag_add_record()
/system/bt/stack/gatt/
Dgatt_utils.cc870 tSDP_PROTOCOL_ELEM proto_elem_list[2]; in gatt_add_sdp_record() local
871 proto_elem_list[0].protocol_uuid = UUID_PROTOCOL_L2CAP; in gatt_add_sdp_record()
872 proto_elem_list[0].num_params = 1; in gatt_add_sdp_record()
873 proto_elem_list[0].params[0] = BT_PSM_ATT; in gatt_add_sdp_record()
874 proto_elem_list[1].protocol_uuid = UUID_PROTOCOL_ATT; in gatt_add_sdp_record()
875 proto_elem_list[1].num_params = 2; in gatt_add_sdp_record()
876 proto_elem_list[1].params[0] = start_hdl; in gatt_add_sdp_record()
877 proto_elem_list[1].params[1] = end_hdl; in gatt_add_sdp_record()
879 SDP_AddProtocolList(sdp_handle, 2, proto_elem_list); in gatt_add_sdp_record()