Searched refs:CommandType (Results 1 - 8 of 8) sorted by relevance
/base/update/updater/services/applypatch/ |
H A D | command.cpp | 39 CommandType Command::GetCommandType() const
in GetCommandType() 77 CommandType Command::ParseCommandType(const std::string &firstCmd)
in ParseCommandType() 80 return CommandType::ABORT;
in ParseCommandType() 82 return CommandType::BSDIFF;
in ParseCommandType() 84 return CommandType::ERASE;
in ParseCommandType() 86 return CommandType::FREE;
in ParseCommandType() 88 return CommandType::IMGDIFF;
in ParseCommandType() 90 return CommandType::MOVE;
in ParseCommandType() 92 return CommandType::NEW;
in ParseCommandType() 94 return CommandType in ParseCommandType() [all...] |
H A D | transfer_manager.cpp | 53 if (cmd.GetCommandType() == CommandType::NEW ||
in JudgeBlockVerifyCmdType() 54 cmd.GetCommandType() == CommandType::ERASE ||
in JudgeBlockVerifyCmdType() 55 cmd.GetCommandType() == CommandType::FREE ||
in JudgeBlockVerifyCmdType() 56 cmd.GetCommandType() == CommandType::ZERO) {
in JudgeBlockVerifyCmdType() 112 if (cmd->GetCommandType() != CommandType::NEW) {
in CommandsParser() 182 bool TransferManager::CheckResult(const CommandResult result, const std::string &cmd, const CommandType &type)
in CheckResult() 186 if (type != CommandType::NEW) {
in CheckResult()
|
H A D | command_process.cpp | 75 if (params.GetCommandType() == CommandType::ERASE) {
in Execute() 106 CommandType type = params.GetCommandType();
in LoadTarget() 110 if (type != CommandType::MOVE) {
in LoadTarget() 146 CommandType type = params.GetCommandType();
in WriteDiffToBlock() 147 return targetBlock.WriteDiffToBlock(params, srcBuffer, patchBuffer, patchLength, type == CommandType::IMGDIFF);
in WriteDiffToBlock() 152 CommandType type = params.GetCommandType();
in Execute() 154 if (type == CommandType::MOVE) {
in Execute() 169 if (type != CommandType::MOVE) {
in Execute()
|
/base/update/updater/services/include/applypatch/ |
H A D | command.h | 37 CommandType GetCommandType() const;
45 CommandType ParseCommandType(const std::string &first_cmd);
47 CommandType type_ {LAST};
|
H A D | command_const.h | 18 enum CommandType { enum
|
H A D | transfer_manager.h | 74 bool CheckResult(const CommandResult result, const std::string &cmd, const CommandType &type);
|
/base/update/updater/test/unittest/applypatch_test/ |
H A D | transfer_manager_unittest.cpp | 55 bool reset = tm->CheckResult(CommandResult::NEED_RETRY, cmd, CommandType::ZERO);
in HWTEST_F()
|
H A D | commands_unittest.cpp | 62 EXPECT_EQ(type, CommandType::MOVE);
in HWTEST_F()
|
Completed in 3 milliseconds