Home
last modified time | relevance | path

Searched refs:command_ (Results 1 – 8 of 8) sorted by relevance

/device/google/cuttlefish/host/libs/vm_manager/
Dcrosvm_builder.cpp45 CrosvmBuilder::CrosvmBuilder() : command_("crosvm") {} in CrosvmBuilder()
50 command_.SetExecutableAndName(ProcessRestarterBinary()); in ApplyProcessRestarter()
51 command_.AddParameter("-when_exited_with_code=", exit_code); in ApplyProcessRestarter()
52 command_.AddParameter("-ignore_sigtstp"); in ApplyProcessRestarter()
54 command_.AddParameter("-first_time_argument=", first_time_argument); in ApplyProcessRestarter()
56 command_.AddParameter("--"); in ApplyProcessRestarter()
57 command_.AddParameter(crosvm_binary); in ApplyProcessRestarter()
59 command_.AddParameter("--extended-status"); in ApplyProcessRestarter()
71 command_.SetStopper(KillSubprocessFallback(stopper)); in AddControlSocket()
72 command_.AddParameter("--socket=", control_socket); in AddControlSocket()
[all …]
Dcrosvm_builder.h79 Command command_;
/device/google/cuttlefish/host/commands/modem_simulator/
Dcommand_parser.h26 command_ = copy_command_; in CommandParser()
46 const std::string_view* operator->() const { return &command_; }
47 const std::string_view& operator*() const { return command_; }
48 bool operator==(const std::string &rhs) const { return command_ == rhs; }
49 std::string_view::const_reference& operator[](int index) const { return command_[index]; }
53 std::string_view command_; variable
62 auto pos = command_.find('='); in SkipPrefix()
64 command_.remove_prefix(std::min(pos + 1, command_.size())); in SkipPrefix()
73 android::base::ConsumePrefix(&command_, std::string_view("AT")); in SkipPrefixAT()
81 auto pos = command_.find(','); in SkipComma()
[all …]
Dcommand_parser.cpp29 auto fpos = command_.find('\"'); in GetNextStr()
34 auto spos = command_.find('\"', fpos + 1); in GetNextStr()
36 command_ = command_.substr(fpos + 1); in GetNextStr()
40 auto str = command_.substr(fpos + 1, (spos - fpos - 1)); in GetNextStr()
41 command_ = command_.substr(spos + 1); in GetNextStr()
52 auto pos = command_.find(flag); in GetNextStr()
53 auto str = command_.substr(0, pos); in GetNextStr()
57 command_.remove_prefix(std::min(pos, command_.size())); in GetNextStr()
106 if (command_.empty()) { in GetNextInt()
122 if (command_.empty()) { in GetNextHexInt()
/device/google/cuttlefish/common/libs/utils/
Dsubprocess.h168 return executable_ ? *executable_ : command_[0]; in Executable()
180 command_[0] = std::move(name); in SetName()
257 command_.push_back(ss.str()); in AddParameter()
268 CHECK(!command_.empty()) << "There is no parameter to append to."; in AppendToLastParameter()
271 command_[command_.size() - 1] += ss.str(); in AppendToLastParameter()
304 return command_[0]; in GetShortName()
317 std::vector<std::string> command_; variable
Dsubprocess.cpp306 command_.emplace_back(std::move(executable)); in Command()
397 auto cmd = ToCharPointers(command_); in Start()
491 ss << android::base::Join(command_, " "); in ToString()
502 "#!/bin/bash\n\n" + android::base::Join(command_, " \\\n"); in AsBashScript()
/device/google/trout/hal/dumpstate/1.1/config/
Ddumpstate_hal_configuration_V1_0.cpp89 : name_(std::move(name)), command_(std::move(command)) {} in Service()
100 return command_; in getCommand()
Ddumpstate_hal_configuration_V1_0.h47 const std::string command_; variable