Lines Matching full:activation
119 // Determine the Activation state by processing the given image dir. in onVersionInterfacesAdded()
121 auto activationState = Activation::Status::Ready; in onVersionInterfacesAdded()
132 auto activation = in onVersionInterfacesAdded() local
135 activations.emplace(versionId, std::move(activation)); in onVersionInterfacesAdded()
212 // After update is done, remove old activation objects in onUpdateDone()
226 lg2::error("Unable to find Activation for version ID {VERSION_ID}", in onUpdateDone()
235 std::unique_ptr<Activation> ItemUpdater::createActivationObject( in createActivationObject()
237 const std::string& extVersion, Activation::Status activationStatus, in createActivationObject()
240 return std::make_unique<Activation>(bus, path, versionId, extVersion, in createActivationObject()
266 auto activationState = Activation::Status::Active; in createPsuObject()
272 auto activation = createActivationObject( in createPsuObject() local
274 activations.emplace(versionId, std::move(activation)); in createPsuObject()
292 lg2::error("No Activation found for PSU {PSUPATH}", "PSUPATH", in removePsuObject()
313 // Remove the activation in removePsuObject()
518 // Calculate version ID and check if an Activation for it exists in scanDirectory()
524 auto activationState = Activation::Status::Ready; in scanDirectory()
528 auto activation = createActivationObject(objPath, versionId, extVersion, in scanDirectory() local
530 activations.emplace(versionId, std::move(activation)); in scanDirectory()
538 // Activation already exists. It may have been created for code that is in scanDirectory()
540 // The properties are not set when the Activation is created for code in scanDirectory()
643 lg2::error("Unable to find Activation for versionId {VERSION_ID}", in syncToLatestImage()
647 const auto& activation = it->second; in syncToLatestImage() local
648 const auto& assocs = activation->associations(); in syncToLatestImage()
654 // image, run the activation so that all PSUs are running the same in syncToLatestImage()
662 invokeActivation(activation); in syncToLatestImage()
670 const std::unique_ptr<Activation>& activation) in invokeActivation() argument
672 activation->requestedActivation(Activation::RequestedActivations::Active); in invokeActivation()
728 for (const auto& activation : activations) in getFWVersionFromBuiltinDir() local
730 if (activation.second->path().starts_with(IMG_DIR_BUILTIN)) in getFWVersionFromBuiltinDir()
732 std::string versionId = activation.second->getVersionId(); in getFWVersionFromBuiltinDir()