Home
last modified time | relevance | path

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

/system/chre/chpp/common/
Dwifi_convert.c104 size_t payloadSize, in chppWifiConvertScanEventFromChre() argument
116 payloadSize); in chppWifiConvertScanEventFromChre()
118 *vlaOffset + out->scannedFreqList.length <= payloadSize) { in chppWifiConvertScanEventFromChre()
130 CHPP_ASSERT((size_t)(*vlaOffset + out->results.length) <= payloadSize); in chppWifiConvertScanEventFromChre()
132 *vlaOffset + out->results.length <= payloadSize) { in chppWifiConvertScanEventFromChre()
152 uint8_t *payload, size_t payloadSize, uint16_t *vlaOffset) { in chppWifiConvertScanParamsFromChre() argument
157 CHPP_ASSERT((size_t)(*vlaOffset + out->frequencyList.length) <= payloadSize); in chppWifiConvertScanParamsFromChre()
159 *vlaOffset + out->frequencyList.length <= payloadSize) { in chppWifiConvertScanParamsFromChre()
172 CHPP_ASSERT((size_t)(*vlaOffset + out->ssidList.length) <= payloadSize); in chppWifiConvertScanParamsFromChre()
174 *vlaOffset + out->ssidList.length <= payloadSize) { in chppWifiConvertScanParamsFromChre()
[all …]
Dgnss_convert.c84 size_t payloadSize, in chppGnssConvertDataEventFromChre() argument
95 CHPP_ASSERT((size_t)(*vlaOffset + out->measurements.length) <= payloadSize); in chppGnssConvertDataEventFromChre()
97 *vlaOffset + out->measurements.length <= payloadSize) { in chppGnssConvertDataEventFromChre()
133 size_t payloadSize = chppGnssSizeOfDataEventFromChre(in); in chppGnssDataEventFromChre() local
134 *out = chppMalloc(payloadSize); in chppGnssDataEventFromChre()
138 chppGnssConvertDataEventFromChre(in, &(*out)->payload, payload, payloadSize, in chppGnssDataEventFromChre()
140 *outSize = payloadSize; in chppGnssDataEventFromChre()
152 size_t payloadSize = sizeof(struct ChppGnssLocationEventWithHeader); in chppGnssLocationEventFromChre() local
153 *out = chppMalloc(payloadSize); in chppGnssLocationEventFromChre()
156 *outSize = payloadSize; in chppGnssLocationEventFromChre()
Dwwan_convert.c259 uint8_t *payload, size_t payloadSize, uint16_t *vlaOffset) { in chppWwanConvertCellInfoResultFromChre() argument
269 CHPP_ASSERT((size_t)(*vlaOffset + out->cells.length) <= payloadSize); in chppWwanConvertCellInfoResultFromChre()
270 if (out->cells.length > 0 && *vlaOffset + out->cells.length <= payloadSize) { in chppWwanConvertCellInfoResultFromChre()
289 size_t payloadSize = chppWwanSizeOfCellInfoResultFromChre(in); in chppWwanCellInfoResultFromChre() local
290 *out = chppMalloc(payloadSize); in chppWwanCellInfoResultFromChre()
295 payloadSize, &vlaOffset); in chppWwanCellInfoResultFromChre()
296 *outSize = payloadSize; in chppWwanCellInfoResultFromChre()
/system/logging/liblog/
Dpmsg_writer.cpp75 size_t i, payloadSize; in PmsgWrite() local
135 for (payloadSize = 0, i = headerLength; i < nr + headerLength; i++) { in PmsgWrite()
137 payloadSize += newVec[i].iov_len = vec[i - headerLength].iov_len; in PmsgWrite()
139 if (payloadSize > LOGGER_ENTRY_MAX_PAYLOAD) { in PmsgWrite()
140 newVec[i].iov_len -= payloadSize - LOGGER_ENTRY_MAX_PAYLOAD; in PmsgWrite()
144 payloadSize = LOGGER_ENTRY_MAX_PAYLOAD; in PmsgWrite()
148 pmsgHeader.len += payloadSize; in PmsgWrite()
Dlogd_writer.cpp124 size_t i, payloadSize; in LogdWrite() local
172 for (payloadSize = 0, i = headerLength; i < nr + headerLength; i++) { in LogdWrite()
174 payloadSize += newVec[i].iov_len = vec[i - headerLength].iov_len; in LogdWrite()
176 if (payloadSize > LOGGER_ENTRY_MAX_PAYLOAD) { in LogdWrite()
177 newVec[i].iov_len -= payloadSize - LOGGER_ENTRY_MAX_PAYLOAD; in LogdWrite()
/system/core/libstats/push_compat/
Dstatsd_writer.c162 size_t i, payloadSize; in statsdWrite() local
226 for (payloadSize = 0, i = headerLength; i < nr + headerLength; i++) { in statsdWrite()
228 payloadSize += newVec[i].iov_len = vec[i - headerLength].iov_len; in statsdWrite()
230 if (payloadSize > LOGGER_ENTRY_MAX_PAYLOAD) { in statsdWrite()
231 newVec[i].iov_len -= payloadSize - LOGGER_ENTRY_MAX_PAYLOAD; in statsdWrite()