Searched refs:isRegex (Results 1 – 10 of 10) sorted by relevance
/system/libvintf/ |
D | MatrixInstance.cpp | 38 bool optional, bool isRegex) in MatrixInstance() argument 43 mIsRegex(isRegex) {} in MatrixInstance() 46 const VersionRange& range, bool optional, bool isRegex) in MatrixInstance() argument 51 mIsRegex(isRegex) {} in MatrixInstance() 80 if (!isRegex()) { in matchInstance() 92 return isRegex() ? mFqInstance.getInstance() : kEmptyString; in regexPattern() 97 return isRegex() ? kEmptyString : mFqInstance.getInstance(); in exactInstance() 100 bool MatrixInstance::isRegex() const { in isRegex() function in android::vintf::MatrixInstance 118 std::string instanceDescription = isRegex() ? regexPattern() : exactInstance(); in description()
|
D | HalInterface.cpp | 32 const std::function<bool(const std::string&, const std::string&, bool isRegex)>& func) const { in forEachInstance() 55 bool HalInterface::insertInstance(const std::string& instanceOrPattern, bool isRegex) { in insertInstance() argument 56 if (isRegex) { in insertInstance() 63 bool HalInterface::removeInstance(const std::string& instanceOrPattern, bool isRegex) { in removeInstance() argument 64 if (isRegex) { in removeInstance()
|
D | MatrixHal.cpp | 59 intf.forEachInstance([&](const auto& interface, const auto& instance, bool isRegex) { in forEachInstance() argument 64 optional, isRegex))) { in forEachInstance() 79 const std::string&, bool isRegex)>& func) const { in forEachInstance() 82 intf.forEachInstance([&](const auto& interface, const auto& instance, bool isRegex) { in forEachInstance() argument 83 return func(this->versionRanges, interface, instance, isRegex); in forEachInstance() 148 bool isRegex) { in insertInstance() argument 152 it->second.insertInstance(instance, isRegex); in insertInstance() 165 bool isRegex) { in removeInstance() argument 168 bool removed = it->second.removeInstance(instance, isRegex); in removeInstance()
|
D | CompatibilityMatrix.cpp | 153 const std::string& instanceOrPattern, bool isRegex) { in splitInstance() argument 159 if (matrixInstance.isRegex() && isRegex) { in splitInstance() 161 } else if (!matrixInstance.isRegex() && !isRegex) { in splitInstance() 181 existingHal->removeInstance(interface, instanceOrPattern, isRegex); in splitInstance() 184 copy.insertInstance(interface, instanceOrPattern, isRegex); in splitInstance() 209 const std::string& instanceOrPattern, bool isRegex) { in addAllHalsAsOptional() argument 217 this->splitInstance(existingHal, interface, instanceOrPattern, isRegex); in addAllHalsAsOptional() 220 if (isRegex) { in addAllHalsAsOptional()
|
D | parse_string.cpp | 406 auto instance = matrixInstance.isRegex() ? matrixInstance.regexPattern() in expandInstances()
|
D | VintfObject.cpp | 671 if (!oldMatrixInstance.isRegex()) { in IsInstanceDeprecated()
|
/system/libvintf/include/vintf/ |
D | HalInterface.h | 39 bool isRegex)>& func) const; 43 bool insertInstance(const std::string& instanceOrPattern, bool isRegex); 46 bool removeInstance(const std::string& instanceOrPattern, bool isRegex);
|
D | MatrixInstance.h | 41 bool isRegex); 43 bool optional, bool isRegex); 63 bool isRegex() const;
|
D | MatrixHal.h | 63 const std::string& instanceOrPattern, bool isRegex)>& func) const; 74 void insertInstance(const std::string& interface, const std::string& instance, bool isRegex); 76 bool removeInstance(const std::string& interface, const std::string& instance, bool isRegex);
|
D | CompatibilityMatrix.h | 135 const std::string& instance, bool isRegex);
|