Home
last modified time | relevance | path

Searched refs:options (Results 1 – 25 of 84) sorted by relevance

1234

/device/generic/goldfish/dhcp/common/
Dmessage.cpp169 if (dhcpData.options + 4 > end()) { in isValidDhcpMessage()
184 if (dhcpData.options[0] != OPT_COOKIE1) { in isValidDhcpMessage()
187 if (dhcpData.options[1] != OPT_COOKIE2) { in isValidDhcpMessage()
190 if (dhcpData.options[2] != OPT_COOKIE3) { in isValidDhcpMessage()
193 if (dhcpData.options[3] != OPT_COOKIE4) { in isValidDhcpMessage()
201 auto options = reinterpret_cast<const uint8_t*>(&dhcpData.options); in optionsSize() local
203 if (msgEnd <= options) { in optionsSize()
206 return msgEnd - options; in optionsSize()
252 uint8_t* opts = dhcpData.options; in Message()
289 uint8_t optCode = dhcpData.options[i]; in getOption()
[all …]
/device/google/wahoo/dumpstate/
DDumpstateDevice.cpp86 CommandOptions options = CommandOptions::WithTimeout(120).Build(); in dumpDiagLogs() local
93 RunCommandToFd(fd, "CP DIAG LOGS", { "/vendor/bin/sh", "-c", copyCmd.c_str() }, options); in dumpDiagLogs()
113 CommandOptions options = CommandOptions::WithTimeout(120).Build(); in dumpModem() local
116 … { "/vendor/bin/sh", "-c", "getprop", "|", "grep", "sys.modem.diag" }, options); in dumpModem()
132 …unCommandToFd(fd, "MKDIR MODEM LOG", { "/vendor/bin/sh", "-c", modemLogMkDirCmd.c_str()}, options); in dumpModem()
140 … RunCommandToFd(fd, "SMLOG DUMP", { "smlog_dump", "-d", "-o", modemLogAllDir.c_str() }, options); in dumpModem()
172 … RunCommandToFd(fd, "CP MODEM LOG", { "/vendor/bin/sh", "-c", copyCmd.c_str() }, options); in dumpModem()
180 … RunCommandToFd(fd, "TAR LOG", { "/vendor/bin/sh", "-c", modemLogTarCmd.c_str()}, options); in dumpModem()
183 … RunCommandToFd(fd, "CHG PERM", { "/vendor/bin/sh", "-c", modemLogPermCmd.c_str()}, options); in dumpModem()
209 … RunCommandToFd(fd, "RM MODEM DIR", { "/vendor/bin/sh", "-c", modemLogClearCmd.c_str()}, options); in dumpModem()
[all …]
/device/google/cuttlefish/host/commands/run_cvd/
Dprocess_monitor.cc71 cuttlefish::SubprocessOptions options; in StartSubprocess() local
72 options.InGroup(true); in StartSubprocess()
73 options.WithControlSocket(true); in StartSubprocess()
74 auto proc = cmd.Start(options); in StartSubprocess()
157 cuttlefish::SubprocessOptions options; in RestartOnExitCb() local
158 options.WithControlSocket(true); in RestartOnExitCb()
159 entry->proc.reset(new Subprocess(entry->cmd->Start(options))); in RestartOnExitCb()
/device/generic/goldfish/dhcp/client/
Dmain.cpp32 uint32_t options = 0; in main() local
44 options |= static_cast<uint32_t>(ClientOption::NoGateway); in main()
57 DhcpClient client(options); in main()
Ddhcpclient.cpp53 DhcpClient::DhcpClient(uint32_t options) in DhcpClient() argument
54 : mOptions(options), in DhcpClient()
310 const uint8_t* options = msg.dhcpData.options; in configureDhcp() local
316 uint8_t optCode = options[i]; in configureDhcp()
317 uint8_t optLength = options[i + 1]; in configureDhcp()
322 if (options + optLength + i >= msg.end()) { in configureDhcp()
329 const uint8_t* opt = options + i + 2; in configureDhcp()
/device/amlogic/yukawa/hal/bootctrl/
Dbootloader_message.cpp177 bool write_bootloader_message(const std::vector<std::string>& options, std::string* err) { in write_bootloader_message() argument
179 update_bootloader_message_in_struct(&boot, options); in write_bootloader_message()
184 bool update_bootloader_message(const std::vector<std::string>& options, std::string* err) { in update_bootloader_message() argument
189 update_bootloader_message_in_struct(&boot, options); in update_bootloader_message()
195 const std::vector<std::string>& options) { in update_bootloader_message_in_struct() argument
203 for (const auto& s : options) { in update_bootloader_message_in_struct()
249 extern "C" bool write_bootloader_message(const char* options) { in write_bootloader_message() argument
251 return write_bootloader_message({options}, &err); in write_bootloader_message()
Dbootloader_message.h212 bool write_bootloader_message(const std::vector<std::string>& options, std::string* err);
220 bool update_bootloader_message(const std::vector<std::string>& options, std::string* err);
225 const std::vector<std::string>& options);
244 bool write_bootloader_message(const char* options);
/device/google/cuttlefish/common/libs/utils/
Dsubprocess.cpp131 pid_t Subprocess::Wait(int* wstatus, int options) { in Wait() argument
138 auto retval = waitpid(pid_, wstatus, options); in Wait()
224 Subprocess Command::Start(SubprocessOptions options) const { in Start()
230 if (options.WithControlSocket()) { in Start()
247 if (options.ExitWithParent()) { in Start()
252 if (options.InGroup()) { in Start()
284 if (options.Verbose()) { // "more verbose", and LOG(DEBUG) > LOG(VERBOSE) in Start()
314 SubprocessOptions options) { in RunWithManagedStdio() argument
391 auto subprocess = cmd.Start(options); in RunWithManagedStdio()
Dsubprocess.h60 pid_t Wait(int* wstatus, int options);
196 Subprocess Start(SubprocessOptions options = SubprocessOptions()) const;
227 SubprocessOptions options = SubprocessOptions());
/device/google/cuttlefish_kernel/
DTEST_MAPPING17 "options": [
31 "options": [
/device/google/cuttlefish/host/commands/launch/
Dflag_forwarder.cc240 cuttlefish::SubprocessOptions options; in FlagForwarder() local
241 options.Verbose(false); in FlagForwarder()
244 options); in FlagForwarder()
293 cuttlefish::SubprocessOptions options; in UpdateFlagDefaults() local
294 options.Verbose(false); in UpdateFlagDefaults()
297 options); in UpdateFlagDefaults()
/device/generic/opengl-transport/host/commands/emugen/tests/
Drun-tests.sh62 Usage: $PROGNAME [options]
68 Valid options:
/device/generic/goldfish/
Dfstab.ranchu.initrd.arm2 #<dev> <mnt_point> <type> <mnt_flags options> <fs_mgr_flags>
Dfstab.ranchu.initrd.arm.ex2 #<dev> <mnt_point> <type> <mnt_flags options> <fs_mgr_flags>
Dfstab.ranchu.initrd.noavb2 #<dev> <mnt_point> <type> <mnt_flags options> <fs_mgr_flags>
Dfstab.ranchu.initrd2 #<dev> <mnt_point> <type> <mnt_flags options> <fs_mgr_flags>
Dfstab.ranchu.early.arm2 … <mnt_point> <type> <mnt_flags and options> …
Dfstab.ranchu.early2 … <mnt_point> <type> <mnt_flags and options> …
Dfstab.ranchu.initrd.noavb.ex2 #<dev> <mnt_point> <type> <mnt_flags options> <fs_mgr_flags>
/device/generic/goldfish/fvpbase/
Dfstab.fvpbase.initrd2 #<dev> <mnt_point> <type> <mnt_flags options> <fs_mgr_flags>
/device/sample/sdk_addon/
Dhardware.ini1 # Custom hardware options for the add-on.
/device/google/coral/
Dfstab.persist3 … <mnt_point> <type> <mnt_flags and options> <fs_mgr_…
/device/google/crosshatch/
Dfstab.persist3 … <mnt_point> <type> <mnt_flags and options> <fs_mgr_…
/device/sample/apps/tv/SetupCustomizationSample/
Dbuild.gradle1 // Top-level build file where you can add configuration options common to all sub-projects/modules.
/device/sample/apps/tv/SetupValidation/
Dbuild.gradle1 // Top-level build file where you can add configuration options common to all sub-projects/modules.

1234