Searched refs:proto_list (Results 1 – 3 of 3) sorted by relevance
/system/bt/stack/a2dp/ |
D | a2dp_api.cc | 180 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/ |
D | btif_sock_sdp.cc | 106 tSDP_PROTOCOL_ELEM proto_list[SDP_MAX_LIST_ELEMS]; in create_base_record() local 109 memset(proto_list, 0, num_proto_elements * sizeof(tSDP_PROTOCOL_ELEM)); in create_base_record() 111 proto_list[0].protocol_uuid = UUID_PROTOCOL_L2CAP; in create_base_record() 112 proto_list[0].num_params = 0; in create_base_record() 113 proto_list[1].protocol_uuid = UUID_PROTOCOL_RFCOMM; in create_base_record() 114 proto_list[1].num_params = 1; in create_base_record() 115 proto_list[1].params[0] = channel; in create_base_record() 118 proto_list[2].protocol_uuid = UUID_PROTOCOL_OBEX; in create_base_record() 119 proto_list[2].num_params = 0; in create_base_record() 126 if (!SDP_AddProtocolList(sdp_handle, num_proto_elements, proto_list)) in create_base_record()
|
/system/bt/stack/hid/ |
D | hidd_api.cc | 196 tSDP_PROTOCOL_ELEM proto_list[2]; in HID_DevAddRecord() local 198 proto_list[0].protocol_uuid = UUID_PROTOCOL_L2CAP; in HID_DevAddRecord() 199 proto_list[0].num_params = 1; in HID_DevAddRecord() 200 proto_list[0].params[0] = BT_PSM_HIDC; in HID_DevAddRecord() 202 proto_list[1].protocol_uuid = UUID_PROTOCOL_HIDP; in HID_DevAddRecord() 203 proto_list[1].num_params = 0; in HID_DevAddRecord() 205 result &= SDP_AddProtocolList(handle, 2, proto_list); in HID_DevAddRecord()
|