Home
last modified time | relevance | path

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

/system/tpm/tpm_manager/client/
Dmain.cc211 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); in ScheduleCommand() local
212 if (command_line->HasSwitch("help") || command_line->HasSwitch("h") || in ScheduleCommand()
213 command_line->GetArgs().size() == 0) { in ScheduleCommand()
216 std::string command = command_line->GetArgs()[0]; in ScheduleCommand()
224 if (!command_line->HasSwitch(kDependencySwitch)) { in ScheduleCommand()
229 command_line->GetSwitchValueASCII(kDependencySwitch)); in ScheduleCommand()
231 if (!command_line->HasSwitch(kIndexSwitch) || in ScheduleCommand()
232 !command_line->HasSwitch(kSizeSwitch)) { in ScheduleCommand()
237 StringToNvramIndex(command_line->GetSwitchValueASCII(kIndexSwitch)), in ScheduleCommand()
238 StringToUint32(command_line->GetSwitchValueASCII(kSizeSwitch)), in ScheduleCommand()
[all …]
/system/tpm/attestation/client/
Dmain.cc126 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); in ScheduleCommand() local
127 const auto& args = command_line->GetArgs(); in ScheduleCommand()
128 if (command_line->HasSwitch("help") || command_line->HasSwitch("h") || in ScheduleCommand()
135 command_line->GetSwitchValueASCII("label"), in ScheduleCommand()
136 command_line->GetSwitchValueASCII("user")); in ScheduleCommand()
138 std::string usage_str = command_line->GetSwitchValueASCII("usage"); in ScheduleCommand()
149 command_line->GetSwitchValueASCII("label"), in ScheduleCommand()
150 command_line->GetSwitchValueASCII("user"), usage); in ScheduleCommand()
153 command_line->GetSwitchValueASCII("label"), in ScheduleCommand()
154 command_line->GetSwitchValueASCII("user")); in ScheduleCommand()
[all …]
/system/security/keystore/
Dkeystore_cli_v2.cpp436 CommandLine* command_line = CommandLine::ForCurrentProcess(); in main() local
437 CommandLine::StringVector args = command_line->GetArgs(); in main()
442 return BrilloPlatformTest(command_line->GetSwitchValueASCII("prefix"), in main()
443 command_line->HasSwitch("test_for_0_3")); in main()
447 return AddEntropy(command_line->GetSwitchValueASCII("input")); in main()
449 return GenerateKey(command_line->GetSwitchValueASCII("name")); in main()
451 return GetCharacteristics(command_line->GetSwitchValueASCII("name")); in main()
453 return ExportKey(command_line->GetSwitchValueASCII("name")); in main()
455 return DeleteKey(command_line->GetSwitchValueASCII("name")); in main()
459 return DoesKeyExist(command_line->GetSwitchValueASCII("name")); in main()
[all …]
/system/bt/service/
Dmain.cc51 auto command_line = base::CommandLine::ForCurrentProcess(); in main() local
52 if (command_line->HasSwitch(bluetooth::switches::kHelpLong) || in main()
53 command_line->HasSwitch(bluetooth::switches::kHelpShort)) { in main()
Dsettings.cc33 auto command_line = base::CommandLine::ForCurrentProcess(); in Init() local
34 const auto& switches = command_line->GetSwitches(); in Init()
83 if (command_line->GetArgs().size()) { in Init()
/system/extras/tests/sdcard/
Dplot_sdcard.py89 self.command_line = ''
101 self.command_line = re.search('# Command: [/\w_]+ (.*)', line).group(1)
102 self.command_line = self.command_line.replace(' --', '-')
103 self.command_line = self.command_line.replace(' -d', '')
104 self.command_line = self.command_line.replace('--test=', '')
115 self.kernel, self.duration, self.command_line, self.sched)
/system/bt/service/client/
Dmain.cc1073 auto command_line = base::CommandLine::ForCurrentProcess(); in main() local
1074 if (command_line->HasSwitch(kExecuteLong)) { in main()
1075 command += command_line->GetSwitchValueASCII(kExecuteLong); in main()
1078 if (command_line->HasSwitch(kExecuteShort)) { in main()
1080 command += command_line->GetSwitchValueASCII(kExecuteShort); in main()
/system/bt/build/secondary/third_party/libchrome/
DBUILD.gn31 "base/command_line.cc",