| /openbmc/phosphor-bmc-code-mgmt/test/common/exampledevice/ |
| H A D | example_device.cpp | 61 device->softwareCurrent = in ExampleCodeUpdater() 63 device->softwareCurrent->setVersion(swVersion); in ExampleCodeUpdater() 86 device->softwareCurrent = std::make_unique<ExampleSoftware>(ctx, *device); in initDevice() 88 device->softwareCurrent->setVersion("v1.0", in initDevice() 90 device->softwareCurrent->setActivation( in initDevice() 94 device->softwareCurrent->enableUpdate(applyTimes); in initDevice()
|
| H A D | example_device.hpp | 62 using Device::softwareCurrent;
|
| /openbmc/phosphor-bmc-code-mgmt/test/common/software/ |
| H A D | software_version.cpp | 25 device->softwareCurrent = std::make_unique<ExampleSoftware>(ctx, *device); in testSoftwareVersion() 28 reinterpret_cast<ExampleSoftware*>(device->softwareCurrent.get()) in testSoftwareVersion() 51 device->softwareCurrent->setVersion("v12.6"); in testSoftwareVersion() 58 device->softwareCurrent->setVersion("v20"); in testSoftwareVersion()
|
| H A D | software_update.cpp | 37 device->softwareCurrent->enableUpdate({RequestedApplyTimes::Immediate}); in testSoftwareUpdateCommon() 40 reinterpret_cast<ExampleSoftware*>(device->softwareCurrent.get()) in testSoftwareUpdateCommon() 88 EXPECT_EQ(device->softwareCurrent->swid, objPathNewSoftware.filename()); in testSoftwareUpdateCommon()
|
| H A D | software_association.cpp | 28 reinterpret_cast<ExampleSoftware*>(device->softwareCurrent.get()) in SoftwareAssocTest() 91 reinterpret_cast<ExampleSoftware*>(device->softwareCurrent.get()) in testSoftwareAssociation()
|
| H A D | software.cpp | 41 EXPECT_EQ(device->softwareCurrent, nullptr); in TEST_F()
|
| /openbmc/phosphor-bmc-code-mgmt/test/common/device/ |
| H A D | device.cpp | 91 EXPECT_NE(device->softwareCurrent, nullptr); in TEST_F() 101 const Software* oldSoftware = device->softwareCurrent.get(); in testDeviceStartUpdateCommon() 123 EXPECT_NE(device->softwareCurrent.get(), oldSoftware); in testDeviceStartUpdateCommon() 124 EXPECT_EQ(device->softwareCurrent.get(), newSoftware); in testDeviceStartUpdateCommon() 133 EXPECT_EQ(device->softwareCurrent.get(), oldSoftware); in testDeviceStartUpdateCommon() 195 auto previousVersion = device->softwareCurrent->swid; in testDeviceSpecificUpdateFunction() 202 EXPECT_NE(device->softwareCurrent, nullptr); in testDeviceSpecificUpdateFunction()
|
| /openbmc/phosphor-bmc-code-mgmt/common/src/ |
| H A D | device.cpp | 115 softwareCurrent->swid); in startUpdateAsync() 124 softwareCurrent = std::move(softwarePending); in startUpdateAsync() 131 softwareCurrent->swid); in startUpdateAsync() 168 softwareCurrent->getPurpose().value_or( in continueUpdateWithMappedPackage()
|
| H A D | software_manager.cpp | 183 if (device->softwareCurrent) in handleInterfaceAdded() 185 co_await device->softwareCurrent->createInventoryAssociations(true); in handleInterfaceAdded() 187 device->softwareCurrent->setActivation( in handleInterfaceAdded()
|
| /openbmc/phosphor-bmc-code-mgmt/bios/ |
| H A D | bios_software_manager.cpp | 111 spiDevice->softwareCurrent = std::move(software); in initDevice() 113 spiDevice->softwareCurrent->setVersion( in initDevice()
|
| H A D | spi_device.hpp | 44 using Device::softwareCurrent;
|
| H A D | spi_device.cpp | 480 if (softwareCurrent) in processUpdate() 482 softwareCurrent->setVersion(getVersion(), in processUpdate()
|
| /openbmc/phosphor-bmc-code-mgmt/i2c-vr/ |
| H A D | i2cvr_device.hpp | 23 using DeviceInf::Device::softwareCurrent;
|
| H A D | i2cvr_software_manager.cpp | 99 i2cDevice->softwareCurrent = std::move(software); in initDevice()
|
| /openbmc/phosphor-bmc-code-mgmt/cpld/ |
| H A D | cpld.hpp | 33 using Device::softwareCurrent;
|
| H A D | cpld_software_manager.cpp | 92 cpld->softwareCurrent = std::move(software); in initDevice()
|
| /openbmc/phosphor-bmc-code-mgmt/eeprom-device/ |
| H A D | eeprom_device.hpp | 28 using Device::softwareCurrent;
|
| H A D | eeprom_device_software_manager.cpp | 182 eepromDevice->softwareCurrent = std::move(software); in initDevice()
|
| H A D | eeprom_device.cpp | 319 softwareCurrent->setVersion( in processHostStateChange()
|
| /openbmc/phosphor-bmc-code-mgmt/tpm/ |
| H A D | tpm_device.hpp | 43 using Device::softwareCurrent;
|
| H A D | tpm_software_manager.cpp | 72 tpmDevice->softwareCurrent = std::move(software); in initDevice()
|
| /openbmc/phosphor-bmc-code-mgmt/common/include/ |
| H A D | device.hpp | 77 std::unique_ptr<Software> softwareCurrent; member in phosphor::software::device::Device
|