Searched defs:payload_size (Results 1 - 4 of 4) sorted by relevance

/system/bt/stack/gatt/
H A Datt_protocol.c165 BT_HDR *attp_build_read_by_type_value_cmd (UINT16 payload_size, tGATT_FIND_TYPE_VALUE *p_value_type) argument
171 if ((p_buf = (BT_HDR *)GKI_getbuf((UINT16)(sizeof(BT_HDR) + payload_size + L2CAP_MIN_OFFSET))) != NULL)
184 if (p_value_type->value_len + p_buf->len > payload_size )
185 len = payload_size - p_buf->len;
202 BT_HDR *attp_build_read_multi_cmd(UINT16 payload_size, UINT16 num_handle, UINT16 *p_handle) argument
216 for (i = 0; i < num_handle && p_buf->len + 2 <= payload_size; i ++)
295 BT_HDR *attp_build_value_cmd (UINT16 payload_size, UINT8 op_code, UINT16 handle, argument
301 if ((p_buf = (BT_HDR *)GKI_getbuf((UINT16)(sizeof(BT_HDR) + payload_size + L2CAP_MIN_OFFSET))) != NULL)
331 if (payload_size - p_buf->len < len)
333 len = payload_size
[all...]
H A Dgatt_auth.c48 UINT16 payload_size = p_clcb->p_tcb->payload_size; local
65 if ((payload_size - GATT_AUTH_SIGN_LEN - 3) < p_attr->len)
66 p_attr->len = payload_size - GATT_AUTH_SIGN_LEN - 3;
H A Dgatt_int.h358 UINT16 payload_size; member in struct:__anon875
/system/core/liblog/
H A Dlogd_write.c159 size_t i, payload_size; local
232 for (payload_size = 0, i = header_length; i < nr + header_length; i++) {
234 payload_size += newVec[i].iov_len = vec[i - header_length].iov_len;
236 if (payload_size > LOGGER_ENTRY_MAX_PAYLOAD) {
237 newVec[i].iov_len -= payload_size - LOGGER_ENTRY_MAX_PAYLOAD;
241 payload_size = LOGGER_ENTRY_MAX_PAYLOAD;
245 pmsg_header.len += payload_size;

Completed in 86 milliseconds