Home
last modified time | relevance | path

Searched refs:connectionId (Results 1 – 17 of 17) sorted by relevance

/hardware/google/av/codec2/vndk/bufferpool/
DAccessor.cpp30 int64_t connectionId, in add() argument
33 if (mAccessors.find(connectionId) == mAccessors.end()) { in add()
34 mAccessors.insert(std::make_pair(connectionId, accessor)); in add()
38 void ConnectionDeathRecipient::remove(int64_t connectionId) { in remove() argument
40 mAccessors.erase(connectionId); in remove()
41 auto it = mConnectionToCookie.find(connectionId); in remove()
47 cit->second.erase(connectionId); in remove()
57 int64_t connectionId) { in addCookieToConnection() argument
59 if (mAccessors.find(connectionId) == mAccessors.end()) { in addCookieToConnection()
62 mConnectionToCookie.insert(std::make_pair(connectionId, cookie)); in addCookieToConnection()
[all …]
DBufferStatus.cpp85 message.connectionId = it->first; in getBufferStatusChanges()
109 ConnectionId connectionId, in postBufferRelease() argument
119 message.connectionId = connectionId; in postBufferRelease()
124 ALOGW("FMQ message cannot be sent from %lld", (long long)connectionId); in postBufferRelease()
135 BufferStatus status, ConnectionId connectionId, ConnectionId targetId, in postBufferStatusMessage() argument
146 release.connectionId = connectionId; in postBufferStatusMessage()
151 ALOGW("FMQ message cannot be sent from %lld", (long long)connectionId); in postBufferStatusMessage()
160 message.connectionId = connectionId; in postBufferStatusMessage()
167 ALOGW("FMQ message cannot be sent from %lld", (long long)connectionId); in postBufferStatusMessage()
DAccessorImpl.cpp79 mSender = message.connectionId; in TransactionStatus()
84 mReceiver = message.connectionId; in TransactionStatus()
163 ResultStatus Accessor::Impl::close(ConnectionId connectionId) { in close() argument
166 mBufferPool.handleClose(connectionId); in close()
167 mBufferPool.mObserver.close(connectionId); in close()
175 ConnectionId connectionId, const std::vector<uint8_t>& params, in allocate() argument
194 mBufferPool.handleOwnBuffer(connectionId, *bufferId); in allocate()
201 ConnectionId connectionId, TransactionId transactionId, in fetch() argument
208 connectionId, transactionId)) { in fetch()
259 ConnectionId connectionId, BufferId bufferId) { in handleOwnBuffer() argument
[all …]
DClientManager.cpp107 ResultStatus close(ConnectionId connectionId);
109 ResultStatus allocate(ConnectionId connectionId,
114 ResultStatus receive(ConnectionId connectionId,
126 ResultStatus getAccessor(ConnectionId connectionId,
240 int64_t connectionId) { in registerSender() argument
242 *receiverId = connectionId; in registerSender()
293 ResultStatus ClientManager::Impl::close(ConnectionId connectionId) { in close() argument
296 auto it = mActive.mClients.find(connectionId); in close()
300 mActive.mClients.erase(connectionId); in close()
316 ConnectionId connectionId, const std::vector<uint8_t> &params, in allocate() argument
[all …]
DAccessor.h55 void add(int64_t connectionId, const sp<Accessor> &accessor);
60 void remove(int64_t connectionId);
62 void addCookieToConnection(uint64_t cookie, int64_t connectionId);
109 ConnectionId connectionId,
127 ConnectionId connectionId,
160 ResultStatus close(ConnectionId connectionId);
DAccessorImpl.h46 ResultStatus close(ConnectionId connectionId);
48 ResultStatus allocate(ConnectionId connectionId,
53 ResultStatus fetch(ConnectionId connectionId,
189 bool handleOwnBuffer(ConnectionId connectionId, BufferId bufferId);
200 bool handleReleaseBuffer(ConnectionId connectionId, BufferId bufferId);
242 bool handleClose(ConnectionId connectionId);
DBufferStatus.h105 ConnectionId connectionId,
128 ConnectionId connectionId,
DConnection.cpp51 const sp<Accessor>& accessor, ConnectionId connectionId) { in initialize() argument
54 mConnectionId = connectionId; in initialize()
DConnection.h84 void initialize(const sp<Accessor> &accessor, ConnectionId connectionId);
DBufferPoolClient.cpp173 ConnectionId connectionId, BufferId id, native_handle_t *handle) in ClientBuffer()
175 mConnectionId(connectionId), mId(id), mHandle(handle) { in ClientBuffer()
266 ConnectionId connectionId, const QueueDescriptor& desc) { in Impl() argument
269 id = connectionId; in Impl()
/hardware/google/av/codec2/vndk/bufferpool/include/bufferpool/
DClientManager.h92 ResultStatus close(ConnectionId connectionId);
108 ResultStatus allocate(ConnectionId connectionId,
129 ResultStatus receive(ConnectionId connectionId,
DBufferPoolTypes.h41 int64_t connectionId, uint32_t id) in BufferPoolData()
42 : mConnectionId(connectionId), mId(id) {} in BufferPoolData()
/hardware/google/av/codec2/vndk/bufferpool/vts/
Dmulti.cpp68 ConnectionId connectionId; member
169 message.data.connectionId, message.data.transactionId, in doReceiver()
171 mManager->close(message.data.connectionId); in doReceiver()
212 message.data.connectionId = receiverId; in TEST_F()
/hardware/interfaces/media/bufferpool/1.0/
DIClientManager.hal41 * @return connectionId the Id of the communication node to the buffer pool.
46 (ResultStatus status, int64_t connectionId);
DIAccessor.hal60 * @return connectionId Id of IConnection. The Id identifies
67 int64_t connectionId, fmq_sync<BufferStatusMessage> mqDesc);
Dtypes.hal84 int64_t connectionId;
/hardware/google/av/codec2/hidl/1.0/utils/
Dtypes.cpp894 int64_t connectionId = bpData->mConnectionId; in send() local
895 if (mSourceConnectionId == 0 || mSourceConnectionId != connectionId) { in send()
897 mSourceConnectionId = connectionId; in send()
902 rs = mSenderManager->registerSender(mReceiverManager, connectionId, &receiverConnectionId); in send()
925 bpMessage->connectionId = mReceiverConnectionId; in send()
1267 bpMessage.connectionId, in objcpy()