Home
last modified time | relevance | path

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

/system/libvintf/
DCompatibilityMatrix.cpp34 bool CompatibilityMatrix::add(MatrixHal&& halToAdd, std::string*) { in add() argument
35 CHECK(addInternal(std::move(halToAdd)) != nullptr); in add()
200 MatrixHal& halToAdd = pair.second; in addAllHalsAsOptional() local
206 halToAdd.forEachInstance([&](const std::vector<VersionRange>& versionRanges, in addAllHalsAsOptional()
211 if (halToAdd.format != existingHal->format) { in addAllHalsAsOptional()
231 halToAdd.removeInstance(pair.first, pair.second, false /* isRegex */); in addAllHalsAsOptional()
234 halToAdd.removeInstance(pair.first, pair.second, true /* isRegex */); in addAllHalsAsOptional()
237 if (halToAdd.instancesCount() > 0) { in addAllHalsAsOptional()
238 halToAdd.setOptional(true); in addAllHalsAsOptional()
239 if (!add(std::move(halToAdd))) { in addAllHalsAsOptional()
DHalManifest.cpp125 bool HalManifest::add(ManifestHal&& halToAdd, std::string* error) { in add() argument
126 if (halToAdd.isOverride()) { in add()
127 if (halToAdd.isDisabledHal()) { in add()
130 mHals.erase(halToAdd.name); in add()
133 for (const Version& versionToAdd : halToAdd.versions) { in add()
134 removeHals(halToAdd.name, versionToAdd.majorVer); in add()
138 if (!shouldAdd(halToAdd, error)) { in add()
142 CHECK(addInternal(std::move(halToAdd)) != nullptr); in add()