|
Android-cuttlefish cvd tool
|
#include <errno.h>#include <fcntl.h>#include <poll.h>#include <stdint.h>#include <string.h>#include <sys/mman.h>#include <sys/socket.h>#include <sys/types.h>#include <unistd.h>#include <map>#include <mutex>#include <string>#include <utility>#include <variant>#include <vector>#include "absl/log/log.h"#include "fmt/format.h"#include "gflags/gflags.h"#include "cuttlefish/common/libs/fs/fd.h"#include "cuttlefish/common/libs/fs/scoped_mmap.h"#include "cuttlefish/common/libs/fs/shared_fd.h"#include "cuttlefish/files/directory_contents.h"#include "cuttlefish/host/libs/config/cuttlefish_config.h"#include "cuttlefish/host/libs/config/logging.h"#include "cuttlefish/host/libs/display_server/protocol.h"#include "cuttlefish/host/libs/wayland/wayland_server.h"#include "cuttlefish/host/libs/wayland/wayland_server_callbacks.h"#include "cuttlefish/posix/strerror.h"#include "cuttlefish/result/result_type.h"
Classes | |
| class | cuttlefish::anonymous_namespace{main.cpp}::FramePublisher |
| struct | cuttlefish::anonymous_namespace{main.cpp}::FramePublisher::Display |
Namespaces | |
| namespace | cuttlefish |
| namespace | cuttlefish::anonymous_namespace{main.cpp} |
Functions | |
| DEFINE_int32 (frame_server_fd, -1, "A listening socket that crosvm connects to as a wayland client.") | |
| DEFINE_int32 (display_server_fd, -1, "A listening socket fd that frame consumers connect to.") | |
| std::string | cuttlefish::anonymous_namespace{main.cpp}::ShmNamePrefix (const CuttlefishConfig::InstanceSpecific &instance) |
| void | cuttlefish::anonymous_namespace{main.cpp}::RemoveStaleShm (const std::string &prefix) |
| int | cuttlefish::anonymous_namespace{main.cpp}::DisplayServerMain () |
| int | main (int argc, char **argv) |
| DEFINE_int32 | ( | display_server_fd | , |
| - | 1, | ||
| "A listening socket fd that frame consumers connect to." | |||
| ) |
| DEFINE_int32 | ( | frame_server_fd | , |
| - | 1, | ||
| "A listening socket that crosvm connects to as a wayland client." | |||
| ) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |