Lines Matching refs:hidlMemory
209 pool.hidlMemory(kHidlMemory); in getMemoryPool()
272 const hidl_memory& hidlMemory = memory->getHidlMemory(); in copyIBuffers() local
273 if (!hidlMemory.valid()) return ANEURALNETWORKS_OUT_OF_MEMORY; in copyIBuffers()
274 NN_RETURN_IF_ERROR(copyIBufferToHidlMemory(src, hidlMemory)); in copyIBuffers()
275 NN_RETURN_IF_ERROR(copyHidlMemoryToIBuffer(hidlMemory, dst, srcMetadata.dimensions)); in copyIBuffers()
524 hidl_memory hidlMemory = allocateSharedMemory(size); in create() local
525 sp<IMemory> mapped = mapMemory(hidlMemory); in create()
531 std::make_unique<MemoryAshmem>(std::move(mapped), std::move(hidlMemory))}; in create()
578 hidl_memory hidlMemory = hidl_memory("mmap_fd", std::move(hidlHandle), size); in create() local
580 return {ANEURALNETWORKS_NO_ERROR, std::make_unique<MemoryFd>(std::move(hidlMemory))}; in create()
589 hidl_memory hidlMemory; in create() local
592 hidlMemory = hidl_memory("hardware_buffer_blob", handle, bufferDesc.width); in create()
596 hidlMemory = hidl_memory("hardware_buffer", handle, 0); in create()
599 auto memory = std::make_unique<MemoryAHWB>(std::move(hidlMemory), std::move(validator)); in create()
635 hidl_memory hidlMemory = hidl_memory("hardware_buffer_blob", handle, desc.width); in create() local
636 auto memory = std::make_unique<MemoryRuntimeAHWB>(std::move(hidlMemory), ahwb, in create()