Home
last modified time | relevance | path

Searched refs:allocateSharedMemory (Results 1 – 6 of 6) sorted by relevance

/packages/modules/NeuralNetworks/common/
DSharedMemoryAndroid.cpp81 GeneralResult<SharedMemory> allocateSharedMemory(size_t size) { in allocateSharedMemory() function
146 GeneralResult<SharedMemory> allocateSharedMemory(size_t size) { in allocateSharedMemory() function
265 return allocateSharedMemory(size); in createSharedMemory()
DUtilsTest.cpp136 pool.hidlMemory(allocateSharedMemory(2 * sizeof(float))); in TEST()
178 pool.hidlMemory(allocateSharedMemory(sizeof(float) + sizeof(int32_t))); in TEST()
DMemoryUtils.cpp30 hidl_memory allocateSharedMemory(int64_t size) { in allocateSharedMemory() function
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/
DDriverFuzzTest.cpp158 pools.push_back(nn::allocateSharedMemory(constRefSize)); in createModel()
222 auto inputMemory = nn::allocateSharedMemory(inputSize); in createRequest()
225 auto outputMemory = nn::allocateSharedMemory(outputSize); in createRequest()
/packages/modules/NeuralNetworks/runtime/test/
DTestCompliance.cpp176 sharedMemoryPool.hidlMemory(allocateSharedMemory(1024)); in TEST_F()
198 sharedMemoryPool.hidlMemory(allocateSharedMemory(1024)); in TEST_F()
/packages/modules/NeuralNetworks/common/include/
DMemoryUtils.h28 hardware::hidl_memory allocateSharedMemory(int64_t size);