Searched refs:bufferWrapper (Results 1 – 6 of 6) sorted by relevance
193 auto bufferWrapper = in allocate() local195 if (bufferWrapper == nullptr) { in allocate()201 auto token = mBufferTracker->add(bufferWrapper); in allocate()210 ndk::SharedRefBase::make<SampleBuffer>(std::move(bufferWrapper), std::move(token)); in allocate()259 const std::shared_ptr<AidlManagedBuffer>& bufferWrapper) { in copyFromInternal() argument260 CHECK(bufferWrapper != nullptr); in copyFromInternal()270 const auto validationStatus = aidl_hal::utils::convert(bufferWrapper->validateCopyFrom( in copyFromInternal()276 const auto dstPool = bufferWrapper->createRunTimePoolInfo(); in copyFromInternal()325 auto bufferWrapper = driver.getBufferTracker()->get(static_cast<uint32_t>(*token)); in createRunTimePoolInfos() local326 if (bufferWrapper == nullptr) { in createRunTimePoolInfos()[all …]
40 const std::shared_ptr<ManagedBuffer>& bufferWrapper) { in copyFromInternal() argument41 CHECK(bufferWrapper != nullptr); in copyFromInternal()48 bufferWrapper->validateCopyFrom(dimensions, srcPool->getSize()); in copyFromInternal()52 const auto dstPool = bufferWrapper->createRunTimePoolInfo(); in copyFromInternal()
288 auto bufferWrapper = in allocate() local290 if (bufferWrapper == nullptr) { in allocate()296 auto token = mHalBufferTracker->add(bufferWrapper); in allocate()304 sp<SampleBuffer> sampleBuffer = new SampleBuffer(std::move(bufferWrapper), std::move(token)); in allocate()347 const std::shared_ptr<HalManagedBuffer>& bufferWrapper) { in copyFromInternal() argument348 CHECK(bufferWrapper != nullptr); in copyFromInternal()355 convertToV1_3(bufferWrapper->validateCopyFrom(dimensions, srcPool->getSize())); in copyFromInternal()359 const auto dstPool = bufferWrapper->createRunTimePoolInfo(); in copyFromInternal()402 auto bufferWrapper = driver.getHalBufferTracker()->get(pool.token()); in createRunTimePoolInfos() local403 if (bufferWrapper == nullptr) { in createRunTimePoolInfos()[all …]
56 auto bufferWrapper = bufferTracker.get(*maybeToken); in createRunTimePoolInfos() local57 if (bufferWrapper == nullptr) { in createRunTimePoolInfos()61 bufferWrapper->validateRequest(i, request, &preparedModel); in createRunTimePoolInfos()65 requestPoolInfos.push_back(bufferWrapper->createRunTimePoolInfo()); in createRunTimePoolInfos()66 bufferWrappers.push_back(std::move(bufferWrapper)); in createRunTimePoolInfos()
241 auto bufferWrapper = ManagedBuffer::create(size, std::move(roles), operand); in allocate() local242 if (bufferWrapper == nullptr) { in allocate()247 auto token = kBufferTracker->add(bufferWrapper); in allocate()253 auto sampleBuffer = std::make_shared<const Buffer>(std::move(bufferWrapper), std::move(token)); in allocate()
78 BufferWrapper bufferWrapper(hardwareBuffer); in nativeGenerateHash() local80 int32_t status = bufferWrapper.lock(&buf); in nativeGenerateHash()