Home
last modified time | relevance | path

Searched refs:accessor (Results 1 – 9 of 9) sorted by relevance

/hardware/interfaces/media/bufferpool/aidl/default/
DClientManager.cpp49 BufferPoolStatus registerSender(const std::shared_ptr<IAccessor> &accessor,
83 std::shared_ptr<IAccessor> *accessor);
119 const std::shared_ptr<IAccessor> &accessor, Registration *pRegistration) { in registerSender() argument
126 if (sAccessor && sAccessor.get() == accessor.get()) { in registerSender()
148 std::make_shared<BufferPoolClient>(accessor, mObserver); in registerSender()
158 mCache.mClients.push_back(std::make_pair(accessor, wclient)); in registerSender()
185 std::shared_ptr<IAccessor> accessor; in registerSender() local
193 it->second->getAccessor(&accessor); in registerSender()
196 if (accessor) { in registerSender()
198 ::ndk::ScopedAStatus status = receiver->registerSender(accessor, &registration); in registerSender()
[all …]
DAccessor.cpp89 const std::shared_ptr<Accessor> &accessor) { in add() argument
92 mAccessors.insert(std::make_pair(connectionId, accessor)); in add()
150 std::shared_ptr<Accessor> accessor; in onDead() local
152 accessor = it->second.lock(); in onDead()
154 if (accessor) { in onDead()
155 accessor->close(it->first); in onDead()
287 std::shared_ptr<Accessor> accessor(ref<Accessor>()); in connect() local
288 sConnectionDeathRecipient->add(*pConnectionId, accessor); in connect()
409 uint32_t accessorId, const std::weak_ptr<Accessor> &accessor) { in addAccessor() argument
417 mAccessors.emplace(accessorId, accessor); in addAccessor()
[all …]
DBufferPoolClient.h42 explicit BufferPoolClient(const std::shared_ptr<Accessor> &accessor,
51 explicit BufferPoolClient(const std::shared_ptr<IAccessor> &accessor,
66 BufferPoolStatus getAccessor(std::shared_ptr<IAccessor> *accessor);
DBufferPoolClient.cpp43 explicit Impl(const std::shared_ptr<Accessor> &accessor,
46 explicit Impl(const std::shared_ptr<IAccessor> &accessor,
272 BufferPoolClient::Impl::Impl(const std::shared_ptr<Accessor> &accessor, in Impl() argument
274 : mLocal(true), mValid(false), mAccessor(accessor), mSeqId(0), in Impl()
278 BufferPoolStatus status = accessor->connect( in Impl()
294 BufferPoolClient::Impl::Impl(const std::shared_ptr<IAccessor> &accessor, in Impl() argument
296 : mLocal(false), mValid(false), mAccessor(accessor), mSeqId(0), in Impl()
300 if (accessor && accessor->connect(observer, &conInfo).isOk()) { in Impl()
773 BufferPoolClient::BufferPoolClient(const std::shared_ptr<Accessor> &accessor, in BufferPoolClient() argument
775 mImpl = std::make_shared<Impl>(accessor, observer); in BufferPoolClient()
[all …]
DAccessor.h46 void add(int64_t connectionId, const std::shared_ptr<Accessor> &accessor);
212 void addAccessor(uint32_t accessorId, const std::weak_ptr<Accessor> &accessor);
230 void addAccessor(const std::weak_ptr<Accessor> &accessor, nsecs_t ts);
DConnection.cpp84 const std::shared_ptr<Accessor>& accessor, ConnectionId connectionId) { in initialize() argument
86 mAccessor = accessor; in initialize()
DConnection.h78 void initialize(const std::shared_ptr<Accessor> &accessor, ConnectionId connectionId);
/hardware/interfaces/media/bufferpool/2.0/
DREADME.md47 An accessor to a buffer pool which makes a connection to the buffer pool.
/hardware/interfaces/media/bufferpool/1.0/
DREADME.md47 An accessor to a buffer pool which makes a connection to the buffer pool.