Home
last modified time | relevance | path

Searched refs:existingHal (Results 1 – 3 of 3) sorted by relevance

/system/libvintf/
DCompatibilityMatrix.cpp152 MatrixHal* CompatibilityMatrix::splitInstance(MatrixHal* existingHal, const std::string& interface, in splitInstance() argument
156 existingHal->forEachInstance([&](const auto& matrixInstance) { in splitInstance()
178 return existingHal; in splitInstance()
181 existingHal->removeInstance(interface, instanceOrPattern, isRegex); in splitInstance()
182 MatrixHal copy = *existingHal; in splitInstance()
210 for (auto* existingHal : existingHals) { in addAllHalsAsOptional() local
212 if (halToAdd.format != existingHal->format) { in addAllHalsAsOptional()
217 this->splitInstance(existingHal, interface, instanceOrPattern, isRegex); in addAllHalsAsOptional()
DHalManifest.cpp60 const ManifestHal& existingHal = it->second; in shouldAdd() local
61 for (const auto& v : existingHal.versions) { in shouldAdd()
63 existing.emplace(v.majorVer, std::make_tuple(&existingHal, v)); in shouldAdd()
74 auto&& [existingHal, existingVersion] = existingIt->second; in shouldAdd()
76 if (!existingHal->fileName().empty()) { in shouldAdd()
77 *error += " (from " + existingHal->fileName() + ")"; in shouldAdd()
104 auto& existingHal = existingHalPair.second; in removeHals() local
105 if (existingHal.name != name) { in removeHals()
108 auto& existingVersions = existingHal.versions; in removeHals()
/system/libvintf/include/vintf/
DCompatibilityMatrix.h134 MatrixHal* splitInstance(MatrixHal* existingHal, const std::string& interface,