Android-cuttlefish cvd tool
|
#include <sys/types.h>
#include <unistd.h>
#include <string>
#include <unordered_map>
#include <vector>
#include "cuttlefish/common/libs/utils/result.h"
Go to the source code of this file.
Classes | |
struct | cuttlefish::ProcInfo |
Namespaces | |
namespace | cuttlefish |
Functions | |
Result< ProcInfo > | cuttlefish::ExtractProcInfo (const pid_t pid) |
Result< std::vector< pid_t > > | cuttlefish::CollectPids (const uid_t uid) |
Result< std::vector< pid_t > > | cuttlefish::CollectPidsByExecName (const std::string &exec_name, const uid_t uid) |
Result< std::vector< pid_t > > | cuttlefish::CollectPidsByExecPath (const std::string &exec_path, const uid_t uid) |
Result< std::vector< pid_t > > | cuttlefish::CollectPidsByArgv0 (const std::string &expected_argv0, const uid_t uid) |
Result< uid_t > | cuttlefish::OwnerUid (const pid_t pid) |
Result< std::vector< std::string > > | cuttlefish::GetCmdArgs (const pid_t pid) |
Result< std::string > | cuttlefish::GetExecutablePath (const pid_t pid) |
Result< std::unordered_map< std::string, std::string > > | cuttlefish::GetEnvs (const pid_t pid) |
Result< pid_t > | cuttlefish::Ppid (const pid_t pid) |
Variables | |
static constexpr char | cuttlefish::kProcDir [] = "/proc" |