Lines Matching refs:version
109 auto version = module_versions.find(requirement.module()); in VersionRequirementsMet() local
110 if (version == module_versions.end()) { in VersionRequirementsMet()
111 LOG(DEBUG) << "Not version " << ext_version.version() << ": Module " in VersionRequirementsMet()
115 if (version->second < requirement.version().version()) { in VersionRequirementsMet()
116 LOG(DEBUG) << "Not version " << ext_version.version() << ": Module " in VersionRequirementsMet()
117 << requirement.module() << " version (" << version->second in VersionRequirementsMet()
118 << ") too low. Needed " << requirement.version().version(); in VersionRequirementsMet()
131 if (ext_version.version() > max && in GetSdkLevel()
134 max = ext_version.version(); in GetSdkLevel()
140 bool SetExtension(const std::string& extension_name, int version) { in SetExtension() argument
141 LOG(INFO) << "extension " << extension_name << " version is " << version; in SetExtension()
144 if (!android::base::SetProperty(property_name, std::to_string(version))) { in SetExtension()
154 int version = GetSdkLevel(db, relevant_modules, module_versions); in GetAndSetExtension() local
155 return SetExtension(extension_name, version); in GetAndSetExtension()
177 LOG(INFO) << "Read version " << sdk_version.version() << " from " << module; in ReadSdkInfoFromApexes()
178 versions[module] = sdk_version.version(); in ReadSdkInfoFromApexes()
234 LOG(ERROR) << "version " << ext_version.version() << " requires unmapped module" in SetSdkLevels()
293 for (const auto& version : versions) { in PrintDump() local
294 ostream << " " << SdkModule_Name(version.first) << ":" << version.second << "\n"; in PrintDump()
306 if (requirement.version().version() == ext_version.version()) in PrintDump()
309 new_requirements[ext_version.version()] = new_required; in PrintDump()