Home
last modified time | relevance | path

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

/system/chre/chpp/common/
Dwifi_convert.c105 uint16_t *vlaOffset) { in chppWifiConvertScanEventFromChre() argument
115 CHPP_ASSERT((size_t)(*vlaOffset + out->scannedFreqList.length) <= in chppWifiConvertScanEventFromChre()
118 *vlaOffset + out->scannedFreqList.length <= payloadSize) { in chppWifiConvertScanEventFromChre()
119 memcpy(&payload[*vlaOffset], in->scannedFreqList, in chppWifiConvertScanEventFromChre()
121 out->scannedFreqList.offset = *vlaOffset; in chppWifiConvertScanEventFromChre()
122 *vlaOffset += out->scannedFreqList.length; in chppWifiConvertScanEventFromChre()
128 (struct ChppWifiScanResult *)&payload[*vlaOffset]; in chppWifiConvertScanEventFromChre()
130 CHPP_ASSERT((size_t)(*vlaOffset + out->results.length) <= payloadSize); in chppWifiConvertScanEventFromChre()
132 *vlaOffset + out->results.length <= payloadSize) { in chppWifiConvertScanEventFromChre()
136 out->results.offset = *vlaOffset; in chppWifiConvertScanEventFromChre()
[all …]
Dgnss_convert.c85 uint16_t *vlaOffset) { in chppGnssConvertDataEventFromChre() argument
92 (struct ChppGnssMeasurement *)&payload[*vlaOffset]; in chppGnssConvertDataEventFromChre()
95 CHPP_ASSERT((size_t)(*vlaOffset + out->measurements.length) <= payloadSize); in chppGnssConvertDataEventFromChre()
97 *vlaOffset + out->measurements.length <= payloadSize) { in chppGnssConvertDataEventFromChre()
102 out->measurements.offset = *vlaOffset; in chppGnssConvertDataEventFromChre()
103 *vlaOffset += out->measurements.length; in chppGnssConvertDataEventFromChre()
137 uint16_t vlaOffset = sizeof(struct ChppGnssDataEvent); in chppGnssDataEventFromChre() local
139 &vlaOffset); in chppGnssDataEventFromChre()
Dwwan_convert.c259 uint8_t *payload, size_t payloadSize, uint16_t *vlaOffset) { in chppWwanConvertCellInfoResultFromChre() argument
267 (struct ChppWwanCellInfo *)&payload[*vlaOffset]; in chppWwanConvertCellInfoResultFromChre()
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()
274 out->cells.offset = *vlaOffset; in chppWwanConvertCellInfoResultFromChre()
275 *vlaOffset += out->cells.length; in chppWwanConvertCellInfoResultFromChre()
293 uint16_t vlaOffset = sizeof(struct ChppWwanCellInfoResult); in chppWwanCellInfoResultFromChre() local
295 payloadSize, &vlaOffset); in chppWwanCellInfoResultFromChre()