Lines Matching refs:hidlMemory
274 RunTimePoolInfoImpl(const hidl_memory& hidlMemory, uint8_t* buffer, const sp<IMemory>& memory,
300 RunTimePoolInfo::RunTimePoolInfoImpl::RunTimePoolInfoImpl(const hidl_memory& hidlMemory, in RunTimePoolInfoImpl() argument
305 : mHidlMemory(hidlMemory), in RunTimePoolInfoImpl()
354 const hidl_memory& hidlMemory) { in createFromHidlMemory() argument
359 const auto& memType = hidlMemory.name(); in createFromHidlMemory()
361 memory = mapMemory(hidlMemory); in createFromHidlMemory()
372 size_t size = hidlMemory.size(); in createFromHidlMemory()
373 int fd = hidlMemory.handle()->data[0]; in createFromHidlMemory()
374 int prot = hidlMemory.handle()->data[1]; in createFromHidlMemory()
375 size_t offset = getSizeFromInts(hidlMemory.handle()->data[2], hidlMemory.handle()->data[3]); in createFromHidlMemory()
382 auto handle = hidlMemory.handle(); in createFromHidlMemory()
385 const uint32_t width = hidlMemory.size(); in createFromHidlMemory()
388 const uint32_t stride = hidlMemory.size(); in createFromHidlMemory()
418 hidlMemory, buffer, memory, hardwareBuffer, hidlMemory.size()); in createFromHidlMemory()
470 if (pool.getDiscriminator() != Request::MemoryPool::hidl_discriminator::hidlMemory) { in setRunTimePoolInfosFromMemoryPools()
476 RunTimePoolInfo::createFromHidlMemory(pool.hidlMemory())) { in setRunTimePoolInfosFromMemoryPools()