Lines Matching refs:input_sockets
147 cuttlefish::InputSockets input_sockets; in main() local
152 input_sockets.touch_servers["display_" + std::to_string(counter++)] = in main()
156 input_sockets.keyboard_server = cuttlefish::SharedFD::Dup(FLAGS_keyboard_fd); in main()
157 input_sockets.switches_server = cuttlefish::SharedFD::Dup(FLAGS_switches_fd); in main()
167 for (const auto& touch_entry : input_sockets.touch_servers) { in main()
168 input_sockets.touch_clients[touch_entry.first] = in main()
171 input_sockets.keyboard_client = in main()
172 cuttlefish::SharedFD::Accept(*input_sockets.keyboard_server); in main()
173 input_sockets.switches_client = in main()
174 cuttlefish::SharedFD::Accept(*input_sockets.switches_server); in main()
177 for (const auto& touch : input_sockets.touch_servers) { in main()
179 touch_accepters.emplace_back([label, &input_sockets]() { in main()
181 input_sockets.touch_clients[label] = in main()
182 cuttlefish::SharedFD::Accept(*input_sockets.touch_servers[label]); in main()
186 std::thread keyboard_accepter([&input_sockets]() { in main()
188 input_sockets.keyboard_client = in main()
189 cuttlefish::SharedFD::Accept(*input_sockets.keyboard_server); in main()
192 std::thread switches_accepter([&input_sockets]() { in main()
194 input_sockets.switches_client = in main()
195 cuttlefish::SharedFD::Accept(*input_sockets.switches_server); in main()
244 input_sockets, &kernel_logs_event_handler, host_confui_server); in main()