Home
last modified time | relevance | path

Searched refs:frames_fd (Results 1 – 6 of 6) sorted by relevance

/device/google/cuttlefish/host/libs/screen_connector/
Dsocket_based_screen_connector.cpp25 SocketBasedScreenConnector::SocketBasedScreenConnector(int frames_fd) { in SocketBasedScreenConnector() argument
27 std::thread([this, frames_fd]() { ServerLoop(frames_fd); }); in SocketBasedScreenConnector()
53 void SocketBasedScreenConnector::ServerLoop(int frames_fd) { in ServerLoop() argument
54 if (frames_fd < 0) { in ServerLoop()
55 LOG(FATAL) << "Invalid file descriptor: " << frames_fd; in ServerLoop()
58 auto server = SharedFD::Dup(frames_fd); in ServerLoop()
59 close(frames_fd); in ServerLoop()
Dscreen_connector.cpp27 ScreenConnector* ScreenConnector::Get(int frames_fd) { in Get() argument
31 return new WaylandScreenConnector(frames_fd); in Get()
33 return new SocketBasedScreenConnector(frames_fd); in Get()
Dwayland_screen_connector.cpp30 WaylandScreenConnector::WaylandScreenConnector(int frames_fd) { in WaylandScreenConnector() argument
31 int wayland_fd = fcntl(frames_fd, F_DUPFD_CLOEXEC, 3); in WaylandScreenConnector()
33 close(frames_fd); in WaylandScreenConnector()
Dsocket_based_screen_connector.h32 explicit SocketBasedScreenConnector(int frames_fd);
42 void ServerLoop(int frames_fd);
Dwayland_screen_connector.h29 WaylandScreenConnector(int frames_fd);
Dscreen_connector.h32 static ScreenConnector* Get(int frames_fd);