Searched defs:command_line (Results 1 - 6 of 6) sorted by relevance

/system/bt/service/
H A Dmain.cc18 #include <base/command_line.h>
51 auto command_line = base::CommandLine::ForCurrentProcess(); local
52 if (command_line->HasSwitch(bluetooth::switches::kHelpLong) ||
53 command_line->HasSwitch(bluetooth::switches::kHelpShort)) {
H A Dsettings.cc20 #include <base/command_line.h>
33 auto command_line = base::CommandLine::ForCurrentProcess(); local
34 const auto& switches = command_line->GetSwitches();
83 if (command_line->GetArgs().size()) {
/system/tpm/attestation/client/
H A Dmain.cc23 #include <base/command_line.h>
126 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); local
127 const auto& args = command_line->GetArgs();
128 if (command_line->HasSwitch("help") || command_line->HasSwitch("h") ||
135 command_line->GetSwitchValueASCII("label"),
136 command_line->GetSwitchValueASCII("user"));
138 std::string usage_str = command_line->GetSwitchValueASCII("usage");
149 command_line->GetSwitchValueASCII("label"),
150 command_line
[all...]
/system/tpm/tpm_manager/client/
H A Dmain.cc24 #include <base/command_line.h>
211 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); local
212 if (command_line->HasSwitch("help") || command_line->HasSwitch("h") ||
213 command_line->GetArgs().size() == 0) {
216 std::string command = command_line->GetArgs()[0];
224 if (!command_line->HasSwitch(kDependencySwitch)) {
229 command_line->GetSwitchValueASCII(kDependencySwitch));
231 if (!command_line->HasSwitch(kIndexSwitch) ||
232 !command_line
[all...]
/system/security/keystore/
H A Dkeystore_cli_v2.cpp20 #include <base/command_line.h>
579 CommandLine* command_line = CommandLine::ForCurrentProcess(); local
580 CommandLine::StringVector args = command_line->GetArgs();
585 return BrilloPlatformTest(command_line->GetSwitchValueASCII("prefix"),
586 command_line->HasSwitch("test_for_0_3"));
590 return AddEntropy(command_line->GetSwitchValueASCII("input"),
591 securityLevelOption2Flags(*command_line));
593 return GenerateKey(command_line->GetSwitchValueASCII("name"),
594 securityLevelOption2Flags(*command_line));
596 return GetCharacteristics(command_line
[all...]
/system/bt/service/client/
H A Dmain.cc21 #include <base/command_line.h>
1074 auto command_line = base::CommandLine::ForCurrentProcess(); local
1075 if (command_line->HasSwitch(kExecuteLong)) {
1076 command += command_line->GetSwitchValueASCII(kExecuteLong);
1079 if (command_line->HasSwitch(kExecuteShort)) {
1081 command += command_line->GetSwitchValueASCII(kExecuteShort);

Completed in 1142 milliseconds