Searched refs:kAttrId (Results 1 – 2 of 2) sorted by relevance
/packages/services/Car/cpp/powerpolicy/server/src/ |
D | PolicyManager.cpp | 70 constexpr const char kAttrId[] = "id"; variable 223 if (pComponent->QueryStringAttribute(kAttrId, &id) != XML_SUCCESS) { in readComponents() 224 return Error() << StringPrintf("Failed to read |%s| attribute in |%s| tag", kAttrId, in readComponents() 237 safePtrPrint(id), kAttrId, kTagComponent); in readComponents() 245 toString(componentId).c_str(), kAttrId, kTagComponent); in readComponents() 341 if (pPolicy->QueryStringAttribute(kAttrId, &policyId) != XML_SUCCESS) { in readPolicies() 342 return Error() << StringPrintf("Failed to read |%s| attribute in |%s| tag", kAttrId, in readPolicies() 385 if (pDefaultPolicy->QueryStringAttribute(kAttrId, &policyId) != XML_SUCCESS) { in readPolicyGroup() 386 return Error() << StringPrintf("Failed to read |%s| attribute in |%s| tag", kAttrId, in readPolicyGroup() 440 if (pPolicyGroup->QueryStringAttribute(kAttrId, &policyGroupId) != XML_SUCCESS) { in readPolicyGroups() [all …]
|
/packages/services/Car/cpp/watchdog/server/src/ |
D | OveruseConfigurationXmlHelper.cpp | 96 constexpr const char kAttrId[] = "id"; variable 231 if (childElement->QueryStringAttribute(kAttrId, &state) != XML_SUCCESS) { in readPerStateBytes() 232 return Error() << "Failed to read '" << kAttrId << "' attribute in '" << kTagState in readPerStateBytes() 295 childElement->QueryStringAttribute(kAttrId, &name) != XML_SUCCESS) { in readPerStateThresholds() 296 return Error() << "Failed to read '" << kAttrId << "' attribute"; in readPerStateThresholds() 298 return Error() << "Must provide non-empty value in '" << kAttrId << "' attribute"; in readPerStateThresholds() 351 if (childElement->QueryStringAttribute(kAttrId, ¶m) != XML_SUCCESS) { in readIoOveruseAlertThreshold() 352 return Error() << "Failed to read '" << kAttrId << "' attribute in '" << kTagParam in readIoOveruseAlertThreshold() 516 childElement->SetAttribute(kAttrId, state); in writePerStateBytes() 562 childElement->SetAttribute(kAttrId, thresholds.name.c_str()); in writePerStateThresholds() [all …]
|