Lines Matching refs:hidlMemory
276 RunTimePoolInfoImpl(const hidl_memory& hidlMemory, uint8_t* buffer, const sp<IMemory>& memory,
302 RunTimePoolInfo::RunTimePoolInfoImpl::RunTimePoolInfoImpl(const hidl_memory& hidlMemory, in RunTimePoolInfoImpl() argument
307 : mHidlMemory(hidlMemory), in RunTimePoolInfoImpl()
356 const hidl_memory& hidlMemory) { in createFromHidlMemory() argument
361 const auto& memType = hidlMemory.name(); in createFromHidlMemory()
363 memory = mapMemory(hidlMemory); in createFromHidlMemory()
374 size_t size = hidlMemory.size(); in createFromHidlMemory()
375 int fd = hidlMemory.handle()->data[0]; in createFromHidlMemory()
376 int prot = hidlMemory.handle()->data[1]; in createFromHidlMemory()
377 size_t offset = getSizeFromInts(hidlMemory.handle()->data[2], hidlMemory.handle()->data[3]); in createFromHidlMemory()
384 auto handle = hidlMemory.handle(); in createFromHidlMemory()
387 const uint32_t width = hidlMemory.size(); in createFromHidlMemory()
390 const uint32_t stride = hidlMemory.size(); in createFromHidlMemory()
420 hidlMemory, buffer, memory, hardwareBuffer, hidlMemory.size()); in createFromHidlMemory()
472 if (pool.getDiscriminator() != Request::MemoryPool::hidl_discriminator::hidlMemory) { in setRunTimePoolInfosFromMemoryPools()
478 RunTimePoolInfo::createFromHidlMemory(pool.hidlMemory())) { in setRunTimePoolInfosFromMemoryPools()