Home
last modified time | relevance | path

Searched refs:connectionId (Results 1 – 25 of 44) 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.cpp80 mSender = message.connectionId; in TransactionStatus()
85 mReceiver = message.connectionId; in TransactionStatus()
169 ResultStatus Accessor::Impl::close(ConnectionId connectionId) { in close() argument
172 mBufferPool.handleClose(connectionId); in close()
173 mBufferPool.mObserver.close(connectionId); in close()
181 ConnectionId connectionId, const std::vector<uint8_t>& params, in allocate() argument
200 mBufferPool.handleOwnBuffer(connectionId, *bufferId); in allocate()
207 ConnectionId connectionId, TransactionId transactionId, in fetch() argument
214 connectionId, transactionId)) { in fetch()
265 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,
189 bool handleOwnBuffer(ConnectionId connectionId, BufferId bufferId);
200 bool handleReleaseBuffer(ConnectionId connectionId, BufferId bufferId);
242 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 …]
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()
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 …]
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.cpp92 mSender = message.connectionId; in TransactionStatus()
97 mReceiver = message.connectionId; in TransactionStatus()
197 ResultStatus Accessor::Impl::close(ConnectionId connectionId) { in close() argument
199 ALOGV("connection close %lld: %u", (long long)connectionId, mBufferPool.mInvalidation.mId); in close()
201 mBufferPool.handleClose(connectionId); in close()
202 mBufferPool.mObserver.close(connectionId); in close()
203 mBufferPool.mInvalidation.onClose(connectionId); in close()
212 ConnectionId connectionId, const std::vector<uint8_t>& params, in allocate() argument
231 mBufferPool.handleOwnBuffer(connectionId, *bufferId); in allocate()
239 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);
DBufferStatus.h115 ConnectionId connectionId,
138 ConnectionId connectionId,
153 ConnectionId connectionId,
DAccessorImpl.h53 ResultStatus close(ConnectionId connectionId);
55 ResultStatus allocate(ConnectionId connectionId,
60 ResultStatus fetch(ConnectionId connectionId,
276 bool handleOwnBuffer(ConnectionId connectionId, BufferId bufferId);
287 bool handleReleaseBuffer(ConnectionId connectionId, BufferId bufferId);
329 bool handleClose(ConnectionId connectionId);
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityInteractionClient.java202 public static IAccessibilityServiceConnection getConnection(int connectionId) { in getConnection() argument
204 return sConnectionCache.get(connectionId); in getConnection()
214 public static void addConnection(int connectionId, IAccessibilityServiceConnection connection) { in addConnection() argument
216 sConnectionCache.put(connectionId, connection); in addConnection()
225 public static void removeConnection(int connectionId) { in removeConnection() argument
227 sConnectionCache.remove(connectionId); in removeConnection()
269 public AccessibilityNodeInfo getRootInActiveWindow(int connectionId) { in getRootInActiveWindow() argument
270 return findAccessibilityNodeInfoByAccessibilityId(connectionId, in getRootInActiveWindow()
284 public AccessibilityWindowInfo getWindow(int connectionId, int accessibilityWindowId) { in getWindow() argument
285 return getWindow(connectionId, accessibilityWindowId, /* bypassCache */ false); 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/base/core/java/android/app/
DUiAutomation.java673 final int connectionId; in getWindows() local
676 connectionId = mConnectionId; in getWindows()
680 .getWindows(connectionId); in getWindows()
704 final int connectionId; in getWindowsOnAllDisplays() local
707 connectionId = mConnectionId; in getWindowsOnAllDisplays()
711 .getWindowsOnAllDisplays(connectionId); in getWindowsOnAllDisplays()
722 final int connectionId; in getRootInActiveWindow() local
725 connectionId = mConnectionId; in getRootInActiveWindow()
729 .getRootInActiveWindow(connectionId); in getRootInActiveWindow()
1506 public void init(int connectionId, IBinder windowToken) { in IAccessibilityServiceClientImpl()
[all …]
/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