Home
last modified time | relevance | path

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

/packages/modules/Virtualization/java/jni/
Dandroid_system_virtualmachine_VirtualizationService.cpp38 unique_fd serverFd, clientFd; in Java_android_system_virtualmachine_VirtualizationService_nativeSpawn() local
39 if (!Socketpair(SOCK_STREAM, &serverFd, &clientFd)) { in Java_android_system_virtualmachine_VirtualizationService_nativeSpawn()
54 clientFd.reset(); in Java_android_system_virtualmachine_VirtualizationService_nativeSpawn()
82 return clientFd.release(); in Java_android_system_virtualmachine_VirtualizationService_nativeSpawn()
88 int clientFd) { in Java_android_system_virtualmachine_VirtualizationService_nativeConnect() argument
94 auto client = ARpcSession_setupUnixDomainBootstrapClient(session.get(), clientFd); in Java_android_system_virtualmachine_VirtualizationService_nativeConnect()
101 int clientFd) { in Java_android_system_virtualmachine_VirtualizationService_nativeIsOk() argument
103 struct pollfd pfds[] = {{.fd = clientFd, .events = 0}}; in Java_android_system_virtualmachine_VirtualizationService_nativeIsOk()
/packages/modules/Virtualization/java/framework/src/android/system/virtualmachine/
DVirtualizationService.java49 private native IBinder nativeConnect(int clientFd); in nativeConnect() argument
51 private native boolean nativeIsOk(int clientFd); in nativeIsOk() argument
64 int clientFd = nativeSpawn(); in VirtualizationService() local
65 if (clientFd < 0) { in VirtualizationService()
68 mClientFd = ParcelFileDescriptor.adoptFd(clientFd); in VirtualizationService()
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_tls_frontend.cpp174 android::base::unique_fd clientFd; in requestHandler() local
205 clientFd = std::move(client); in requestHandler()
222 clientFd = std::move(client); in requestHandler()
229 void DnsTlsFrontend::handleRequests(SSL* ssl, int clientFd) { in handleRequests() argument
233 pollfd fds = {.fd = clientFd, .events = POLLIN}; in handleRequests()
Ddns_tls_frontend.h79 void handleRequests(SSL* ssl, int clientFd);