Home
last modified time | relevance | path

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

12

/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.h127 return UniquePtr<ObjectType>(memoryAlloc<ObjectType>( in MakeUnique()
140 auto ptr = UniquePtr<ObjectType>(memoryAlloc<ObjectType>()); in MakeUniqueZeroFill()
Ddynamic_vector_impl.h190 memoryAlloc(newCapacity * sizeof(ElementType))); in doReserve()
/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/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.cc40 void *memoryAlloc(size_t size) { in memoryAlloc() function
Dhost_link.cc831 auto *cbData = memoryAlloc<UnloadNanoappCallbackData>(); in handleUnloadNanoappRequest()
855 auto *cbData = memoryAlloc<DebugDumpCallbackData>(); in handleDebugDumpRequest()
/system/chre/util/
Dbuffer_base.cc46 mBuffer = memoryAlloc(copyBytes); in copy_array()
Ddynamic_vector_base.cc38 void *newData = memoryAlloc(newCapacity * elementSize); in doReserve()
/system/chre/platform/shared/
Dplatform_sensor_util.cc41 auto *callbackData = memoryAlloc<CallbackData>(); in updateLastEvent()
/system/chre/core/
Dwifi_request_manager.cc169 auto *cbState = memoryAlloc<CallbackState>(); in handleScanMonitorStateChange()
195 auto *cbState = memoryAlloc<CallbackState>(); in handleScanResponse()
372 chreAsyncResult *event = memoryAlloc<chreAsyncResult>(); in postScanMonitorAsyncResultEvent()
409 chreAsyncResult *event = memoryAlloc<chreAsyncResult>(); in postScanRequestAsyncResultEvent()
549 auto *event = memoryAlloc<struct chreAsyncResult>(); in postRangingAsyncResult()
Devent_loop_manager.cc39 char *debugStr = static_cast<char *>(memoryAlloc(kDebugStringSize)); in debugDump()
Dgnss_manager.cc90 auto *cbState = memoryAlloc<CallbackState>(); in handleStatusChange()
286 chreAsyncResult *event = memoryAlloc<chreAsyncResult>(); in postAsyncResultEvent()
Daudio_request_manager.cc97 auto *cbState = memoryAlloc<CallbackState>(); in handleAudioAvailability()
390 auto *event = memoryAlloc<struct chreAudioSourceStatusEvent>(); in postAudioSamplingChangeEvent()
Devent_loop.cc452 auto *info = memoryAlloc<chreNanoappInfo>(); in notifyAppStatusChange()
Dsensor_request_manager.cc454 auto *event = memoryAlloc<chreSensorFlushCompleteEvent>(); in postFlushCompleteEvent()
/system/chre/ash/platform/slpi/smgr/
Dash.cc37 using chre::memoryAlloc;
/system/chre/platform/slpi/smgr/
Dplatform_sensor.cc310 event = static_cast<ChreSensorData *>(memoryAlloc(*eventSize)); in allocateLastEvent()
481 static_cast<chreSensorThreeAxisData *>(memoryAlloc(memorySize)); in allocateAndPopulateEvent()
492 static_cast<chreSensorFloatData *>(memoryAlloc(memorySize)); in allocateAndPopulateEvent()
503 static_cast<chreSensorByteData *>(memoryAlloc(memorySize)); in allocateAndPopulateEvent()
514 static_cast<chreSensorOccurrenceData *>(memoryAlloc(memorySize)); in allocateAndPopulateEvent()
852 auto *event = memoryAlloc<struct chreSensorSamplingStatusEvent>(); in postSamplingStatusEvent()
/system/chre/platform/slpi/see/
Dplatform_sensor.cc230 auto *event = memoryAlloc<struct chreSensorSamplingStatusEvent>(); in postSamplingStatusEvent()
253 auto *event = memoryAlloc<struct chreSensorThreeAxisData>(); in postSensorBiasEvent()
439 event = static_cast<ChreSensorData *>(memoryAlloc(*eventSize)); in allocateLastEvent()
Dsee_helper.cc179 UniquePtr<pb_byte_t> buf(static_cast<pb_byte_t *>(memoryAlloc(*msgLen))); in encodeSnsStdAttrReq()
228 UniquePtr<pb_byte_t> buf(static_cast<pb_byte_t *>(memoryAlloc(*msgLen))); in encodeSnsSuidReq()
277 UniquePtr<pb_byte_t> buf(static_cast<pb_byte_t *>(memoryAlloc(*msgLen))); in encodeSnsResamplerConfig()
319 UniquePtr<pb_byte_t> buf(static_cast<pb_byte_t *>(memoryAlloc(*msgLen))); in encodeSnsStdSensorConfig()
1434 void *event = (memorySize == 0) ? nullptr : memoryAlloc(memorySize); in allocateEvent()
1490 mCalHelper = memoryAlloc<SeeCalHelper>(); in SeeHelper()
1785 auto *cbData = memoryAlloc<SeeRespCbData>(); in sendSeeReqSync()

12