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