Searched refs:BuiltinArguments (Results 1 – 16 of 16) sorted by relevance
25 Result<void> check_chown(const BuiltinArguments& args);26 Result<void> check_exec(const BuiltinArguments& args);27 Result<void> check_exec_background(const BuiltinArguments& args);28 Result<void> check_exec_reboot_on_failure(const BuiltinArguments& args);29 Result<void> check_interface_restart(const BuiltinArguments& args);30 Result<void> check_interface_start(const BuiltinArguments& args);31 Result<void> check_interface_stop(const BuiltinArguments& args);32 Result<void> check_load_system_props(const BuiltinArguments& args);33 Result<void> check_loglevel(const BuiltinArguments& args);34 Result<void> check_mkdir(const BuiltinArguments& args);[all …]
53 Result<void> check_chown(const BuiltinArguments& args) { in check_chown()72 Result<void> check_exec(const BuiltinArguments& args) { in check_exec()83 Result<void> check_exec_background(const BuiltinArguments& args) { in check_exec_background()87 Result<void> check_exec_reboot_on_failure(const BuiltinArguments& args) { in check_exec_reboot_on_failure()88 BuiltinArguments remaining_args(args.context); in check_exec_reboot_on_failure()96 Result<void> check_interface_restart(const BuiltinArguments& args) { in check_interface_restart()103 Result<void> check_interface_start(const BuiltinArguments& args) { in check_interface_start()107 Result<void> check_interface_stop(const BuiltinArguments& args) { in check_interface_stop()111 Result<void> check_load_system_props(const BuiltinArguments& args) { in check_load_system_props()115 Result<void> check_loglevel(const BuiltinArguments& args) { in check_loglevel()[all …]
29 Result<void> MixHwrngIntoLinuxRngAction(const BuiltinArguments&);30 Result<void> SetMmapRndBitsAction(const BuiltinArguments&);31 Result<void> SetKptrRestrictAction(const BuiltinArguments&);32 Result<void> TestPerfEventSelinuxAction(const BuiltinArguments&);
160 static Result<void> do_class_start(const BuiltinArguments& args) { in do_class_start()177 static Result<void> do_class_start_post_data(const BuiltinArguments& args) { in do_class_start_post_data()199 static Result<void> do_class_stop(const BuiltinArguments& args) { in do_class_stop()204 static Result<void> do_class_reset(const BuiltinArguments& args) { in do_class_reset()209 static Result<void> do_class_reset_post_data(const BuiltinArguments& args) { in do_class_reset_post_data()222 static Result<void> do_class_restart(const BuiltinArguments& args) { in do_class_restart()230 static Result<void> do_domainname(const BuiltinArguments& args) { in do_domainname()237 static Result<void> do_enable(const BuiltinArguments& args) { in do_enable()248 static Result<void> do_exec(const BuiltinArguments& args) { in do_exec()261 static Result<void> do_exec_background(const BuiltinArguments& args) { in do_exec_background()[all …]
26 struct BuiltinArguments { struct27 BuiltinArguments(const std::string& context) : context(context) {} in BuiltinArguments() function28 BuiltinArguments(std::vector<std::string> args, const std::string& context) in BuiltinArguments() function
182 auto do_return_pids_as_error = [](const BuiltinArguments& args) -> Result<void> { in BuildTestFunctionMap()187 auto do_setprop = [](const BuiltinArguments& args) { in BuildTestFunctionMap()195 auto do_add_word = [words](const BuiltinArguments& args) { in BuildTestFunctionMap()199 auto do_return_words_as_error = [words](const BuiltinArguments& args) -> Result<void> { in BuildTestFunctionMap()204 auto do_cause_log_fatal = [](const BuiltinArguments& args) -> Result<void> { in BuildTestFunctionMap()207 auto do_generate_sane_error = [](const BuiltinArguments& args) -> Result<void> { in BuildTestFunctionMap()212 auto do_return_context_as_error = [](const BuiltinArguments& args) -> Result<void> { in BuildTestFunctionMap()216 auto do_trigger_shutdown = [](const BuiltinArguments& args) -> Result<void> { in BuildTestFunctionMap()
51 Result<void> MixHwrngIntoLinuxRngAction(const BuiltinArguments&) { in MixHwrngIntoLinuxRngAction() argument154 Result<void> SetMmapRndBitsAction(const BuiltinArguments&) { in SetMmapRndBitsAction() argument191 Result<void> SetKptrRestrictAction(const BuiltinArguments&) { in SetKptrRestrictAction() argument224 Result<void> TestPerfEventSelinuxAction(const BuiltinArguments&) { in TestPerfEventSelinuxAction() argument
82 auto do_pass_test = [&expect_true](const BuiltinArguments&) { in TEST() argument134 auto do_execute_first = [&num_executed](const BuiltinArguments&) { in TEST() argument138 auto do_execute_second = [&num_executed](const BuiltinArguments&) { in TEST() argument142 auto do_execute_third = [&num_executed](const BuiltinArguments&) { in TEST() argument225 auto execute_command = [&num_executed](const BuiltinArguments& args) { in TEST()
29 Result<void> do_bootchart(const BuiltinArguments& args);
31 using BuiltinFunction = std::function<Result<void>(const BuiltinArguments&)>;
52 auto function = [](const BuiltinArguments& args) { return Result<void>{}; }; in BuildTestFunctionMap()
496 static Result<void> wait_for_coldboot_done_action(const BuiltinArguments& args) { in wait_for_coldboot_done_action()504 static Result<void> SetupCgroupsAction(const BuiltinArguments&) { in SetupCgroupsAction() argument526 static Result<void> property_enable_triggers_action(const BuiltinArguments& args) { in property_enable_triggers_action()532 static Result<void> queue_property_triggers_action(const BuiltinArguments& args) { in queue_property_triggers_action()851 [&epoll, &keychords](const BuiltinArguments& args) -> Result<void> { in SecondStageMain()
33 auto builtin_arguments = BuiltinArguments(context); in RunBuiltinFunction()72 auto builtin_arguments = BuiltinArguments("host_init_verifier"); in CheckCommand()
196 Result<void> do_bootchart(const BuiltinArguments& args) { in do_bootchart()
144 static Result<void> check_stub(const BuiltinArguments& args) { in check_stub()
910 auto handler = [](const BuiltinArguments&) { return DoUserspaceReboot(); }; in HandleUserspaceReboot() argument1039 auto shutdown_handler = [cmd, command, reboot_target, run_fsck](const BuiltinArguments&) { in HandlePowerctlMessage() argument