Home
last modified time | relevance | path

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

/system/bt/stack/a2dp/
Da2dp_api.cc180 tSDP_PROTOCOL_ELEM proto_list[A2DP_NUM_PROTO_ELEMS]; in A2DP_AddRecord() local
191 memset((void*)proto_list, 0, in A2DP_AddRecord()
195 proto_list[0].protocol_uuid = UUID_PROTOCOL_L2CAP; in A2DP_AddRecord()
196 proto_list[0].num_params = 1; in A2DP_AddRecord()
197 proto_list[0].params[0] = AVDT_PSM; in A2DP_AddRecord()
198 proto_list[1].protocol_uuid = UUID_PROTOCOL_AVDTP; in A2DP_AddRecord()
199 proto_list[1].num_params = 1; in A2DP_AddRecord()
200 proto_list[1].params[0] = a2dp_cb.avdt_sdp_ver; in A2DP_AddRecord()
202 result &= SDP_AddProtocolList(sdp_handle, A2DP_NUM_PROTO_ELEMS, proto_list); in A2DP_AddRecord()
/system/bt/btif/src/
Dbtif_sock_sdp.cc93 tSDP_PROTOCOL_ELEM proto_list[SDP_MAX_LIST_ELEMS]; in create_base_record() local
96 memset(proto_list, 0, num_proto_elements * sizeof(tSDP_PROTOCOL_ELEM)); in create_base_record()
98 proto_list[0].protocol_uuid = UUID_PROTOCOL_L2CAP; in create_base_record()
99 proto_list[0].num_params = 0; in create_base_record()
100 proto_list[1].protocol_uuid = UUID_PROTOCOL_RFCOMM; in create_base_record()
101 proto_list[1].num_params = 1; in create_base_record()
102 proto_list[1].params[0] = channel; in create_base_record()
105 proto_list[2].protocol_uuid = UUID_PROTOCOL_OBEX; in create_base_record()
106 proto_list[2].num_params = 0; in create_base_record()
113 if (!SDP_AddProtocolList(sdp_handle, num_proto_elements, proto_list)) in create_base_record()
/system/bt/stack/hid/
Dhidd_api.cc153 tSDP_PROTOCOL_ELEM proto_list[2]; in HID_DevAddRecord() local
155 proto_list[0].protocol_uuid = UUID_PROTOCOL_L2CAP; in HID_DevAddRecord()
156 proto_list[0].num_params = 1; in HID_DevAddRecord()
157 proto_list[0].params[0] = BT_PSM_HIDC; in HID_DevAddRecord()
159 proto_list[1].protocol_uuid = UUID_PROTOCOL_HIDP; in HID_DevAddRecord()
160 proto_list[1].num_params = 0; in HID_DevAddRecord()
162 result &= SDP_AddProtocolList(handle, 2, proto_list); in HID_DevAddRecord()