Home
last modified time | relevance | path

Searched refs:ItemUpdater (Results 1 – 21 of 21) 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;
H A Dactivation.hpp55 class ItemUpdater;
197 ItemUpdater& parent, std::string& versionId, in Activation()
319 ItemUpdater& parent;
H A Ditem_updater.hpp64 class ItemUpdater : public ItemUpdaterInherit class
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 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.hpp43 class ItemUpdater : class
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/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.hpp73 class ItemUpdater : public ItemUpdaterInherit class
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-psu-code-mgmt/test/
H A Dtest_item_updater.cpp23 using Properties = ItemUpdater::Properties;
70 std::unique_ptr<ItemUpdater> itemUpdater;
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()
264 itemUpdater = std::make_unique<ItemUpdater>(mockedBus, dBusPath); in TEST_F()
298 itemUpdater = std::make_unique<ItemUpdater>(mockedBus, dBusPath); in TEST_F()
336 itemUpdater = std::make_unique<ItemUpdater>(mockedBus, dBusPath); in TEST_F()
[all …]
/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()
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Software/
H A DREADME.md36 ### ItemUpdater subsection