Home
last modified time | relevance | path

Searched refs:memoryAlloc (Results 1 – 25 of 29) sorted by relevance

12

/system/chre/chpp/platform/linux/services/
Dplatform_wwan.c43 gSystemApi->memoryAlloc(sizeof(struct chreWwanCellInfoResult)); in wwanPalRequestCellInfo()
49 result->cells = gSystemApi->memoryAlloc(result->cellInfoCount * in wwanPalRequestCellInfo()
/system/chre/platform/include/chre/platform/
Dmemory.h28 void *memoryAlloc(size_t size);
/system/chre/util/include/chre/util/
Dcontainer_support.h41 inline void *memoryAlloc(size_t size) { in memoryAlloc() function
Dmemory.h60 T *memoryAlloc(Args &&... args);
Dmemory_impl.h113 inline T *memoryAlloc(Args &&... args) { in memoryAlloc() function
114 auto *storage = static_cast<T *>(memoryAlloc(sizeof(T))); in memoryAlloc()
Dunique_ptr_impl.h128 memoryAlloc<ObjectType>(std::forward<Args>(args)...)); in MakeUnique()
140 auto ptr = UniquePtr<ObjectType>(memoryAlloc<ObjectType>()); in MakeUniqueZeroFill()
/system/chre/platform/linux/
Dmemory_manager.cc24 return chre::memoryAlloc(bytes); in doAlloc()
Dmemory.cc23 void *memoryAlloc(size_t size) { in memoryAlloc() function
/system/chre/platform/freertos/
Dmemory.cc24 void *memoryAlloc(size_t size) { in memoryAlloc() function
Dmemory_manager.cc25 return chre::memoryAlloc(bytes); in doAlloc()
/system/chre/pal/include/chre/pal/
Dsystem.h93 void *(*memoryAlloc)(size_t size); member
/system/chre/platform/slpi/
Dmemory_manager.cc26 return chre::memoryAlloc(bytes); in doAlloc()
Dmemory.cc37 void *memoryAlloc(size_t size) { in memoryAlloc() function
/system/chre/chpp/platform/
Dpal_api.c77 .memoryAlloc = chppMalloc, in chppPalSystemApiInit()
/system/chre/util/
Dbuffer_base.cc46 mBuffer = memoryAlloc(copyBytes); in copy_array()
Ddynamic_vector_base.cc36 void *newData = memoryAlloc(newCapacity * elementSize); in doReserve()
/system/chre/util/include/chre/util/flatbuffers/
Dhelpers.h32 return static_cast<uint8_t *>(memoryAlloc(size)); in allocate()
/system/chre/platform/slpi/qsh/
Dqsh_shim.cc83 eventCopy = memoryAlloc(eventLen); in postEventFromQsh()
/system/chre/util/system/
Ddebug_dump.cc59 mCurrBuff = static_cast<char *>(memoryAlloc(kBuffSize)); in allocNewBuffer()
/system/chre/core/
Dsensor.cc61 mLastEvent = static_cast<ChreSensorData *>(memoryAlloc(lastEventSize)); in init()
Dsettings.cc76 auto *eventData = memoryAlloc<struct chreUserSettingChangedEvent>(); in sendSettingChangedNotification()
Dwifi_request_manager.cc373 chreAsyncResult *event = memoryAlloc<chreAsyncResult>(); in postScanMonitorAsyncResultEvent()
409 chreAsyncResult *event = memoryAlloc<chreAsyncResult>(); in postScanRequestAsyncResultEvent()
551 auto *event = memoryAlloc<struct chreAsyncResult>(); in postRangingAsyncResult()
Dsensor_request_manager.cc94 auto *event = memoryAlloc<struct chreSensorSamplingStatusEvent>(); in postSamplingStatusEvent()
593 auto *event = memoryAlloc<chreSensorFlushCompleteEvent>(); in postFlushCompleteEvent()
/system/chre/platform/slpi/see/
Dsee_helper.cc181 UniquePtr<pb_byte_t> buf(static_cast<pb_byte_t *>(memoryAlloc(*msgLen))); in encodeSnsStdAttrReq()
230 UniquePtr<pb_byte_t> buf(static_cast<pb_byte_t *>(memoryAlloc(*msgLen))); in encodeSnsSuidReq()
279 UniquePtr<pb_byte_t> buf(static_cast<pb_byte_t *>(memoryAlloc(*msgLen))); in encodeSnsResamplerConfig()
321 UniquePtr<pb_byte_t> buf(static_cast<pb_byte_t *>(memoryAlloc(*msgLen))); in encodeSnsStdSensorConfig()
1461 void *event = (memorySize == 0) ? nullptr : memoryAlloc(memorySize); in allocateEvent()
1515 mCalHelper = memoryAlloc<SeeCalHelper>(); in SeeHelper()
1817 auto *cbData = memoryAlloc<SeeRespCbData>(); in sendSeeReqSync()
Dplatform_sensor_manager.cc271 auto *event = memoryAlloc<struct chreSensorThreeAxisData>(); in postSensorBiasEvent()
565 memoryAlloc<struct chreSensorSamplingStatus>(); in findAndAddSensorsForType()

12