Home
last modified time | relevance | path

Searched refs:clientFd (Results 1 – 10 of 10) sorted by relevance

/frameworks/native/libs/binder/trusty/
DRpcServerTrusty.cpp136 unique_fd clientFd(chanDup); in handleConnectInternal() local
137 android::RpcTransportFd transportFd(std::move(clientFd)); in handleConnectInternal()
/frameworks/av/media/libstagefright/rtsp/fuzzer/
Drtsp_connection_fuzzer.cpp327 int32_t clientFd = accept4(mServerFd, nullptr, nullptr, SOCK_CLOEXEC); in acceptConnection() local
328 handleConnection(clientFd); in acceptConnection()
329 close(clientFd); in acceptConnection()
/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java313 FileDescriptor clientFd = Os.socket(AF_INET, SOCK_STREAM, 0); in testCopy_SocketToFile_FileToSocket$noRavenwood() local
314 Os.connect(clientFd, localSocketAddress.getAddress(), localSocketAddress.getPort()); in testCopy_SocketToFile_FileToSocket$noRavenwood()
324 Os.write(clientFd, sndFileSizeByteArray, 0, sndFileSizeByteArray.length); in testCopy_SocketToFile_FileToSocket$noRavenwood()
327 FileUtils.copy(fileInputStream.getFD(), clientFd, src.length(), null, null, null); in testCopy_SocketToFile_FileToSocket$noRavenwood() local
330 Os.close(clientFd); in testCopy_SocketToFile_FileToSocket$noRavenwood()
/frameworks/native/include/binder/
DBinder.h103 [[nodiscard]] LIBBINDER_EXPORTED status_t setRpcClientDebug(binder::unique_fd clientFd,
/frameworks/native/libs/binder/include/binder/
DBinder.h103 [[nodiscard]] LIBBINDER_EXPORTED status_t setRpcClientDebug(binder::unique_fd clientFd,
DRpcServer.h262 sp<RpcServer>&& server, RpcTransportFd clientFd,
/frameworks/native/libs/binder/
DRpcServer.cpp371 sp<RpcServer>&& server, RpcTransportFd clientFd, std::array<uint8_t, kRpcAddressSize> addr, in establishConnection() argument
381 int clientFdForLog = clientFd.fd.get(); in establishConnection()
382 auto client = server->mCtx->newTransport(std::move(clientFd), server->mShutdownTrigger.get()); in establishConnection()
DBinder.cpp644 unique_fd clientFd; in setRpcClientDebug() local
648 if (status = data.readUniqueFileDescriptor(&clientFd); status != OK) return status; in setRpcClientDebug()
653 return setRpcClientDebug(std::move(clientFd), keepAliveBinder); in setRpcClientDebug()
DRpcSession.cpp157 unique_fd clientFd(socks[0]), serverFd(socks[1]); in setupUnixDomainSocketBootstrapClient() local
171 return initAndAddConnection(RpcTransportFd(std::move(clientFd)), sessionId, incoming); in setupUnixDomainSocketBootstrapClient()
/frameworks/native/libs/input/
DInputTransport.cpp383 android::base::unique_fd clientFd(sockets[1]); in openInputChannelPair() local
384 outClientChannel = InputChannel::create(clientChannelName, std::move(clientFd), token); in openInputChannelPair()