Home
last modified time | relevance | path

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

/system/bt/stack/a2dp/
Da2d_api.c176 tSDP_PROTOCOL_ELEM proto_list [A2D_NUM_PROTO_ELEMS]; in A2D_AddRecord() local
187 memset((void*) proto_list, 0 , A2D_NUM_PROTO_ELEMS*sizeof(tSDP_PROTOCOL_ELEM)); in A2D_AddRecord()
190 proto_list[0].protocol_uuid = UUID_PROTOCOL_L2CAP; in A2D_AddRecord()
191 proto_list[0].num_params = 1; in A2D_AddRecord()
192 proto_list[0].params[0] = AVDT_PSM; in A2D_AddRecord()
193 proto_list[1].protocol_uuid = UUID_PROTOCOL_AVDTP; in A2D_AddRecord()
194 proto_list[1].num_params = 1; in A2D_AddRecord()
195 proto_list[1].params[0] = a2d_cb.avdt_sdp_ver; in A2D_AddRecord()
197 result &= SDP_AddProtocolList(sdp_handle, A2D_NUM_PROTO_ELEMS, proto_list); in A2D_AddRecord()
/system/bt/btif/src/
Dbtif_sock_sdp.c117 tSDP_PROTOCOL_ELEM proto_list[SDP_MAX_LIST_ELEMS]; in create_base_record() local
120 memset(proto_list, 0, num_proto_elements * sizeof(tSDP_PROTOCOL_ELEM)); in create_base_record()
122 proto_list[0].protocol_uuid = UUID_PROTOCOL_L2CAP; in create_base_record()
123 proto_list[0].num_params = 0; in create_base_record()
124 proto_list[1].protocol_uuid = UUID_PROTOCOL_RFCOMM; in create_base_record()
125 proto_list[1].num_params = 1; in create_base_record()
126 proto_list[1].params[0] = channel; in create_base_record()
129 proto_list[2].protocol_uuid = UUID_PROTOCOL_OBEX; in create_base_record()
130 proto_list[2].num_params = 0; in create_base_record()
134 if (!SDP_AddProtocolList(sdp_handle, num_proto_elements, proto_list)) in create_base_record()