Home
last modified time | relevance | path

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

/bootable/recovery/install/
Dadb_install.cpp158 const std::map<MinadbdCommand, CommandFunction>& command_map) { in HandleMessageFromMinadbd() argument
170 if (command_map.find(command_type) == command_map.end()) { in HandleMessageFromMinadbd()
178 const auto& command_func = command_map.at(command_type); in HandleMessageFromMinadbd()
191 const std::map<MinadbdCommand, CommandFunction>& command_map) { in ListenAndExecuteMinadbdCommands() argument
238 if (!HandleMessageFromMinadbd(socket_fd.get(), command_map)) { in ListenAndExecuteMinadbdCommands()
280 RecoveryUI* ui, const std::map<MinadbdCommand, CommandFunction>& command_map, in CreateMinadbdServiceAndExecuteCommands() argument
321 std::move(recovery_socket), std::ref(command_map)); in CreateMinadbdServiceAndExecuteCommands()
351 std::map<MinadbdCommand, CommandFunction> command_map{ in ApplyFromAdb() local
371 command_map.emplace(MinadbdCommand::kWipeData, [&device]() { in ApplyFromAdb()
375 command_map.emplace(MinadbdCommand::kNoOp, []() { return std::make_pair(true, true); }); in ApplyFromAdb()
[all …]
/bootable/deprecated-ota/updater/
Dblockimg.cpp1628 const CommandMap& command_map, bool dryrun) { in PerformBlockImageUpdate() argument
1843 const CommandFunction& performer = command_map.at(cmd_type); in PerformBlockImageUpdate()
2027 const CommandMap command_map{ in BlockImageVerifyFn() local
2041 CHECK_EQ(static_cast<size_t>(Command::Type::LAST), command_map.size()); in BlockImageVerifyFn()
2044 return PerformBlockImageUpdate(name, state, argv, command_map, true); in BlockImageVerifyFn()
2049 const CommandMap command_map{ in BlockImageUpdateFn() local
2063 CHECK_EQ(static_cast<size_t>(Command::Type::LAST), command_map.size()); in BlockImageUpdateFn()
2065 return PerformBlockImageUpdate(name, state, argv, command_map, false); in BlockImageUpdateFn()