Home
last modified time | relevance | path

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

12

/frameworks/av/media/bufferpool/1.0/
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.cpp86 message.connectionId = it->first; in getBufferStatusChanges()
118 ConnectionId connectionId, in postBufferRelease() argument
128 message.connectionId = connectionId; in postBufferRelease()
133 ALOGW("FMQ message cannot be sent from %lld", (long long)connectionId); in postBufferRelease()
144 BufferStatus status, ConnectionId connectionId, ConnectionId targetId, in postBufferStatusMessage() argument
155 release.connectionId = connectionId; in postBufferStatusMessage()
160 ALOGW("FMQ message cannot be sent from %lld", (long long)connectionId); in postBufferStatusMessage()
169 message.connectionId = connectionId; in postBufferStatusMessage()
176 ALOGW("FMQ message cannot be sent from %lld", (long long)connectionId); in postBufferStatusMessage()
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 …]
DAccessorImpl.cpp79 mSender = message.connectionId; in TransactionStatus()
84 mReceiver = message.connectionId; in TransactionStatus()
164 ResultStatus Accessor::Impl::close(ConnectionId connectionId) { in close() argument
167 mBufferPool.handleClose(connectionId); in close()
168 mBufferPool.mObserver.close(connectionId); in close()
176 ConnectionId connectionId, const std::vector<uint8_t>& params, in allocate() argument
195 mBufferPool.handleOwnBuffer(connectionId, *bufferId); in allocate()
202 ConnectionId connectionId, TransactionId transactionId, in fetch() argument
209 connectionId, transactionId)) { in fetch()
260 ConnectionId connectionId, BufferId bufferId) { in handleOwnBuffer() 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,
190 bool handleOwnBuffer(ConnectionId connectionId, BufferId bufferId);
201 bool handleReleaseBuffer(ConnectionId connectionId, BufferId bufferId);
243 bool handleClose(ConnectionId connectionId);
DBufferStatus.h108 ConnectionId connectionId,
131 ConnectionId connectionId,
/frameworks/base/telecomm/java/android/telecom/
DConnectionServiceAdapterServant.java409 public void setActive(String connectionId, Session.Info sessionInfo) {
410 mHandler.obtainMessage(MSG_SET_ACTIVE, connectionId).sendToTarget();
414 public void setRinging(String connectionId, Session.Info sessionInfo) {
415 mHandler.obtainMessage(MSG_SET_RINGING, connectionId).sendToTarget();
419 public void setDialing(String connectionId, Session.Info sessionInfo) {
420 mHandler.obtainMessage(MSG_SET_DIALING, connectionId).sendToTarget();
424 public void setPulling(String connectionId, Session.Info sessionInfo) {
425 mHandler.obtainMessage(MSG_SET_PULLING, connectionId).sendToTarget();
429 public void setDisconnected(String connectionId, DisconnectCause disconnectCause,
432 args.arg1 = connectionId;
[all …]
/frameworks/av/media/bufferpool/2.0/
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.cpp99 message.connectionId = it->first; in getBufferStatusChanges()
131 ConnectionId connectionId, in postBufferRelease() argument
141 message.connectionId = connectionId; in postBufferRelease()
146 ALOGW("FMQ message cannot be sent from %lld", (long long)connectionId); in postBufferRelease()
156 ConnectionId connectionId, in postBufferInvalidateAck() argument
165 message.connectionId = connectionId; in postBufferInvalidateAck()
170 ALOGW("FMQ message cannot be sent from %lld", (long long)connectionId); in postBufferInvalidateAck()
180 BufferStatus status, ConnectionId connectionId, ConnectionId targetId, in postBufferStatusMessage() argument
191 release.connectionId = connectionId; in postBufferStatusMessage()
196 ALOGW("FMQ message cannot be sent from %lld", (long long)connectionId); in postBufferStatusMessage()
[all …]
DObserver.cpp33 Return<void> Observer::onMessage(int64_t connectionId, uint32_t msgId) { in onMessage() argument
35 auto it = mClients.find(connectionId); in onMessage()
48 void Observer::addClient(ConnectionId connectionId, in addClient() argument
52 if (!it->second.lock() || it->first == connectionId) { in addClient()
58 mClients.insert(std::make_pair(connectionId, wclient)); in addClient()
62 void Observer::delClient(ConnectionId connectionId) { in delClient() argument
64 mClients.erase(connectionId); in delClient()
DClientManager.cpp109 ResultStatus close(ConnectionId connectionId);
111 ResultStatus flush(ConnectionId connectionId);
113 ResultStatus allocate(ConnectionId connectionId,
118 ResultStatus receive(ConnectionId connectionId,
130 ResultStatus getAccessor(ConnectionId connectionId,
248 int64_t connectionId) { in registerSender() argument
250 *receiverId = connectionId; in registerSender()
303 ResultStatus ClientManager::Impl::close(ConnectionId connectionId) { in close() argument
306 auto it = mActive.mClients.find(connectionId); in close()
311 mActive.mClients.erase(connectionId); in close()
[all …]
DAccessor.h56 void add(int64_t connectionId, const sp<Accessor> &accessor);
61 void remove(int64_t connectionId);
63 void addCookieToConnection(uint64_t cookie, int64_t connectionId);
113 ConnectionId connectionId,
131 ConnectionId connectionId,
172 ResultStatus close(ConnectionId connectionId);
DAccessorImpl.cpp86 mSender = message.connectionId; in TransactionStatus()
91 mReceiver = message.connectionId; in TransactionStatus()
179 ResultStatus Accessor::Impl::close(ConnectionId connectionId) { in close() argument
181 ALOGV("connection close %lld: %u", (long long)connectionId, mBufferPool.mInvalidation.mId); in close()
183 mBufferPool.handleClose(connectionId); in close()
184 mBufferPool.mObserver.close(connectionId); in close()
185 mBufferPool.mInvalidation.onClose(connectionId); in close()
193 ConnectionId connectionId, const std::vector<uint8_t>& params, in allocate() argument
212 mBufferPool.handleOwnBuffer(connectionId, *bufferId); in allocate()
219 ConnectionId connectionId, TransactionId transactionId, in fetch() argument
[all …]
DObserver.h42 Return<void> onMessage(int64_t connectionId, uint32_t msgId) override;
46 void addClient(ConnectionId connectionId,
49 void delClient(ConnectionId connectionId);
DAccessorImpl.h52 ResultStatus close(ConnectionId connectionId);
54 ResultStatus allocate(ConnectionId connectionId,
59 ResultStatus fetch(ConnectionId connectionId,
266 bool handleOwnBuffer(ConnectionId connectionId, BufferId bufferId);
277 bool handleReleaseBuffer(ConnectionId connectionId, BufferId bufferId);
319 bool handleClose(ConnectionId connectionId);
DBufferStatus.h115 ConnectionId connectionId,
138 ConnectionId connectionId,
153 ConnectionId connectionId,
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityInteractionClient.java147 public static IAccessibilityServiceConnection getConnection(int connectionId) { in getConnection() argument
149 return sConnectionCache.get(connectionId); in getConnection()
159 public static void addConnection(int connectionId, IAccessibilityServiceConnection connection) { in addConnection() argument
161 sConnectionCache.put(connectionId, connection); in addConnection()
170 public static void removeConnection(int connectionId) { in removeConnection() argument
172 sConnectionCache.remove(connectionId); in removeConnection()
209 public AccessibilityNodeInfo getRootInActiveWindow(int connectionId) { in getRootInActiveWindow() argument
210 return findAccessibilityNodeInfoByAccessibilityId(connectionId, in getRootInActiveWindow()
224 public AccessibilityWindowInfo getWindow(int connectionId, int accessibilityWindowId) { in getWindow() argument
226 IAccessibilityServiceConnection connection = getConnection(connectionId); in getWindow()
[all …]
/frameworks/base/obex/javax/obex/
DServerRequestHandler.java91 public void setConnectionId(final long connectionId) { in setConnectionId() argument
92 if ((connectionId < -1) || (connectionId > 0xFFFFFFFFL)) { in setConnectionId()
95 mConnectionId = connectionId; in setConnectionId()
/frameworks/av/media/bufferpool/2.0/include/bufferpool/
DClientManager.h92 ResultStatus close(ConnectionId connectionId);
104 ResultStatus flush(ConnectionId connectionId);
122 ResultStatus allocate(ConnectionId connectionId,
145 ResultStatus receive(ConnectionId connectionId,
DBufferPoolTypes.h41 int64_t connectionId, uint32_t id) in BufferPoolData()
42 : mConnectionId(connectionId), mId(id) {} in BufferPoolData()
/frameworks/av/media/bufferpool/1.0/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()
/frameworks/av/media/bufferpool/2.0/tests/
Dmulti.cpp63 ConnectionId connectionId; member
160 message.data.connectionId, message.data.transactionId, in doReceiver()
162 mManager->close(message.data.connectionId); in doReceiver()
207 message.data.connectionId = receiverId; in TEST_F()
/frameworks/av/media/bufferpool/1.0/vts/
Dmulti.cpp63 ConnectionId connectionId; member
160 message.data.connectionId, message.data.transactionId, in doReceiver()
162 mManager->close(message.data.connectionId); in doReceiver()
207 message.data.connectionId = receiverId; in TEST_F()

12