Home
last modified time | relevance | path

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

/system/chre/platform/include/chre/platform/
Dmemory.h28 void *memoryAlloc(size_t size);
40 T *memoryAlloc(Args&&... args);
Dmemory_impl.h26 T *memoryAlloc(Args&&... args) { in memoryAlloc() function
27 auto *storage = static_cast<T *>(memoryAlloc(sizeof(T))); in memoryAlloc()
/system/chre/platform/shared/
Dmemory.cc23 void *memoryAlloc(size_t size) { in memoryAlloc() function
Dpal_system_api.cc63 return memoryAlloc(size); in palSystemApiMemoryAlloc()
Dchre_api_re.cc56 return chre::memoryAlloc(bytes); in chreHeapAlloc()
/system/chre/pal/include/chre/pal/
Dsystem.h93 void *(*memoryAlloc)(size_t size); member
/system/chre/platform/slpi/
Dplatform_sensor.cc231 event = static_cast<ChreSensorData *>(memoryAlloc(*eventSize)); in allocateLastEvent()
401 static_cast<chreSensorThreeAxisData *>(memoryAlloc(memorySize)); in allocateAndPopulateEvent()
412 static_cast<chreSensorFloatData *>(memoryAlloc(memorySize)); in allocateAndPopulateEvent()
423 static_cast<chreSensorByteData *>(memoryAlloc(memorySize)); in allocateAndPopulateEvent()
434 static_cast<chreSensorOccurrenceData *>(memoryAlloc(memorySize)); in allocateAndPopulateEvent()
483 auto *callbackData = memoryAlloc<CallbackData>(); in updateLastEvent()
938 auto *sensorRequest = memoryAlloc<sns_smgr_buffering_req_msg_v01>(); in setRequest()
939 auto *sensorResponse = memoryAlloc<sns_smgr_buffering_resp_msg_v01>(); in setRequest()
Dhost_link.cc125 auto *builder = memoryAlloc<FlatBufferBuilder>( in constructNanoappListCallback()
176 auto *builder = memoryAlloc<FlatBufferBuilder>(kInitialBufferSize); in finishLoadingNanoappCallback()
Dplatform_nanoapp.cc111 mAppBinary = memoryAlloc(appBinaryLen); in loadFromBuffer()
/system/chre/core/
Dwifi_request_manager.cc97 auto *cbState = memoryAlloc<CallbackState>(); in handleScanMonitorStateChange()
123 auto *cbState = memoryAlloc<CallbackState>(); in handleScanResponse()
249 chreAsyncResult *event = memoryAlloc<chreAsyncResult>(); in postScanMonitorAsyncResultEvent()
282 chreAsyncResult *event = memoryAlloc<chreAsyncResult>(); in postScanRequestAsyncResultEvent()
/system/chre/util/include/chre/util/
Dunique_ptr_impl.h90 return UniquePtr<ObjectType>(memoryAlloc<ObjectType>( in MakeUnique()
Ddynamic_vector_impl.h144 memoryAlloc(newCapacity * sizeof(ElementType))); in reserve()
/system/chre/external/flatbuffers/include/flatbuffers/
Dflatbuffers.h523 return static_cast<uint8_t *>(chre::memoryAlloc(size));