Lines Matching refs:bufferWrapper
281 auto bufferWrapper = ManagedBuffer::create(size, std::move(roles), std::move(operand)); in allocate() local
282 if (bufferWrapper == nullptr) { in allocate()
288 auto token = mBufferTracker->add(bufferWrapper); in allocate()
296 sp<SampleBuffer> sampleBuffer = new SampleBuffer(std::move(bufferWrapper), std::move(token)); in allocate()
337 const std::shared_ptr<ManagedBuffer>& bufferWrapper) { in copyFromInternal() argument
338 CHECK(bufferWrapper != nullptr); in copyFromInternal()
345 bufferWrapper->validateCopyFrom(dimensions, srcPool->getSize()); in copyFromInternal()
349 const auto dstPool = bufferWrapper->createRunTimePoolInfo(); in copyFromInternal()
391 auto bufferWrapper = driver.getBufferTracker()->get(pool.token()); in createRunTimePoolInfos() local
392 if (bufferWrapper == nullptr) { in createRunTimePoolInfos()
396 bufferWrapper->validateRequest(i, request, preparedModel); in createRunTimePoolInfos()
400 requestPoolInfos.push_back(bufferWrapper->createRunTimePoolInfo()); in createRunTimePoolInfos()
401 bufferWrappers.push_back(std::move(bufferWrapper)); in createRunTimePoolInfos()