Home
last modified time | relevance | path

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

/packages/services/Car/cpp/watchdog/server/src/
DOveruseConfigurationXmlHelper.cpp119 std::string componentTypeStr; in readComponentType() local
122 } else if (componentTypeStr = Trim(text); componentTypeStr.empty()) { in readComponentType()
131 if (EqualsIgnoreCase(componentTypeStr, *kSystemComponent)) { in readComponentType()
133 } else if (EqualsIgnoreCase(componentTypeStr, *kVendorComponent)) { in readComponentType()
135 } else if (EqualsIgnoreCase(componentTypeStr, *kThirdPartyComponent)) { in readComponentType()
138 return Error() << "Must specify valid component type. Received " << componentTypeStr; in readComponentType()
DIoOveruseConfigs.cpp130 auto componentTypeStr = toString(componentType); in isValidIoOveruseConfiguration() local
137 if (ioOveruseConfig.componentLevelThresholds.name != componentTypeStr) { in isValidIoOveruseConfiguration()
141 << componentTypeStr; in isValidIoOveruseConfiguration()
157 return Error() << "Invalid system-wide alert threshold provided in " << componentTypeStr in isValidIoOveruseConfiguration()
451 const std::string componentTypeStr = toString(resourceOveruseConfig.componentType); in updateFromAidlConfig() local
464 componentTypeStr.c_str(), res.error().message().c_str()); in updateFromAidlConfig()