Home
last modified time | relevance | path

Searched refs:halToAdd (Results 1 – 2 of 2) sorted by relevance

/system/libvintf/
DCompatibilityMatrix.cpp187 MatrixHal& halToAdd = pair.second; in addAllHalsAsOptional() local
193 halToAdd.forEachInstance([&](const std::vector<VersionRange>& versionRanges, in addAllHalsAsOptional()
198 if (halToAdd.format != existingHal->format) { in addAllHalsAsOptional()
218 halToAdd.removeInstance(pair.first, pair.second, false /* isRegex */); in addAllHalsAsOptional()
221 halToAdd.removeInstance(pair.first, pair.second, true /* isRegex */); in addAllHalsAsOptional()
224 if (halToAdd.instancesCount() > 0) { in addAllHalsAsOptional()
225 halToAdd.setOptional(true); in addAllHalsAsOptional()
226 if (!add(std::move(halToAdd))) { in addAllHalsAsOptional()
DHalManifest.cpp93 bool HalManifest::add(ManifestHal&& halToAdd) { in add() argument
94 if (halToAdd.isOverride()) { in add()
95 if (halToAdd.isDisabledHal()) { in add()
98 mHals.erase(halToAdd.name); in add()
101 for (const Version& versionToAdd : halToAdd.versions) { in add()
102 removeHals(halToAdd.name, versionToAdd.majorVer); in add()
106 return HalGroup::add(std::move(halToAdd)); in add()