Home
last modified time | relevance | path

Searched refs:strategies_ (Results 1 – 4 of 4) sorted by relevance

/base/update/updater/services/ui/strategy/
Dui_strategy.cpp52 std::unordered_map<UpdaterMode, UiStrategyCfg> UiStrategy::strategies_; member in Updater::UiStrategy
62 return strategies_; in GetStrategy()
73 if (!Visit<SETVAL>(specificNode, defaultNode, strategies_[mode])) { in LoadStrategy()
77 LOG(DEBUG) << "mode " << modeStr_[mode] << ":\n" << strategies_[mode]; in LoadStrategy()
83 std::unordered_map<UpdaterMode, UiStrategyCfg>().swap(strategies_); in LoadStrategy()
89 std::unordered_map<UpdaterMode, UiStrategyCfg>().swap(strategies_); in LoadStrategy()
Dui_strategy.h37 static std::unordered_map<UpdaterMode, UiStrategyCfg> strategies_; variable
/base/update/updater/services/ui/
Dupdater_ui_facade.cpp25 …: strategies_ {UpdaterUiConfig::GetStrategy()}, pgMgr_ {PageManager::GetInstance()}, mode_ {Update… in UpdaterUiFacade()
63 return {false, strategies_.cend()}; in CheckMode()
65 auto it = strategies_.find(mode_); in CheckMode()
66 if (it == strategies_.end()) { in CheckMode()
68 return {false, strategies_.cend()}; in CheckMode()
Dupdater_ui_facade.h62 const StrategyMap &strategies_; variable