Home
last modified time | relevance | path

Searched refs:softwarePending (Results 1 – 4 of 4) sorted by relevance

/openbmc/phosphor-bmc-code-mgmt/common/src/
H A Ddevice.cpp103 std::unique_ptr<Software> softwarePendingOld = std::move(softwarePending); in startUpdateAsync()
105 softwarePending = std::move(softwarePendingIn); in startUpdateAsync()
113 softwarePending->setActivation(ActivationFailed); in startUpdateAsync()
117 softwarePending = std::move(softwarePendingOld); in startUpdateAsync()
124 softwareCurrent = std::move(softwarePending); in startUpdateAsync()
128 softwarePending = nullptr; in startUpdateAsync()
151 if (!softwarePending || !softwarePending->softwareActivationProgress) in setUpdateProgress()
156 softwarePending->softwareActivationProgress->progress(progress); in setUpdateProgress()
165 softwarePending->setActivation(ActivationInterface::Activations::Ready); in continueUpdateWithMappedPackage()
167 softwarePending->setVersion(componentVersion, in continueUpdateWithMappedPackage()
[all …]
/openbmc/phosphor-bmc-code-mgmt/test/common/device/
H A Ddevice.cpp94 EXPECT_EQ(device->softwarePending, nullptr); in TEST_F()
126 EXPECT_FALSE(device->softwarePending); in testDeviceStartUpdateCommon()
136 EXPECT_EQ(device->softwarePending.get(), newSoftware); in testDeviceStartUpdateCommon()
203 EXPECT_EQ(device->softwarePending, nullptr); in testDeviceSpecificUpdateFunction()
/openbmc/phosphor-bmc-code-mgmt/test/common/exampledevice/
H A Dexample_device.hpp63 using Device::softwarePending;
/openbmc/phosphor-bmc-code-mgmt/common/include/
H A Ddevice.hpp82 std::unique_ptr<Software> softwarePending; member in phosphor::software::device::Device