Home
last modified time | relevance | path

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

/system/libvintf/
DCompatibilityMatrix.cpp151 MatrixHal* CompatibilityMatrix::splitInstance(MatrixHal* existingHal, const std::string& interface, in splitInstance() argument
155 existingHal->forEachInstance([&](const auto& matrixInstance) { in splitInstance()
177 return existingHal; in splitInstance()
180 existingHal->removeInstance(interface, instanceOrPattern, isRegex); in splitInstance()
181 MatrixHal copy = *existingHal; in splitInstance()
209 for (auto* existingHal : existingHals) { in addAllHalsAsOptional() local
211 if (halToAdd.format != existingHal->format) { in addAllHalsAsOptional()
216 this->splitInstance(existingHal, interface, instanceOrPattern, isRegex); in addAllHalsAsOptional()
DHalManifest.cpp69 const ManifestHal& existingHal = it->second; in addingConflictingMajorVersion() local
70 for (const auto& v : existingHal.versions) { in addingConflictingMajorVersion()
72 existing.emplace(v.majorVer, std::make_tuple(&existingHal, v)); in addingConflictingMajorVersion()
83 auto&& [existingHal, existingVersion] = existingIt->second; in addingConflictingMajorVersion()
85 if (!existingHal->fileName().empty()) { in addingConflictingMajorVersion()
86 *error += " (from " + existingHal->fileName() + ")"; in addingConflictingMajorVersion()
113 auto& existingHal = existingHalPair.second; in removeHals() local
114 if (existingHal.name != name) { in removeHals()
117 auto& existingVersions = existingHal.versions; in removeHals()
/system/libvintf/include/vintf/
DCompatibilityMatrix.h140 MatrixHal* splitInstance(MatrixHal* existingHal, const std::string& interface,