Home
last modified time | relevance | path

Searched refs:CommandFunction (Results 1 - 5 of 5) sorted by relevance

/base/update/updater/services/include/applypatch/
H A Dcommand_function.h22 class CommandFunction { class
24 virtual ~CommandFunction() = default;
32 CommandFunction* GetCommandFunction(std::string command);
33 void RegistCommandFunction(std::string command, std::unique_ptr<CommandFunction> commandFunction);
34 std::unordered_map<std::string, std::unique_ptr<CommandFunction>> commandFunctionMap_;
/base/update/updater/services/applypatch/
H A Dcommand_process.h22 class AbortCommandFn : public CommandFunction {
29 class NewCommandFn : public CommandFunction {
36 class ZeroAndEraseCommandFn : public CommandFunction {
43 class FreeCommandFn : public CommandFunction {
50 class StashCommandFn : public CommandFunction {
57 class DiffAndMoveCommandFn : public CommandFunction {
H A Dcommand_function.cpp22 const std::unordered_map<std::string, std::function<std::unique_ptr<CommandFunction>()>> COMMANDFUNC = { in RegistBlockUpdateCommandFunction()
44 CommandFunction* CommandFunctionFactory::GetCommandFunction(std::string command) in GetCommandFunction()
54 std::unique_ptr<CommandFunction> commandFunction) in RegistCommandFunction()
H A Dtransfer_manager.cpp39 CommandFunction* cf = CommandFunctionFactory::GetInstance().GetCommandFunction(cmd.GetCommandHead()); in CommandsExecute()
/base/update/updater/test/unittest/applypatch_test/
H A Dcommandsfunction_unittest.cpp40 CommandFunction* cf = CommandFunctionFactory::GetInstance().GetCommandFunction(cmd->GetCommandHead()); in TestCommandFnExec()
107 CommandFunction* cf = CommandFunctionFactory::GetInstance().GetCommandFunction(cmd->GetCommandHead()); in HWTEST_F()

Completed in 2 milliseconds