Android-cuttlefish cvd tool
|
#include <sys/types.h>
#include <sys/wait.h>
#include <atomic>
#include <cstdio>
#include <cstring>
#include <functional>
#include <map>
#include <optional>
#include <ostream>
#include <sstream>
#include <string>
#include <type_traits>
#include <unordered_map>
#include <utility>
#include <vector>
#include <android-base/logging.h>
#include <android-base/strings.h>
#include "cuttlefish/common/libs/fs/shared_fd.h"
Go to the source code of this file.
Classes | |
class | cuttlefish::Subprocess |
class | cuttlefish::SubprocessOptions |
class | cuttlefish::Command |
Namespaces | |
namespace | cuttlefish |
Typedefs | |
using | cuttlefish::SubprocessStopper = std::function< StopperResult(Subprocess *)> |
Enumerations | |
enum class | cuttlefish::StopperResult { cuttlefish::kStopFailure , cuttlefish::kStopCrash , cuttlefish::kStopSuccess } |
Functions | |
std::vector< std::string > | cuttlefish::ArgsToVec (char **argv) |
std::unordered_map< std::string, std::string > | cuttlefish::EnvpToMap (char **envp) |
StopperResult | cuttlefish::KillSubprocess (Subprocess *subprocess) |
SubprocessStopper | cuttlefish::KillSubprocessFallback (std::function< StopperResult()> nice) |
SubprocessStopper | cuttlefish::KillSubprocessFallback (SubprocessStopper nice_stopper) |
std::ostream & | cuttlefish::operator<< (std::ostream &out, const Command &command) |
int | cuttlefish::Execute (const std::vector< std::string > &commands) |
int | cuttlefish::Execute (const std::vector< std::string > &commands, const std::vector< std::string > &envs) |
Result< siginfo_t > | cuttlefish::Execute (const std::vector< std::string > &commands, SubprocessOptions subprocess_options, int wait_options) |
Result< siginfo_t > | cuttlefish::Execute (const std::vector< std::string > &commands, const std::vector< std::string > &envs, SubprocessOptions subprocess_options, int wait_options) |