Home
last modified time | relevance | path

Searched full:itemupdater (Results 1 – 23 of 23) sorted by relevance

/openbmc/phosphor-bmc-code-mgmt/bmc/
H A Ditem_updater.cpp42 void ItemUpdater::createActivation(sdbusplus::message_t& msg) in createActivation()
141 void ItemUpdater::createActivationWithApplyTime( in createActivationWithApplyTime()
158 ActivationIntf::Activations ItemUpdater::verifyAndCreateObjects( in verifyAndCreateObjects()
165 ItemUpdater::ActivationStatus result; in verifyAndCreateObjects()
168 result = ItemUpdater::validateSquashFSImage(filePath); in verifyAndCreateObjects()
172 result = ItemUpdater::ActivationStatus::ready; in verifyAndCreateObjects()
177 if (result == ItemUpdater::ActivationStatus::ready) in verifyAndCreateObjects()
188 std::bind(&ItemUpdater::erase, this, std::placeholders::_1), id); in verifyAndCreateObjects()
208 bool ItemUpdater::requestActivation(std::string& id) in requestActivation()
221 bool ItemUpdater::updateActivationStatus(std::string& id, in updateActivationStatus()
[all …]
H A Dupdate_manager.hpp14 class ItemUpdater;
22 using ItemUpdaterIntf = phosphor::software::updater::ItemUpdater;
40 ItemUpdaterIntf& itemUpdater) : in Manager() argument
42 ctx(ctx), itemUpdater(itemUpdater) in Manager()
71 ItemUpdaterIntf& itemUpdater; member in phosphor::software::update::Manager
H A Dupdate_manager.cpp39 itemUpdater.updateActivationStatus(id, in processImageFailed()
161 if (!verifyImagePurpose(purpose, itemUpdater.type)) in processImage()
188 auto state = itemUpdater.verifyAndCreateObjects( in processImage()
203 itemUpdater.requestActivation(id); in processImage()
229 itemUpdater.createActivationWithApplyTime(id, objPath, applyTime); in startUpdate()
H A Ditem_updater.hpp61 /** @class ItemUpdater
64 class ItemUpdater : public ItemUpdaterInherit class
85 /** @brief Constructs ItemUpdater
89 ItemUpdater(sdbusplus::async::context& ctx, const std::string& path, in ItemUpdater() function in phosphor::software::updater::ItemUpdater
103 std::bind(std::mem_fn(&ItemUpdater::createActivation), this, in ItemUpdater()
H A Dactivation.hpp55 class ItemUpdater;
197 ItemUpdater& parent, std::string& versionId, in Activation()
319 ItemUpdater& parent;
H A Ditem_updater_main.cpp10 using ItemUpdaterIntf = phosphor::software::updater::ItemUpdater;
H A Dsoftware_manager.cpp10 using ItemUpdaterIntf = phosphor::software::updater::ItemUpdater;
/openbmc/phosphor-psu-code-mgmt/src/
H A Ditem_updater.cpp37 void ItemUpdater::onVersionInterfacesAddedMsg(sdbusplus::message_t& msg) in onVersionInterfacesAddedMsg()
55 void ItemUpdater::onVersionInterfacesAdded(const std::string& path, in onVersionInterfacesAdded()
143 void ItemUpdater::erase(const std::string& versionId) in erase()
172 void ItemUpdater::createActiveAssociation(const std::string& path) in createActiveAssociation()
179 void ItemUpdater::addFunctionalAssociation(const std::string& path) in addFunctionalAssociation()
186 void ItemUpdater::addUpdateableAssociation(const std::string& path) in addUpdateableAssociation()
193 void ItemUpdater::removeAssociation(const std::string& path) in removeAssociation()
209 void ItemUpdater::onUpdateDone(const std::string& versionId, in onUpdateDone()
235 std::unique_ptr<Activation> ItemUpdater::createActivationObject( in createActivationObject()
245 void ItemUpdater::createPsuObject(const std::string& psuInventoryPath, in createPsuObject()
[all …]
H A Ditem_updater.hpp40 /** @class ItemUpdater
43 class ItemUpdater : class
51 /** @brief Constructs ItemUpdater
56 ItemUpdater(sdbusplus::bus_t& bus, const std::string& path) : in ItemUpdater() function in phosphor::software::updater::ItemUpdater
61 std::bind(std::mem_fn(&ItemUpdater::onVersionInterfacesAddedMsg), in ItemUpdater()
68 std::bind(std::mem_fn(&ItemUpdater::onPSUInterfacesAdded), this, in ItemUpdater()
H A Dmain.cpp18 phosphor::software::updater::ItemUpdater updater(bus, SOFTWARE_OBJPATH); in main()
/openbmc/phosphor-psu-code-mgmt/test/
H A Dtest_item_updater.cpp23 using Properties = ItemUpdater::Properties;
47 return itemUpdater->activations; in GetActivations()
58 itemUpdater->onPsuInventoryChanged(psuPath, properties); in onPsuInventoryChanged()
63 itemUpdater->scanDirectory(p); in scanDirectory()
70 std::unique_ptr<ItemUpdater> itemUpdater; member in TestItemUpdater
78 itemUpdater = std::make_unique<ItemUpdater>(mockedBus, dBusPath); in TEST_F()
102 itemUpdater = std::make_unique<ItemUpdater>(mockedBus, dBusPath); in TEST_F()
130 itemUpdater = std::make_unique<ItemUpdater>(mockedBus, dBusPath); in TEST_F()
171 itemUpdater = std::make_unique<ItemUpdater>(mockedBus, dBusPath); in TEST_F()
223 itemUpdater = std::make_unique<ItemUpdater>(mockedBus, dBusPath); in TEST_F()
[all …]
/openbmc/openpower-pnor-code-mgmt/
H A Ditem_updater.cpp24 void ItemUpdater::createActivation(sdbusplus::message_t& m) in createActivation()
124 void ItemUpdater::createActiveAssociation(const std::string& path) in createActiveAssociation()
131 void ItemUpdater::createUpdateableAssociation(const std::string& path) in createUpdateableAssociation()
138 void ItemUpdater::updateFunctionalAssociation(const std::string& versionId) in updateFunctionalAssociation()
158 void ItemUpdater::removeAssociation(const std::string& path) in removeAssociation()
174 bool ItemUpdater::erase(std::string entryId) in erase()
216 bool ItemUpdater::isChassisOn() in isChassisOn()
H A Ditem_updater.hpp70 /** @class ItemUpdater
73 class ItemUpdater : public ItemUpdaterInherit class
76 /** @brief Constructs ItemUpdater
81 ItemUpdater(sdbusplus::bus_t& bus, const std::string& path) : in ItemUpdater() function in openpower::software::updater::ItemUpdater
86 std::bind(std::mem_fn(&ItemUpdater::createActivation), in ItemUpdater()
90 virtual ~ItemUpdater() = default;
H A Dversion.hpp20 class ItemUpdater;
86 ItemUpdater& parent, const std::string& versionId, in Version()
171 ItemUpdater& parent;
H A Dactivation.hpp53 class ItemUpdater;
155 ItemUpdater& parent, const std::string& versionId, in Activation()
215 ItemUpdater& parent;
H A Ditem_updater_main.cpp38 std::bind(std::mem_fn(&ItemUpdater::updateFunctionalAssociation), in initializeService()
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Software/
H A DRequestedRedundancyPriority.interface.yaml9 Upon Activation of the software Version, the *ItemUpdater* should
17 Some *ItemUpdater* implementations may be unable to apply this
H A DREADME.md36 ### ItemUpdater subsection
/openbmc/openpower-pnor-code-mgmt/static/
H A Ditem_updater_static.hpp30 class ItemUpdaterStatic : public ItemUpdater
34 ItemUpdater(bus, path) in ItemUpdaterStatic()
H A Ditem_updater_static.cpp357 ItemUpdater::updateFunctionalAssociation(versionId); in updateFunctionalAssociation()
/openbmc/openpower-pnor-code-mgmt/mmc/
H A Ditem_updater_mmc.hpp49 class ItemUpdaterMMC : public ItemUpdater
53 ItemUpdater(bus, path) in ItemUpdaterMMC()
/openbmc/openpower-pnor-code-mgmt/ubi/
H A Ditem_updater_ubi.hpp30 class ItemUpdaterUbi : public ItemUpdater
34 ItemUpdater(bus, path) in ItemUpdaterUbi()
H A Ditem_updater_ubi.cpp318 if (!ItemUpdater::erase(entryId)) in erase()