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
63 return strategies_; in GetStrategy()
74 if (!Visit<SETVAL>(specificNode, defaultNode, strategies_[mode])) { in LoadStrategy()
78 LOG(DEBUG) << "mode " << modeStr_[mode] << ":\n" << strategies_[mode]; in LoadStrategy()
84 std::unordered_map<UpdaterMode, UiStrategyCfg>().swap(strategies_); in LoadStrategy()
90 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.cpp26 …: strategies_ {UpdaterUiConfig::GetStrategy()}, pgMgr_ {PageManager::GetInstance()}, mode_ {Update… in UpdaterUiFacade()
66 return {false, strategies_.cend()}; in CheckMode()
68 auto it = strategies_.find(mode_); in CheckMode()
69 if (it == strategies_.end()) { in CheckMode()
71 return {false, strategies_.cend()}; in CheckMode()
Dupdater_ui_facade.h62 const StrategyMap &strategies_; variable