Searched refs:cvd (Results 1 - 25 of 132) sorted by relevance

123456

/device/google/cuttlefish_common/common/libs/time/
H A Dmonotonic_time.cpp18 namespace cvd { namespace
26 } // namespace cvd
/device/google/cuttlefish_common/guest/hals/hwcomposer/legacy/
H A Dgeometry_utils.h20 namespace cvd { namespace
24 } // namespace cvd
H A Dstats_keeper.h29 namespace cvd { namespace
33 CompositionData(cvd::time::MonotonicTimePoint time_point, int num_prepares,
35 cvd::time::Nanoseconds prepare_time,
36 cvd::time::Nanoseconds set_calls_time)
44 cvd::time::MonotonicTimePoint time_point() const { return time_point_; }
52 cvd::time::Nanoseconds prepare_time() const { return prepare_time_; }
54 cvd::time::Nanoseconds set_calls_time() const { return set_calls_time_; }
57 cvd::time::MonotonicTimePoint time_point_;
61 cvd::time::Nanoseconds prepare_time_;
62 cvd
[all...]
/device/google/cuttlefish_common/host/libs/adb_connection_maintainer/
H A Dadb_connection_maintainer.h18 namespace cvd { namespace
22 } // namespace cvd
/device/google/cuttlefish_common/host/libs/ivserver/
H A Dvsocsharedmem_mock.h27 bool(const std::string&, cvd::SharedFD*, cvd::SharedFD*));
28 MOCK_CONST_METHOD0(SharedMemFD, const cvd::SharedFD&());
H A Dvsocsharedmem.h34 explicit Region(const char *device_name, const cvd::SharedFD &host_fd,
35 const cvd::SharedFD &guest_fd)
38 cvd::SharedFD host_fd;
39 cvd::SharedFD guest_fd;
48 cvd::SharedFD *guest_to_host,
49 cvd::SharedFD *host_to_guest) const = 0;
51 virtual const cvd::SharedFD &SharedMemFD() const = 0;
H A Dhald_client.h31 const cvd::SharedFD &client_fd);
34 cvd::SharedFD client_socket_;
37 HaldClient(const cvd::SharedFD &client_fd);
H A Divserver.h43 cvd::SharedFD qemu_channel_;
44 cvd::SharedFD client_channel_;
H A Dqemu_client.h33 const cvd::SharedFD &connection);
35 cvd::SharedFD client_socket() const { return client_socket_; }
63 cvd::SharedFD client_socket_;
66 QemuClient(cvd::SharedFD qemu_listener_socket);
73 bool SendSocketInfo(QemuFDMsg message, const cvd::SharedFD &socket);
H A Divserver.cc34 qemu_channel_ = cvd::SharedFD::SocketLocalServer(
42 client_channel_ = cvd::SharedFD::SocketLocalServer(
50 cvd::SharedFDSet rset;
53 cvd::Select(&rset, nullptr, nullptr, nullptr);
69 *vsoc_shmem_, cvd::SharedFD::Accept(*client_channel_, nullptr, nullptr));
77 *vsoc_shmem_, cvd::SharedFD::Accept(*qemu_channel_, nullptr, nullptr));
/device/google/cuttlefish_common/host/libs/monitor/
H A Dkernel_log_server.h41 void BeforeSelect(cvd::SharedFDSet* fd_read) const;
45 void AfterSelect(const cvd::SharedFDSet& fd_read);
60 cvd::SharedFD server_fd_;
61 cvd::SharedFD client_fd_;
62 cvd::SharedFD log_fd_;
/device/google/cuttlefish_common/host/frontend/vnc_server/
H A Dvirtual_inputs.cpp25 using cvd::vnc::VirtualInputs;
30 (*key_mapping)[cvd::xk::AltLeft] = KEY_LEFTALT;
31 (*key_mapping)[cvd::xk::ControlLeft] = KEY_LEFTCTRL;
32 (*key_mapping)[cvd::xk::ShiftLeft] = KEY_LEFTSHIFT;
33 (*key_mapping)[cvd::xk::AltRight] = KEY_RIGHTALT;
34 (*key_mapping)[cvd::xk::ControlRight] = KEY_RIGHTCTRL;
35 (*key_mapping)[cvd::xk::ShiftRight] = KEY_RIGHTSHIFT;
36 (*key_mapping)[cvd::xk::MetaLeft] = KEY_LEFTMETA;
37 (*key_mapping)[cvd::xk::MetaRight] = KEY_RIGHTMETA;
38 (*key_mapping)[cvd
[all...]
/device/google/cuttlefish_common/guest/hals/sensors/
H A Dsensors_hal.cpp22 VSOC_STATIC_INITIALIZER(open) cvd::GceSensors::Open,
35 VSOC_STATIC_INITIALIZER(get_sensors_list) cvd::GceSensors::GetSensorsList,
37 VSOC_STATIC_INITIALIZER(set_operation_mode) cvd::GceSensors::SetOperationMode,
H A Dvsoc_sensors.h25 namespace cvd { namespace
180 cvd::time::MonotonicTimePoint current_deadline_;
188 cvd::SharedFD sensor_listener_socket_;
190 cvd::SharedFD control_receiver_socket_;
192 cvd::SharedFD control_sender_socket_;
197 cvd::Mutex sensor_state_lock_;
199 cvd::ConditionVariable deadline_change_;
207 const static cvd::time::Nanoseconds kInjectedEventWaitTime;
225 cvd::time::MonotonicTimePoint UpdateDeadline();
240 } //namespace cvd
[all...]
/device/google/cuttlefish_common/guest/libs/remoter/
H A Dremoter_framework_pkt.cpp18 void remoter_connect(cvd::SharedFD* dest) {
19 *dest = cvd::SharedFD::SocketLocalClient(
/device/google/cuttlefish_common/host/libs/vadb/
H A Dusb_cmd_heartbeat.cpp22 bool USBCmdHeartbeat::OnRequest(const cvd::SharedFD& /*fd*/) { return true; }
25 const cvd::SharedFD& /*data*/) {
H A Dusb_cmd.h50 virtual bool OnRequest(const cvd::SharedFD& data) = 0;
56 virtual bool OnResponse(bool is_success, const cvd::SharedFD& data) = 0;
H A Dusb_cmd_attach.cpp22 bool USBCmdAttach::OnRequest(const cvd::SharedFD& fd) {
30 bool USBCmdAttach::OnResponse(bool is_success, const cvd::SharedFD& /*data*/) {
/device/google/cuttlefish_common/guest/commands/rename_netiface/
H A Dmain.cpp38 auto factory = cvd::NetlinkClientFactory::Default();
39 std::unique_ptr<cvd::NetlinkClient> nl(factory->New(NETLINK_ROUTE));
40 std::unique_ptr<cvd::NetworkInterfaceManager> nm(
41 cvd::NetworkInterfaceManager::New(factory));
42 std::unique_ptr<cvd::NetworkInterface> ni(nm->Open(new_name, name));
/device/google/cuttlefish_common/guest/commands/usbforward/
H A Dusb_server.h32 // cvd::SharedFD pipe = cvd::SharedFD::Open(pipe_path, O_RDWR);
38 USBServer(const cvd::SharedFD& fd);
85 std::unique_ptr<cvd::ScopedThread> libusb_thread_;
86 cvd::Mutex write_mutex_;
87 cvd::SharedFD fd_;
88 cvd::SharedFD device_event_fd_;
89 cvd::SharedFD thread_event_fd_;
91 cvd::Mutex requests_mutex_;
H A Dmain.cpp29 cvd::SharedFD fd = cvd::SharedFD::Open(argv[1], O_RDWR | O_NOCTTY);
/device/google/cuttlefish_common/host/libs/usbip/
H A Dserver.h39 void BeforeSelect(cvd::SharedFDSet* fd_read) const;
43 void AfterSelect(const cvd::SharedFDSet& fd_read);
55 cvd::SharedFD server_;
H A Dvhci_instrument.h63 cvd::SharedFD control_write_end_;
64 cvd::SharedFD control_read_end_;
65 cvd::SharedFD vhci_socket_;
H A Dclient.h31 Client(const DevicePool& pool, const cvd::SharedFD& fd)
38 void BeforeSelect(cvd::SharedFDSet* fd_read) const;
43 bool AfterSelect(const cvd::SharedFDSet& fd_read);
65 cvd::SharedFD fd_;
/device/google/cuttlefish_common/common/libs/strings/
H A Dstr_split.h23 namespace cvd { namespace
25 } // namespace cvd

Completed in 138 milliseconds

123456