| /base/theme/screenlock_mgr/services/src/ |
| D | command.cpp | 20 Command::Command(const std::vector<std::string> &argsFormat, const std::string &help, const Command… in Command() function in OHOS::ScreenLock::Command 25 Command::Command(const std::vector<std::string> &argsFormat, const std::string &help) : format(args… in Command() function in OHOS::ScreenLock::Command 29 std::string Command::ShowHelp() in ShowHelp() 34 bool Command::DoAction(const std::vector<std::string> &input, std::string &output) in DoAction() 39 std::string Command::GetOption() in GetOption() 44 std::string Command::GetFormat() in GetFormat()
|
| D | dump_helper.cpp | 28 void DumpHelper::RegisterCommand(std::shared_ptr<Command> &cmd) in RegisterCommand()
|
| D | screenlock_system_ability.cpp | 511 …auto cmd = std::make_shared<Command>(std::vector<std::string>{ "-all" }, "dump all screenlock info… in RegisterDumpCommand()
|
| /base/update/updater/services/applypatch/ |
| D | command.cpp | 23 bool Command::Init(const std::string &cmdLine) in Init() 32 Command::~Command() in ~Command() 37 CommandType Command::GetCommandType() const in GetCommandType() 42 std::string Command::GetArgumentByPos(size_t pos) const in GetArgumentByPos() 50 std::string Command::GetCommandLine() const in GetCommandLine() 55 void Command::SetFileDescriptor(int fd) in SetFileDescriptor() 60 int Command::GetFileDescriptor() const in GetFileDescriptor() 65 CommandType Command::ParseCommandType(const std::string &firstCmd) in ParseCommandType()
|
| D | command_process.h | 26 CommandResult Execute(const Command ¶ms) override; 33 CommandResult Execute(const Command ¶ms) override; 40 CommandResult Execute(const Command ¶ms) override; 47 CommandResult Execute(const Command ¶ms) override; 54 CommandResult Execute(const Command ¶ms) override; 61 CommandResult Execute(const Command ¶ms) override;
|
| D | command_process.cpp | 37 CommandResult AbortCommandFn::Execute(const Command ¶ms) in Execute() 42 CommandResult NewCommandFn::Execute(const Command ¶ms) in Execute() 71 CommandResult ZeroAndEraseCommandFn::Execute(const Command ¶ms) in Execute() 102 bool LoadTarget(const Command ¶ms, size_t &pos, std::vector<uint8_t> &buffer, in LoadTarget() 138 CommandResult DiffAndMoveCommandFn::Execute(const Command ¶ms) in Execute() 163 …ret = targetBlock.WriteDiffToBlock(const_cast<const Command &>(params), buffer, tgtBlockSize, isIm… in Execute() 183 CommandResult FreeCommandFn::Execute(const Command ¶ms) in Execute() 194 CommandResult StashCommandFn::Execute(const Command ¶ms) in Execute()
|
| D | transfer_manager.cpp | 53 bool TransferManager::CommandsExecute(int fd, Command &cmd) in CommandsExecute() 92 std::unique_ptr<Command> cmd = std::make_unique<Command>(); in CommandsParser()
|
| D | block_set.cpp | 258 int32_t BlockSet::LoadSourceBuffer(const Command &cmd, size_t &pos, std::vector<uint8_t> &sourceBuf… in LoadSourceBuffer() 306 int32_t BlockSet::LoadTargetBuffer(const Command &cmd, std::vector<uint8_t> &buffer, size_t &blockS… in LoadTargetBuffer() 381 int32_t BlockSet::WriteDiffToBlock(const Command &cmd, std::vector<uint8_t> &srcBuffer, in WriteDiffToBlock()
|
| /base/theme/wallpaper_mgr/utils/dfx/hidumper_adapter/ |
| D | command.cpp | 18 Command::Command(const std::vector<std::string> &argsFormat, const std::string &help, const Command… in Command() function in OHOS::MiscServices::Command 23 std::string Command::ShowHelp() const in ShowHelp() 28 bool Command::DoAction(const std::vector<std::string> &input, std::string &output) in DoAction() 33 std::string Command::GetOption() in GetOption() 38 std::string Command::GetFormat() in GetFormat()
|
| D | dump_helper.h | 30 void RegisterCommand(std::shared_ptr<Command> &cmd); 34 std::map<std::string, std::shared_ptr<Command>> cmdHandler_;
|
| D | command.h | 22 class Command { 25 …Command(const std::vector<std::string> &argsFormat, const std::string &help, const Action &action);
|
| D | dump_helper.cpp | 30 void DumpHelper::RegisterCommand(std::shared_ptr<Command> &cmd) in RegisterCommand()
|
| /base/customization/enterprise_device_management/services/edm_plugin/include/ |
| D | iptables_rule_plugin.h | 46 …bool ConvertAddFilterToIptablesCommand(const IPTABLES::AddFilter &addFilter, std::string &Command); 51 std::string &Command); 52 …ConvertIpAddressCommand(const std::string &ipAddress, const bool isSourceIp, std::string &Command); 53 void ConvertPortCommand(const std::string &port, const bool isSourcePort, std::string &Command); 54 void ConvertProtocolCommand(const IPTABLES::Protocol &protocol, std::string &Command); 55 bool ConvertActionCommand(const IPTABLES::Action &action, std::string &Command); 56 …oid ConvertRuleNoCommand(const IPTABLES::AddMethod &method, uint32_t ruleNo, std::string &Command); 57 void ConvertUidCommand(const std::string &uid, std::string &Command);
|
| /base/theme/screenlock_mgr/services/include/ |
| D | command.h | 24 class Command { 27 explicit Command() = default; 28 …Command(const std::vector<std::string> &argsFormat, const std::string &help, const Action &action); 29 Command(const std::vector<std::string> &argsFormat, const std::string &help); 30 virtual ~Command() = default;
|
| D | dump_helper.h | 31 void RegisterCommand(std::shared_ptr<Command> &cmd); 35 std::map<std::string, std::shared_ptr<Command>> cmdHandler;
|
| /base/update/updater/services/include/applypatch/ |
| D | command.h | 47 class Command { 49 Command() {} in Command() function 50 virtual ~Command();
|
| D | block_set.h | 34 class Command; variable 88 …int32_t LoadTargetBuffer(const Command &cmd, std::vector<uint8_t> &buffer, size_t &blockSize, size… 92 …int32_t WriteDiffToBlock(const Command &cmd, std::vector<uint8_t> &sourceBuffer, const size_t srcB… 109 int32_t LoadSourceBuffer(const Command &cmd, size_t &pos, std::vector<uint8_t> &sourceBuffer,
|
| D | command_function.h | 24 virtual CommandResult Execute(const Command ¶ms) = 0;
|
| D | transfer_manager.h | 81 bool CommandsExecute(int fd, Command &cmd);
|
| /base/update/updater/test/unittest/applypatch_test/ |
| D | commands_unittest.cpp | 57 Command *cmd = new Command(); 73 Command *cmd = new Command();
|
| D | commandsfunction_unittest.cpp | 37 CommandResult TestCommandFnExec(std::shared_ptr<Command> cmd, std::string cmdLine) in TestCommandFnExec() 41 CommandResult ret = cf->Execute(const_cast<Command &>(*cmd.get())); in TestCommandFnExec() 65 std::shared_ptr<Command> cmd; 66 cmd = std::make_shared<Command>();
|
| D | blockset_unittest.cpp | 123 Command *cmd = new Command(); 130 …int ret = targetBlock.WriteDiffToBlock(const_cast<const Command &>(*cmd), buffer, tgtBlockSize, is… 133 …ret = targetBlock.WriteDiffToBlock(const_cast<const Command &>(*cmd), buffer, tgtBlockSize, isImgD…
|
| /base/hiviewdfx/faultloggerd/ |
| D | README_zh.md | 25 * DumpCatcher Command Tool:提供命令行形式的主动抓栈工具,仅在Debug版本提供。
|
| /base/theme/wallpaper_mgr/services/src/ |
| D | wallpaper_service.cpp | 161 auto cmd = std::make_shared<Command>(std::vector<std::string>({ "-all" }), "Show all", in OnStart()
|
| /base/startup/init/ |
| D | README.md | 128 ….2.4.1.1"><p id="p826833919412"><a name="p826833919412"></a><a name="p826833919412"></a>Command</p>
|