libbinder: addClient->addClientConnection
To match previous s/mServers|mClients/\0Connections/g change.
Bug: N/A
Test: N/A
Change-Id: Id47410ad27ba78e57b5677dbeaa0435e25343b8b
diff --git a/libs/binder/RpcSession.cpp b/libs/binder/RpcSession.cpp
index 3e83c99..f38135b 100644
--- a/libs/binder/RpcSession.cpp
+++ b/libs/binder/RpcSession.cpp
@@ -84,7 +84,7 @@
return false;
}
- addClient(std::move(serverFd));
+ addClientConnection(std::move(serverFd));
return true;
}
@@ -255,7 +255,7 @@
LOG_RPC_DETAIL("Socket at %s client with fd %d", addr.toString().c_str(), serverFd.get());
- addClient(std::move(serverFd));
+ addClientConnection(std::move(serverFd));
return true;
}
@@ -263,7 +263,7 @@
return false;
}
-void RpcSession::addClient(unique_fd fd) {
+void RpcSession::addClientConnection(unique_fd fd) {
std::lock_guard<std::mutex> _l(mMutex);
sp<RpcConnection> session = sp<RpcConnection>::make();
session->fd = std::move(fd);