Lines Matching full:activation

3 #include "activation.hpp"
31 sdbusplus::server::xyz::openbmc_project::software::Activation;
35 auto Activation::activation(Activations value) -> Activations in activation() function in phosphor::software::updater::Activation
47 return SoftwareActivation::activation(value); in activation()
50 auto Activation::requestedActivation(RequestedActivations value) in requestedActivation()
61 if ((activation() == Status::Ready) || in requestedActivation()
62 (activation() == Status::Failed) || in requestedActivation()
63 (activation() == Status::Active)) in requestedActivation()
65 if (activation(Status::Activating) != Status::Activating) in requestedActivation()
67 // Activation attempt failed in requestedActivation()
72 else if (activation() == Status::Activating) in requestedActivation()
74 // Activation was requested when one was already in progress. in requestedActivation()
75 // Activate again once the current activation is done. New PSU in requestedActivation()
84 auto Activation::extendedVersion(std::string value) -> std::string in extendedVersion()
93 void Activation::unitStateChange(sdbusplus::message_t& msg) in unitStateChange()
124 bool Activation::doUpdate(const std::string& psuInventoryPath) in doUpdate()
145 bool Activation::doUpdate() in doUpdate()
159 void Activation::onUpdateDone() in onUpdateDone()
164 // Update the activation association in onUpdateDone()
177 void Activation::onUpdateFailed() in onUpdateFailed()
182 activation(Status::Failed); in onUpdateFailed()
187 Activation::Status Activation::startActivation() in startActivation()
189 // Check if the activation has file path in startActivation()
193 "No image for the activation, skipped version {VERSION_ID}", in startActivation()
195 return activation(); // Return the previous activation status in startActivation()
230 return activation(); // Return the previous activation status in startActivation()
262 void Activation::finishActivation() in finishActivation()
276 activation(Status::Active); in finishActivation()
278 // Automatically restart activation if a request occurred while code update in finishActivation()
288 void Activation::deleteImageManagerObject() in deleteImageManagerObject()
337 bool Activation::isPresent(const std::string& psuInventoryPath) in isPresent()
358 bool Activation::isCompatible(const std::string& psuInventoryPath) in isCompatible()
389 void Activation::storeImage() in storeImage()
416 std::string Activation::getUpdateService(const std::string& psuInventoryPath) in getUpdateService()
449 lg2::info("PSU activation has ended - BMC reboots are re-enabled."); in disableRebootGuard()