/openbmc/phosphor-bmc-code-mgmt/bmc/ |
H A D | item_updater.cpp | 42 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 D | update_manager.hpp | 14 class ItemUpdater; 22 using ItemUpdaterIntf = phosphor::software::updater::ItemUpdater;
|
H A D | activation.hpp | 55 class ItemUpdater; 197 ItemUpdater& parent, std::string& versionId, in Activation() 319 ItemUpdater& parent;
|
H A D | item_updater.hpp | 64 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 D | item_updater_main.cpp | 10 using ItemUpdaterIntf = phosphor::software::updater::ItemUpdater;
|
H A D | software_manager.cpp | 10 using ItemUpdaterIntf = phosphor::software::updater::ItemUpdater;
|
/openbmc/phosphor-psu-code-mgmt/src/ |
H A D | item_updater.cpp | 37 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 D | item_updater.hpp | 43 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 D | main.cpp | 18 phosphor::software::updater::ItemUpdater updater(bus, SOFTWARE_OBJPATH); in main()
|
/openbmc/openpower-pnor-code-mgmt/ |
H A D | item_updater.cpp | 24 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 D | item_updater.hpp | 73 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 D | version.hpp | 20 class ItemUpdater; 86 ItemUpdater& parent, const std::string& versionId, in Version() 171 ItemUpdater& parent;
|
H A D | activation.hpp | 53 class ItemUpdater; 155 ItemUpdater& parent, const std::string& versionId, in Activation() 215 ItemUpdater& parent;
|
H A D | item_updater_main.cpp | 38 std::bind(std::mem_fn(&ItemUpdater::updateFunctionalAssociation), in initializeService()
|
/openbmc/phosphor-psu-code-mgmt/test/ |
H A D | test_item_updater.cpp | 23 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 D | item_updater_static.hpp | 30 class ItemUpdaterStatic : public ItemUpdater 34 ItemUpdater(bus, path) in ItemUpdaterStatic()
|
H A D | item_updater_static.cpp | 357 ItemUpdater::updateFunctionalAssociation(versionId); in updateFunctionalAssociation()
|
/openbmc/openpower-pnor-code-mgmt/mmc/ |
H A D | item_updater_mmc.hpp | 49 class ItemUpdaterMMC : public ItemUpdater 53 ItemUpdater(bus, path) in ItemUpdaterMMC()
|
/openbmc/openpower-pnor-code-mgmt/ubi/ |
H A D | item_updater_ubi.hpp | 30 class ItemUpdaterUbi : public ItemUpdater 34 ItemUpdater(bus, path) in ItemUpdaterUbi()
|
H A D | item_updater_ubi.cpp | 318 if (!ItemUpdater::erase(entryId)) in erase()
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Software/ |
H A D | README.md | 36 ### ItemUpdater subsection
|