Home
last modified time | relevance | path

Searched refs:bootMode (Results 1 – 2 of 2) sorted by relevance

/base/update/updater/services/
Dmain.cpp37 auto bootMode = SelectMode(boot).value_or(BOOT_MODE(Updater, "updater.hdc.configfs")); in main() local
40 bootMode.InitMode(); in main()
43 return bootMode.entryFunc(argc, argv); in main()
Dupdater_utils.cpp194 auto it = std::find_if(modes.begin(), modes.end(), [&boot] (const auto &bootMode) { in SelectMode() argument
195 if (bootMode.cond != nullptr && bootMode.cond(boot)) { in SelectMode()
198 LOG(WARNING) << "condition for mode " << bootMode.modeName << " is not satisfied"; in SelectMode()