◆ Commands()
Result< std::vector< MonitorCommand > > cuttlefish::anonymous_namespace{launch.cpp}::SocketVsockProxy::Commands |
( |
| ) |
|
|
inlineoverridevirtual |
This socket_vsock_proxy (a.k.a. sv proxy) runs on the host. It assumes that another sv proxy runs inside the guest. see: shared/config/init.vendor.rc The sv proxy in the guest exposes vsock:cid:6520 across the cuttlefish instances in multi-tenancy. cid is different per instance.
This host sv proxy should cooperate with the guest sv proxy. Thus, one end of the tunnel is vsock:cid:6520 regardless of instance number. Another end faces the host adb daemon via tcp. Thus, the server type is tcp here. The tcp port differs from instance to instance, and is instance.adb_host_port()
Implements cuttlefish::CommandSource.
◆ Dependencies()
std::unordered_set< SetupFeature * > cuttlefish::anonymous_namespace{launch.cpp}::SocketVsockProxy::Dependencies |
( |
| ) |
const |
|
inlineoverrideprivatevirtual |
◆ Enabled()
bool cuttlefish::anonymous_namespace{launch.cpp}::SocketVsockProxy::Enabled |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ INJECT()
◆ Name()
std::string cuttlefish::anonymous_namespace{launch.cpp}::SocketVsockProxy::Name |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ ResultSetup()
Result< void > cuttlefish::anonymous_namespace{launch.cpp}::SocketVsockProxy::ResultSetup |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
◆ cuttlefish_config_
const CuttlefishConfig& cuttlefish::anonymous_namespace{launch.cpp}::SocketVsockProxy::cuttlefish_config_ |
|
private |
◆ helper_
const AdbHelper& cuttlefish::anonymous_namespace{launch.cpp}::SocketVsockProxy::helper_ |
|
private |
◆ instance_
◆ kernel_log_pipe_
SharedFD cuttlefish::anonymous_namespace{launch.cpp}::SocketVsockProxy::kernel_log_pipe_ |
|
private |
◆ log_pipe_provider_
The documentation for this class was generated from the following file: