Lines Matching full:purpose
43 bool verifyImagePurpose(Version::VersionPurpose purpose, in verifyImagePurpose() argument
46 if (purpose == Version::VersionPurpose::Host) in verifyImagePurpose()
140 // Get purpose in processImage()
141 auto purposeString = Version::getValue(manifestPath.string(), "purpose"); in processImage()
144 error("Unable to read purpose from manifest file"); in processImage()
156 "Failed to convert manifest purpose ({PURPOSE}) to enum; setting to Unknown.", in processImage()
157 "PURPOSE", purposeString); in processImage()
159 auto purpose = convertedPurpose.value_or(Version::VersionPurpose::Unknown); in processImage() local
161 if (!verifyImagePurpose(purpose, itemUpdater.type)) in processImage()
163 error("Purpose ({PURPOSE}) is not supported", "PURPOSE", purpose); in processImage()
166 ImageFail::FAIL("Purpose is not supported"), in processImage()
189 id, objPath, version, purpose, extendedVersion, filePath, in processImage()