Home
last modified time | relevance | path

Searched refs:instanceOrPattern (Results 1 – 4 of 4) sorted by relevance

/system/libvintf/
DHalInterface.cpp55 bool HalInterface::insertInstance(const std::string& instanceOrPattern, bool isRegex) { in insertInstance() argument
57 return mRegexes.insert(instanceOrPattern).second; in insertInstance()
59 return mInstances.insert(instanceOrPattern).second; in insertInstance()
63 bool HalInterface::removeInstance(const std::string& instanceOrPattern, bool isRegex) { in removeInstance() argument
65 return mRegexes.erase(instanceOrPattern) > 0; in removeInstance()
67 return mInstances.erase(instanceOrPattern) > 0; in removeInstance()
DCompatibilityMatrix.cpp153 const std::string& instanceOrPattern, bool isRegex) { in splitInstance() argument
160 instanceMatch = (matrixInstance.regexPattern() == instanceOrPattern); in splitInstance()
162 instanceMatch = (matrixInstance.exactInstance() == instanceOrPattern); 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()
221 insertedRegex.insert(std::make_pair(interface, instanceOrPattern)); in addAllHalsAsOptional()
223 insertedInstances.insert(std::make_pair(interface, instanceOrPattern)); in addAllHalsAsOptional()
/system/libvintf/include/vintf/
DHalInterface.h43 bool insertInstance(const std::string& instanceOrPattern, bool isRegex);
46 bool removeInstance(const std::string& instanceOrPattern, bool isRegex);
DMatrixHal.h63 const std::string& instanceOrPattern, bool isRegex)>& func) const;