Searched refs:PowerShellCommand (Results 1 – 3 of 3) sorted by relevance
| /base/powermgr/power_manager/utils/shell/src/ |
| D | power_shell_command.cpp | 104 PowerShellCommand::PowerShellCommand(int argc, char *argv[]) : ShellCommand(argc, argv, "power-shel… in PowerShellCommand() function in OHOS::PowerMgr::PowerShellCommand 107 ErrCode PowerShellCommand::CreateCommandMap() in CreateCommandMap() 110 {"help", std::bind(&PowerShellCommand::RunAsHelpCommand, this)}, in CreateCommandMap() 111 {"setmode", std::bind(&PowerShellCommand::RunAsSetModeCommand, this)}, in CreateCommandMap() 112 {"wakeup", std::bind(&PowerShellCommand::RunAsWakeupCommand, this)}, in CreateCommandMap() 113 {"suspend", std::bind(&PowerShellCommand::RunAsSuspendCommand, this)}, in CreateCommandMap() 115 {"lock", std::bind(&PowerShellCommand::RunAsQueryLockCommand, this)}, in CreateCommandMap() 117 {"display", std::bind(&PowerShellCommand::RunAsDisplayCommand, this)}, in CreateCommandMap() 119 {"dump", std::bind(&PowerShellCommand::RunAsDumpCommand, this)}, in CreateCommandMap() 121 {"timeout", std::bind(&PowerShellCommand::RunAsTimeOutCommand, this)}, in CreateCommandMap() [all …]
|
| D | main.cpp | 22 OHOS::PowerMgr::PowerShellCommand cmd(argc, argv); in main()
|
| /base/powermgr/power_manager/utils/shell/include/ |
| D | power_shell_command.h | 27 class PowerShellCommand : public OHOS::AAFwk::ShellCommand { 29 PowerShellCommand(int argc, char *argv[]); 30 ~PowerShellCommand() override {}; in ~PowerShellCommand()
|