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.cc92 tSDP_PROTOCOL_ELEM proto_elem_list[BTA_HF_CLIENT_NUM_PROTO_ELEMS]; in bta_hf_client_add_record() local
103 memset(proto_elem_list, 0, in bta_hf_client_add_record()
107 proto_elem_list[0].protocol_uuid = UUID_PROTOCOL_L2CAP; in bta_hf_client_add_record()
108 proto_elem_list[0].num_params = 0; in bta_hf_client_add_record()
109 proto_elem_list[1].protocol_uuid = UUID_PROTOCOL_RFCOMM; in bta_hf_client_add_record()
110 proto_elem_list[1].num_params = 1; in bta_hf_client_add_record()
111 proto_elem_list[1].params[0] = scn; in bta_hf_client_add_record()
113 proto_elem_list); in bta_hf_client_add_record()
/system/bt/bta/ag/
Dbta_ag_sdp.cc131 tSDP_PROTOCOL_ELEM proto_elem_list[BTA_AG_NUM_PROTO_ELEMS]; in bta_ag_add_record() local
143 for (auto& proto_element : proto_elem_list) { in bta_ag_add_record()
148 proto_elem_list[0].protocol_uuid = UUID_PROTOCOL_L2CAP; in bta_ag_add_record()
149 proto_elem_list[0].num_params = 0; in bta_ag_add_record()
150 proto_elem_list[1].protocol_uuid = UUID_PROTOCOL_RFCOMM; in bta_ag_add_record()
151 proto_elem_list[1].num_params = 1; in bta_ag_add_record()
152 proto_elem_list[1].params[0] = scn; in bta_ag_add_record()
154 SDP_AddProtocolList(sdp_handle, BTA_AG_NUM_PROTO_ELEMS, proto_elem_list); in bta_ag_add_record()
/system/bt/stack/gatt/
Dgatt_utils.cc800 tSDP_PROTOCOL_ELEM proto_elem_list[2]; in gatt_add_sdp_record() local
801 proto_elem_list[0].protocol_uuid = UUID_PROTOCOL_L2CAP; in gatt_add_sdp_record()
802 proto_elem_list[0].num_params = 1; in gatt_add_sdp_record()
803 proto_elem_list[0].params[0] = BT_PSM_ATT; in gatt_add_sdp_record()
804 proto_elem_list[1].protocol_uuid = UUID_PROTOCOL_ATT; in gatt_add_sdp_record()
805 proto_elem_list[1].num_params = 2; in gatt_add_sdp_record()
806 proto_elem_list[1].params[0] = start_hdl; in gatt_add_sdp_record()
807 proto_elem_list[1].params[1] = end_hdl; in gatt_add_sdp_record()
809 SDP_AddProtocolList(sdp_handle, 2, proto_elem_list); in gatt_add_sdp_record()