Home
last modified time | relevance | path

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

/system/bt/stack/avrc/
Davrc_pars_ct.cc144 uint16_t min_len = 1; in avrc_parse_notification_rsp() local
146 if (len < min_len) goto length_error; in avrc_parse_notification_rsp()
150 min_len += 1; in avrc_parse_notification_rsp()
151 if (len < min_len) goto length_error; in avrc_parse_notification_rsp()
156 min_len += 8; in avrc_parse_notification_rsp()
157 if (len < min_len) goto length_error; in avrc_parse_notification_rsp()
162 min_len += 1; in avrc_parse_notification_rsp()
163 if (len < min_len) goto length_error; in avrc_parse_notification_rsp()
169 min_len += p_rsp->param.player_setting.num_attr * 2; in avrc_parse_notification_rsp()
170 if (len < min_len) goto length_error; in avrc_parse_notification_rsp()
[all …]
Davrc_pars_tg.cc418 uint16_t min_len = 3; in avrc_pars_browsing_cmd() local
419 RETURN_STATUS_IF_FALSE(AVRC_STS_BAD_CMD, (p_msg->browse_len >= min_len), in avrc_pars_browsing_cmd()
429 min_len += 2; in avrc_pars_browsing_cmd()
430 RETURN_STATUS_IF_FALSE(AVRC_STS_BAD_CMD, (p_msg->browse_len >= min_len), in avrc_pars_browsing_cmd()
439 min_len += 10; in avrc_pars_browsing_cmd()
440 RETURN_STATUS_IF_FALSE(AVRC_STS_BAD_CMD, (p_msg->browse_len >= min_len), in avrc_pars_browsing_cmd()
463 min_len += 4; in avrc_pars_browsing_cmd()
465 (p_msg->browse_len >= min_len), in avrc_pars_browsing_cmd()
474 min_len += 11; in avrc_pars_browsing_cmd()
475 RETURN_STATUS_IF_FALSE(AVRC_STS_BAD_CMD, (p_msg->browse_len >= min_len), in avrc_pars_browsing_cmd()
[all …]
/system/bt/stack/avdt/
Davdt_scb_act.cc311 uint16_t min_len = 0; in avdt_scb_hdl_report() local
318 min_len += 8; in avdt_scb_hdl_report()
319 if (min_len > len) { in avdt_scb_hdl_report()
323 len, min_len); in avdt_scb_hdl_report()
333 min_len += 20; in avdt_scb_hdl_report()
334 if (min_len > len) { in avdt_scb_hdl_report()
338 __func__, len, min_len); in avdt_scb_hdl_report()
349 min_len += 20; in avdt_scb_hdl_report()
350 if (min_len > len) { in avdt_scb_hdl_report()
354 __func__, len, min_len); in avdt_scb_hdl_report()
[all …]
/system/bt/stack/include/
Dhcimsgs.h774 uint16_t conn_latency, uint16_t conn_timeout, uint16_t min_len,
/system/connectivity/wificond/net/kernel-header-latest/
Dnl80211.h4327 __u32 min_len, max_len, bufsize; member