Home
last modified time | relevance | path

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

/system/chre/chpp/common/
Dwifi_convert.c275 *out = chppMalloc(payloadSize); in chppWifiScanEventFromChre()
294 *out = chppMalloc(payloadSize); in chppWifiScanParamsFromChre()
313 *out = chppMalloc(payloadSize); in chppWifiRangingEventFromChre()
332 *out = chppMalloc(payloadSize); in chppWifiRangingParamsFromChre()
391 chppMalloc(in->scannedFreqListLen * sizeof(uint32_t)); in chppWifiConvertScanEventToChre()
416 chppMalloc(in->resultCount * sizeof(struct chreWifiScanResult)); in chppWifiConvertScanEventToChre()
458 chppMalloc(in->frequencyListLen * sizeof(uint32_t)); in chppWifiConvertScanParamsToChre()
484 chppMalloc(in->ssidListLen * sizeof(struct chreWifiSsidListItem)); in chppWifiConvertScanParamsToChre()
554 chppMalloc(in->resultCount * sizeof(struct chreWifiRangingResult)); in chppWifiConvertRangingEventToChre()
601 chppMalloc(in->targetListLen * sizeof(struct chreWifiRangingTarget)); in chppWifiConvertRangingParamsToChre()
[all …]
Dgnss_convert.c134 *out = chppMalloc(payloadSize); in chppGnssDataEventFromChre()
153 *out = chppMalloc(payloadSize); in chppGnssLocationEventFromChre()
226 chppMalloc(in->measurement_count * sizeof(struct chreGnssMeasurement)); in chppGnssConvertDataEventToChre()
268 out = chppMalloc(sizeof(struct chreGnssDataEvent)); in chppGnssDataEventToChre()
283 out = chppMalloc(sizeof(struct chreGnssLocationEvent)); in chppGnssLocationEventToChre()
Dwwan_convert.c290 *out = chppMalloc(payloadSize); in chppWwanCellInfoResultFromChre()
617 chppMalloc(in->cellInfoCount * sizeof(struct chreWwanCellInfo)); in chppWwanConvertCellInfoResultToChre()
640 out = chppMalloc(sizeof(struct chreWwanCellInfoResult)); in chppWwanCellInfoResultToChre()
/system/chre/chpp/include/chpp/
Dmemory.h29 void *chppMalloc(const size_t size);
/system/chre/chpp/services/
Dloopback.c35 uint8_t *response = chppMalloc(len); in chppDispatchLoopbackClientRequest()
Dgnss.c562 notification = chppMalloc(sizeof(struct ChppAppHeader)); in chppGnssServiceLocationEventCallback()
635 notification = chppMalloc(sizeof(struct ChppAppHeader)); in chppGnssServiceMeasurementEventCallback()
Dwifi.c589 notification = chppMalloc(sizeof(struct ChppAppHeader)); in chppWifiServiceScanEventCallback()
631 notification = chppMalloc(sizeof(struct ChppAppHeader)); in chppWifiServiceRangingEventCallback()
Dwwan.c383 response = chppMalloc(sizeof(struct ChppAppHeader)); in chppWwanServiceCellInfoResultCallback()
/system/chre/chpp/platform/
Dpal_api.c77 .memoryAlloc = chppMalloc, in chppPalSystemApiInit()
/system/chre/chpp/
Dservices.c123 struct ChppAppHeader *result = chppMalloc(len); in chppAllocServiceNotification()
138 struct ChppAppHeader *result = chppMalloc(len); in chppAllocServiceResponse()
Dclients.c287 struct ChppAppHeader *result = chppMalloc(len); in chppAllocClientRequest()
578 chppMalloc(sizeof(struct ChppAppHeader)); in chppClientCloseOpenRequests()
Dtransport.c209 tempPayload = chppMalloc(context->rxHeader.length); in chppConsumeHeader()
1315 response = chppMalloc(sizeof(struct ChppAppHeader)); in chppTransportGetClientRequestTimeoutResponse()
1656 } else if ((context->transportLoopbackData.payload = chppMalloc(len)) == in chppRunTransportLoopback()
1719 chppMalloc(sizeof(struct ChppTransportConfiguration)); in chppTransportSendReset()
/system/chre/chpp/platform/linux/
Dmemory.c36 void *chppMalloc(const size_t size) { in chppMalloc() function
/system/chre/chpp/clients/
Dtimesync.c57 chppMalloc(sizeof(struct ChppTimesyncClientState)); in chppTimesyncClientInit()
Dloopback.c60 chppMalloc(sizeof(struct ChppLoopbackClientState)); in chppLoopbackClientInit()
Ddiscovery.c322 struct ChppAppHeader *request = chppMalloc(sizeof(struct ChppAppHeader)); in chppInitiateDiscovery()
Dwwan.c367 chre = chppMalloc(sizeof(struct chreWwanCellInfoResult)); in chppWwanGetCellInfoAsyncResult()
/system/chre/chpp/test/
Dtransport_test.cpp633 uint8_t *mBuf = (uint8_t *)chppMalloc(i + 100); in TEST_P()
647 uint8_t *mBuf = (uint8_t *)chppMalloc(100); in TEST_P()
1027 uint8_t *buf = (uint8_t *)chppMalloc(100); in TEST_F()
1102 uint8_t *buf = (uint8_t *)chppMalloc(100); in messageToInvalidHandle()