Home
last modified time | relevance | path

Searched refs:softwareCurrent (Results 1 – 22 of 22) sorted by relevance

/openbmc/phosphor-bmc-code-mgmt/test/common/exampledevice/
H A Dexample_device.cpp61 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 Dexample_device.hpp62 using Device::softwareCurrent;
/openbmc/phosphor-bmc-code-mgmt/test/common/software/
H A Dsoftware_version.cpp25 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 Dsoftware_update.cpp37 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 Dsoftware_association.cpp28 reinterpret_cast<ExampleSoftware*>(device->softwareCurrent.get()) in SoftwareAssocTest()
91 reinterpret_cast<ExampleSoftware*>(device->softwareCurrent.get()) in testSoftwareAssociation()
H A Dsoftware.cpp41 EXPECT_EQ(device->softwareCurrent, nullptr); in TEST_F()
/openbmc/phosphor-bmc-code-mgmt/test/common/device/
H A Ddevice.cpp91 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 Ddevice.cpp115 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 Dsoftware_manager.cpp183 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 Dbios_software_manager.cpp111 spiDevice->softwareCurrent = std::move(software); in initDevice()
113 spiDevice->softwareCurrent->setVersion( in initDevice()
H A Dspi_device.hpp44 using Device::softwareCurrent;
H A Dspi_device.cpp480 if (softwareCurrent) in processUpdate()
482 softwareCurrent->setVersion(getVersion(), in processUpdate()
/openbmc/phosphor-bmc-code-mgmt/i2c-vr/
H A Di2cvr_device.hpp23 using DeviceInf::Device::softwareCurrent;
H A Di2cvr_software_manager.cpp99 i2cDevice->softwareCurrent = std::move(software); in initDevice()
/openbmc/phosphor-bmc-code-mgmt/cpld/
H A Dcpld.hpp33 using Device::softwareCurrent;
H A Dcpld_software_manager.cpp92 cpld->softwareCurrent = std::move(software); in initDevice()
/openbmc/phosphor-bmc-code-mgmt/eeprom-device/
H A Deeprom_device.hpp28 using Device::softwareCurrent;
H A Deeprom_device_software_manager.cpp182 eepromDevice->softwareCurrent = std::move(software); in initDevice()
H A Deeprom_device.cpp319 softwareCurrent->setVersion( in processHostStateChange()
/openbmc/phosphor-bmc-code-mgmt/tpm/
H A Dtpm_device.hpp43 using Device::softwareCurrent;
H A Dtpm_software_manager.cpp72 tpmDevice->softwareCurrent = std::move(software); in initDevice()
/openbmc/phosphor-bmc-code-mgmt/common/include/
H A Ddevice.hpp77 std::unique_ptr<Software> softwareCurrent; member in phosphor::software::device::Device