Home
last modified time | relevance | path

Searched refs:RpcConnection (Results 1 – 2 of 2) sorted by relevance

/aosp12/frameworks/native/libs/binder/include/binder/
H A DRpcSession.h123 struct RpcConnection : public RefBase { struct
135 sp<RpcConnection> assignServerToThisThread(base::unique_fd fd); argument
136 bool removeServerConnection(const sp<RpcConnection>& connection);
152 static void findConnection(pid_t tid, sp<RpcConnection>* exclusive,
153 sp<RpcConnection>* available,
154 std::vector<sp<RpcConnection>>& sockets,
158 sp<RpcConnection> mConnection;
193 std::vector<sp<RpcConnection>> mClientConnections;
194 std::vector<sp<RpcConnection>> mServerConnections;
/aosp12/frameworks/native/libs/binder/
H A DRpcSession.cpp146 sp<RpcConnection> connection = assignServerToThisThread(std::move(client)); in join()
268 sp<RpcConnection> session = sp<RpcConnection>::make(); in addClientConnection()
278 sp<RpcSession::RpcConnection> RpcSession::assignServerToThisThread(unique_fd fd) { in assignServerToThisThread()
280 sp<RpcConnection> session = sp<RpcConnection>::make(); in assignServerToThisThread()
288 bool RpcSession::removeServerConnection(const sp<RpcConnection>& connection) { in removeServerConnection()
309 sp<RpcConnection> exclusive; in ExclusiveConnection()
310 sp<RpcConnection> available; in ExclusiveConnection()
366 void RpcSession::ExclusiveConnection::findConnection(pid_t tid, sp<RpcConnection>* exclusive, in findConnection()
367 sp<RpcConnection>* available, in findConnection()
368 std::vector<sp<RpcConnection>>& sockets, in findConnection()
[all …]