Lines Matching refs:command_map
158 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()
380 CreateMinadbdServiceAndExecuteCommands(ui, command_map, rescue_mode); in ApplyFromAdb()