Home
last modified time | relevance | path

Searched refs:Command (Results 1 – 24 of 24) sorted by relevance

/base/theme/screenlock_mgr/services/src/
Dcommand.cpp20 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()
Ddump_helper.cpp28 void DumpHelper::RegisterCommand(std::shared_ptr<Command> &cmd) in RegisterCommand()
Dscreenlock_system_ability.cpp518 …auto cmd = std::make_shared<Command>(std::vector<std::string>{ "-all" }, "dump all screenlock info… in RegisterDumpCommand()
/base/update/updater/services/applypatch/
Dcommand.cpp23 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()
Dcommand_process.h26 CommandResult Execute(const Command &params) override;
33 CommandResult Execute(const Command &params) override;
40 CommandResult Execute(const Command &params) override;
47 CommandResult Execute(const Command &params) override;
54 CommandResult Execute(const Command &params) override;
61 CommandResult Execute(const Command &params) override;
Dcommand_process.cpp37 CommandResult AbortCommandFn::Execute(const Command &params) in Execute()
42 CommandResult NewCommandFn::Execute(const Command &params) in Execute()
71 CommandResult ZeroAndEraseCommandFn::Execute(const Command &params) in Execute()
102 CommandResult DiffAndMoveCommandFn::Execute(const Command &params) in Execute()
137 …ret = targetBlock.WriteDiffToBlock(const_cast<const Command &>(params), buffer, tgtBlockSize, isIm… in Execute()
153 CommandResult FreeCommandFn::Execute(const Command &params) in Execute()
164 CommandResult StashCommandFn::Execute(const Command &params) in Execute()
Dtransfer_manager.cpp67 std::unique_ptr<Command> cmd; in CommandsParser()
70 cmd = std::make_unique<Command>(); in CommandsParser()
87 CommandResult ret = cf->Execute(const_cast<Command &>(*cmd.get())); in CommandsParser()
Dblock_set.cpp258 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()
380 int32_t BlockSet::WriteDiffToBlock(const Command &cmd, std::vector<uint8_t> &srcBuffer, in WriteDiffToBlock()
/base/theme/wallpaper_mgr/utils/dfx/hidumper_adapter/
Dcommand.cpp18 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()
Ddump_helper.h29 void RegisterCommand(std::shared_ptr<Command> &cmd);
33 std::map<std::string, std::shared_ptr<Command>> cmdHandler_;
Dcommand.h22 class Command {
25Command(const std::vector<std::string> &argsFormat, const std::string &help, const Action &action);
Ddump_helper.cpp28 void DumpHelper::RegisterCommand(std::shared_ptr<Command> &cmd) in RegisterCommand()
/base/theme/screenlock_mgr/services/include/
Dcommand.h24 class Command {
27 explicit Command() = default;
28Command(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;
Ddump_helper.h31 void RegisterCommand(std::shared_ptr<Command> &cmd);
35 std::map<std::string, std::shared_ptr<Command>> cmdHandler;
/base/update/updater/services/include/applypatch/
Dcommand.h47 class Command {
49 Command() {} in Command() function
50 virtual ~Command();
Dblock_set.h34 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,
Dcommand_function.h24 virtual CommandResult Execute(const Command &params) = 0;
/base/update/updater/test/unittest/applypatch_test/
Dcommands_unittest.cpp57 Command *cmd = new Command();
73 Command *cmd = new Command();
Dcommandsfunction_unittest.cpp37 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>();
Dblockset_unittest.cpp121 Command *cmd = new Command();
128 …int ret = targetBlock.WriteDiffToBlock(const_cast<const Command &>(*cmd), buffer, tgtBlockSize, is…
131 …ret = targetBlock.WriteDiffToBlock(const_cast<const Command &>(*cmd), buffer, tgtBlockSize, isImgD…
/base/theme/wallpaper_mgr/services/src/
Dwallpaper_service.cpp143 auto cmd = std::make_shared<Command>(std::vector<std::string>({ "-all" }), "Show all", in OnStart()
/base/startup/init/
DREADME.md128 ….2.4.1.1"><p id="p826833919412"><a name="p826833919412"></a><a name="p826833919412"></a>Command</p>
/base/update/updater/test/unittest/test_data/diffpatch/
DPatchGztest_new.gz
DPatchGztest_old.gz