Searched refs:command_map (Results 1 – 2 of 2) sorted by relevance
/bootable/recovery/install/ |
D | adb_install.cpp | 157 const std::map<MinadbdCommand, CommandFunction>& command_map) { in HandleMessageFromMinadbd() argument 169 if (command_map.find(command_type) == command_map.end()) { in HandleMessageFromMinadbd() 177 const auto& command_func = command_map.at(command_type); in HandleMessageFromMinadbd() 190 const std::map<MinadbdCommand, CommandFunction>& command_map) { in ListenAndExecuteMinadbdCommands() argument 237 if (!HandleMessageFromMinadbd(socket_fd.get(), command_map)) { in ListenAndExecuteMinadbdCommands() 279 RecoveryUI* ui, const std::map<MinadbdCommand, CommandFunction>& command_map, in CreateMinadbdServiceAndExecuteCommands() argument 320 std::move(recovery_socket), std::ref(command_map)); in CreateMinadbdServiceAndExecuteCommands() 350 std::map<MinadbdCommand, CommandFunction> command_map{ in ApplyFromAdb() local 370 command_map.emplace(MinadbdCommand::kWipeData, [&device]() { in ApplyFromAdb() 374 command_map.emplace(MinadbdCommand::kNoOp, []() { return std::make_pair(true, true); }); in ApplyFromAdb() [all …]
|
/bootable/recovery/updater/ |
D | blockimg.cpp | 1628 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()
|