Lines Matching refs:Accessor

47 Accessor::ConnectionIdGenerator::ConnectionIdGenerator() {  in ConnectionIdGenerator()
52 ConnectionId Accessor::ConnectionIdGenerator::getConnectionId() { in getConnectionId()
78 std::shared_ptr<ConnectionDeathRecipient> Accessor::getConnectionDeathRecipient() { in getConnectionDeathRecipient()
89 const std::shared_ptr<Accessor> &accessor) { in add()
131 std::map<int64_t, const std::weak_ptr<Accessor>> connectionsToClose; in onDead()
150 std::shared_ptr<Accessor> accessor; in onDead()
166 ::ndk::ScopedAStatus Accessor::connect(const std::shared_ptr<::aidl::android::hardware::media::buff… in connect()
185 Accessor::Accessor(const std::shared_ptr<BufferPoolAllocator> &allocator) in Accessor() function in aidl::android::hardware::media::bufferpool2::implementation::Accessor
188 Accessor::~Accessor() { in ~Accessor()
191 bool Accessor::isValid() { in isValid()
195 BufferPoolStatus Accessor::flush() { in flush()
198 mBufferPool.flush(ref<Accessor>()); in flush()
202 BufferPoolStatus Accessor::allocate( in allocate()
230 BufferPoolStatus Accessor::fetch( in fetch()
256 BufferPoolStatus Accessor::connect( in connect()
272 newConnection->initialize(ref<Accessor>(), id); in connect()
287 std::shared_ptr<Accessor> accessor(ref<Accessor>()); in connect()
293 BufferPoolStatus Accessor::close(ConnectionId connectionId) { in close()
310 void Accessor::cleanUp(bool clearCache) { in cleanUp()
317 void Accessor::handleInvalidateAck() { in handleInvalidateAck()
341 void Accessor::invalidatorThread( in invalidatorThread()
342 std::map<uint32_t, const std::weak_ptr<Accessor>> &accessors, in invalidatorThread()
353 std::map<uint32_t, const std::weak_ptr<Accessor>> copied; in invalidatorThread()
365 const std::shared_ptr<Accessor> acc = it->second.lock(); in invalidatorThread()
398 Accessor::AccessorInvalidator::AccessorInvalidator() : mReady(false) { in AccessorInvalidator()
408 void Accessor::AccessorInvalidator::addAccessor( in addAccessor()
409 uint32_t accessorId, const std::weak_ptr<Accessor> &accessor) { in addAccessor()
426 void Accessor::AccessorInvalidator::delAccessor(uint32_t accessorId) { in delAccessor()
435 std::unique_ptr<Accessor::AccessorInvalidator> Accessor::sInvalidator;
437 void Accessor::createInvalidator() { in createInvalidator()
439 sInvalidator = std::make_unique<Accessor::AccessorInvalidator>(); in createInvalidator()
443 void Accessor::evictorThread( in evictorThread()
444 std::map<const std::weak_ptr<Accessor>, nsecs_t, std::owner_less<>> &accessors, in evictorThread() argument
447 std::list<const std::weak_ptr<Accessor>> evictList; in evictorThread()
470 const std::shared_ptr<Accessor> accessor = it->lock(); in evictorThread()
484 Accessor::AccessorEvictor::AccessorEvictor() { in AccessorEvictor()
493 void Accessor::AccessorEvictor::addAccessor( in addAccessor()
494 const std::weak_ptr<Accessor> &accessor, nsecs_t ts) { in addAccessor()
508 std::unique_ptr<Accessor::AccessorEvictor> Accessor::sEvictor;
510 void Accessor::createEvictor() { in createEvictor()
512 sEvictor = std::make_unique<Accessor::AccessorEvictor>(); in createEvictor()
516 void Accessor::scheduleEvictIfNeeded() { in scheduleEvictIfNeeded()
521 sEvictor->addAccessor(ref<Accessor>(), now); in scheduleEvictIfNeeded()