Home
last modified time | relevance | path

Searched refs:BuiltinArguments (Results 1 – 16 of 16) sorted by relevance

/system/core/init/
Dcheck_builtins.h25 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 …]
Dcheck_builtins.cpp53 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 …]
Dsecurity.h29 Result<void> MixHwrngIntoLinuxRngAction(const BuiltinArguments&);
30 Result<void> SetMmapRndBitsAction(const BuiltinArguments&);
31 Result<void> SetKptrRestrictAction(const BuiltinArguments&);
32 Result<void> TestPerfEventSelinuxAction(const BuiltinArguments&);
Dbuiltins.cpp160 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 …]
Dbuiltin_arguments.h26 struct BuiltinArguments { struct
27 BuiltinArguments(const std::string& context) : context(context) {} in BuiltinArguments() function
28 BuiltinArguments(std::vector<std::string> args, const std::string& context) in BuiltinArguments() function
Dsubcontext_test.cpp182 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()
Dsecurity.cpp51 Result<void> MixHwrngIntoLinuxRngAction(const BuiltinArguments&) { in MixHwrngIntoLinuxRngAction() argument
154 Result<void> SetMmapRndBitsAction(const BuiltinArguments&) { in SetMmapRndBitsAction() argument
191 Result<void> SetKptrRestrictAction(const BuiltinArguments&) { in SetKptrRestrictAction() argument
224 Result<void> TestPerfEventSelinuxAction(const BuiltinArguments&) { in TestPerfEventSelinuxAction() argument
Dinit_test.cpp82 auto do_pass_test = [&expect_true](const BuiltinArguments&) { in TEST() argument
134 auto do_execute_first = [&num_executed](const BuiltinArguments&) { in TEST() argument
138 auto do_execute_second = [&num_executed](const BuiltinArguments&) { in TEST() argument
142 auto do_execute_third = [&num_executed](const BuiltinArguments&) { in TEST() argument
225 auto execute_command = [&num_executed](const BuiltinArguments& args) { in TEST()
Dbootchart.h29 Result<void> do_bootchart(const BuiltinArguments& args);
Dbuiltins.h31 using BuiltinFunction = std::function<Result<void>(const BuiltinArguments&)>;
Dsubcontext_benchmark.cpp52 auto function = [](const BuiltinArguments& args) { return Result<void>{}; }; in BuildTestFunctionMap()
Dinit.cpp496 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() argument
526 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()
Daction.cpp33 auto builtin_arguments = BuiltinArguments(context); in RunBuiltinFunction()
72 auto builtin_arguments = BuiltinArguments("host_init_verifier"); in CheckCommand()
Dbootchart.cpp196 Result<void> do_bootchart(const BuiltinArguments& args) { in do_bootchart()
Dhost_init_verifier.cpp144 static Result<void> check_stub(const BuiltinArguments& args) { in check_stub()
Dreboot.cpp910 auto handler = [](const BuiltinArguments&) { return DoUserspaceReboot(); }; in HandleUserspaceReboot() argument
1039 auto shutdown_handler = [cmd, command, reboot_target, run_fsck](const BuiltinArguments&) { in HandlePowerctlMessage() argument