libbinder: RpcServer privatize acceptOne

This doesn't configure RpcServer w/ a way to be shutdown, and we don't
really need it, so simplifying things.

Bug: 185167543
Test: N/A
Change-Id: I7648ff04f6096f215a90caf3b9f21060eca882ac
diff --git a/libs/binder/RpcServer.cpp b/libs/binder/RpcServer.cpp
index 249ce6c..1128057 100644
--- a/libs/binder/RpcServer.cpp
+++ b/libs/binder/RpcServer.cpp
@@ -139,7 +139,7 @@
     }
 
     while (mShutdownTrigger->triggerablePollRead(mServer)) {
-        (void)acceptOneNoCheck();
+        (void)acceptOne();
     }
 
     {
@@ -150,12 +150,6 @@
 }
 
 bool RpcServer::acceptOne() {
-    LOG_ALWAYS_FATAL_IF(!mAgreedExperimental, "no!");
-    LOG_ALWAYS_FATAL_IF(!hasServer(), "RpcServer must be setup to acceptOne.");
-    return acceptOneNoCheck();
-}
-
-bool RpcServer::acceptOneNoCheck() {
     unique_fd clientFd(
             TEMP_FAILURE_RETRY(accept4(mServer.get(), nullptr, nullptr /*length*/, SOCK_CLOEXEC)));