Home
last modified time | relevance | path

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

/system/bt/stack/sdp/
Dsdp_server.cc312 uint16_t max_list_len, len_to_send, cont_offset; in process_service_attr_req() local
323 if (p_req + sizeof(rec_handle) + sizeof(max_list_len) > p_req_end) { in process_service_attr_req()
335 BE_STREAM_TO_UINT16(max_list_len, p_req); in process_service_attr_req()
336 param_len -= sizeof(max_list_len); in process_service_attr_req()
338 if (max_list_len > (p_ccb->rem_mtu_size - SDP_MAX_ATTR_RSPHDR_LEN)) in process_service_attr_req()
339 max_list_len = p_ccb->rem_mtu_size - SDP_MAX_ATTR_RSPHDR_LEN; in process_service_attr_req()
360 if (max_list_len < 4) { in process_service_attr_req()
368 p_ccb->rsp_list = (uint8_t*)osi_malloc(max_list_len); in process_service_attr_req()
408 rem_len = max_list_len - (int16_t)(p_rsp - &p_ccb->rsp_list[0]); in process_service_attr_req()
440 max_list_len, attr_len); in process_service_attr_req()
[all …]