Home
last modified time | relevance | path

Searched refs:command_map (Results 1 – 2 of 2) sorted by relevance

/bootable/recovery/install/
Dadb_install.cpp153 const std::map<MinadbdCommand, CommandFunction>& command_map) { in HandleMessageFromMinadbd() argument
165 if (command_map.find(command_type) == command_map.end()) { in HandleMessageFromMinadbd()
173 const auto& command_func = command_map.at(command_type); in HandleMessageFromMinadbd()
186 const std::map<MinadbdCommand, CommandFunction>& command_map) { in ListenAndExecuteMinadbdCommands() argument
233 if (!HandleMessageFromMinadbd(socket_fd.get(), command_map)) { in ListenAndExecuteMinadbdCommands()
275 RecoveryUI* ui, const std::map<MinadbdCommand, CommandFunction>& command_map, in CreateMinadbdServiceAndExecuteCommands() argument
316 std::move(recovery_socket), std::ref(command_map)); in CreateMinadbdServiceAndExecuteCommands()
346 std::map<MinadbdCommand, CommandFunction> command_map{ in ApplyFromAdb() local
366 command_map.emplace(MinadbdCommand::kWipeData, [&device]() { in ApplyFromAdb()
370 command_map.emplace(MinadbdCommand::kNoOp, []() { return std::make_pair(true, true); }); in ApplyFromAdb()
[all …]
/bootable/recovery/updater/
Dblockimg.cpp1623 const CommandMap& command_map, bool dryrun) { in PerformBlockImageUpdate() argument
1838 const CommandFunction& performer = command_map.at(cmd_type); in PerformBlockImageUpdate()
2018 const CommandMap command_map{ in BlockImageVerifyFn() local
2032 CHECK_EQ(static_cast<size_t>(Command::Type::LAST), command_map.size()); in BlockImageVerifyFn()
2035 return PerformBlockImageUpdate(name, state, argv, command_map, true); in BlockImageVerifyFn()
2040 const CommandMap command_map{ in BlockImageUpdateFn() local
2054 CHECK_EQ(static_cast<size_t>(Command::Type::LAST), command_map.size()); in BlockImageUpdateFn()
2056 return PerformBlockImageUpdate(name, state, argv, command_map, false); in BlockImageUpdateFn()