Home
last modified time | relevance | path

Searched refs:main_cmd (Results 1 - 6 of 6) sorted by relevance

/base/startup/init/services/begetctl/
H A Dinit_cmd_reboot.c23 static int main_cmd(BShellHandle shell, int argc, char* argv[]) in main_cmd() function
51 {"reboot", main_cmd, "reboot system", "reboot", ""}, in MODULE_CONSTRUCTOR()
52 {"reboot", main_cmd, "shutdown system", "reboot shutdown[:options]", ""}, in MODULE_CONSTRUCTOR()
53 {"reboot", main_cmd, "suspend system", "reboot suspend", ""}, in MODULE_CONSTRUCTOR()
54 {"reboot", main_cmd, "reboot and boot into updater", "reboot updater", ""}, in MODULE_CONSTRUCTOR()
55 {"reboot", main_cmd, "reboot and boot into updater", "reboot updater[:options]", ""}, in MODULE_CONSTRUCTOR()
56 {"reboot", main_cmd, "reboot and boot into flashd", "reboot flashd", ""}, in MODULE_CONSTRUCTOR()
57 {"reboot", main_cmd, "reboot and boot into flashd", "reboot flashd[:options]", ""}, in MODULE_CONSTRUCTOR()
58 {"reboot", main_cmd, "reboot and boot into charge", "reboot charge", ""}, in MODULE_CONSTRUCTOR()
H A Dservice_control.c35 static int main_cmd(BShellHandle shell, int argc, char **argv) in main_cmd() function
72 {"service_control", main_cmd, "stop service", "service_control stop servicename", "service_control stop"}, in MODULE_CONSTRUCTOR()
73 {"service_control", main_cmd, "start service", "service_control start servicename", "service_control start"}, in MODULE_CONSTRUCTOR()
74 {"stop_service", main_cmd, "stop service", "stop_service servicename", ""}, in MODULE_CONSTRUCTOR()
75 {"start_service", main_cmd, "start service", "start_service servicename", ""}, in MODULE_CONSTRUCTOR()
76 {"timer_start", main_cmd, "start service by timer", "timer_start servicename timeout", ""}, in MODULE_CONSTRUCTOR()
77 {"timer_stop", main_cmd, "stop service timer", "timer_stop servicename", ""}, in MODULE_CONSTRUCTOR()
H A Ddump_service.c87 static int main_cmd(BShellHandle shell, int argc, char **argv) in main_cmd() function
129 {"dump_service", main_cmd, "dump all loop info", "dump_service loop", NULL}, in MODULE_CONSTRUCTOR()
130 {"dump_service", main_cmd, "dump one service info by serviceName", "dump_service serviceName", NULL}, in MODULE_CONSTRUCTOR()
131 {"dump_service", main_cmd, "dump all services info", "dump_service all", NULL}, in MODULE_CONSTRUCTOR()
132 {"dump_service", main_cmd, "dump parameter-service trigger", in MODULE_CONSTRUCTOR()
138 {"dump_appspawn", main_cmd, "dump appspawn info", "dump_appspawn", NULL }, in MODULE_CONSTRUCTOR()
139 {"dump_nwebspawn", main_cmd, "dump nwebspawn info", "dump_nwebspawn", NULL} in MODULE_CONSTRUCTOR()
H A Dappspawntime_cmd.c61 static int main_cmd(BShellHandle shell, int argc, char* argv[]) in main_cmd() function
79 {"appspawn_time", main_cmd, "get appspawn time", "appspawn_time", ""}, in MODULE_CONSTRUCTOR()
H A Dsandbox.cpp197 static int main_cmd(BShellHandle shell, int argc, char **argv) in main_cmd() function
253 const_cast<char *>("sandbox"), main_cmd, const_cast<char *>("enter service sandbox"), in MODULE_CONSTRUCTOR()
258 const_cast<char *>("sandbox"), main_cmd, const_cast<char *>("enter namespace, system, chipset etc."), in MODULE_CONSTRUCTOR()
263 const_cast<char *>("sandbox"), main_cmd, const_cast<char *>("enter namespace and exec process"), in MODULE_CONSTRUCTOR()
268 const_cast<char *>("sandbox"), main_cmd, const_cast<char *>("enter native app sandbox namespace"), in MODULE_CONSTRUCTOR()
H A Dmisc_daemon.cpp186 static int main_cmd(BShellHandle shell, int argc, char **argv) in main_cmd() function
201 const_cast<char *>("misc_daemon"), main_cmd, const_cast<char *>("write start logo"), in MODULE_CONSTRUCTOR()

Completed in 3 milliseconds