Searched refs:rootElement (Results 1 – 5 of 5) sorted by relevance
101 Result<const XMLElement*> readExactlyOneElement(const char* tag, const XMLElement* rootElement) { in readExactlyOneElement() argument102 const XMLElement* element = rootElement->FirstChildElement(tag); in readExactlyOneElement()112 Result<ComponentType> readComponentType(const XMLElement* rootElement) { in readComponentType() argument114 if (const auto result = readExactlyOneElement(kTagComponentType, rootElement); result.ok()) { in readComponentType()141 Result<std::vector<std::string>> readSafeToKillPackages(const XMLElement* rootElement) { in readSafeToKillPackages() argument143 for (const XMLElement* outerElement = rootElement->FirstChildElement(kTagSafeToKillPackages); in readSafeToKillPackages()161 Result<std::vector<std::string>> readVendorPackagePrefixes(const XMLElement* rootElement) { in readVendorPackagePrefixes() argument163 for (const XMLElement* outerElement = rootElement->FirstChildElement(kTagVendorPackagePrefixes); in readVendorPackagePrefixes()194 Result<std::vector<PackageMetadata>> readPackageToAppCategoryTypes(const XMLElement* rootElement) { in readPackageToAppCategoryTypes() argument197 rootElement->FirstChildElement(kTagPackageToAppCategoryTypes); in readPackageToAppCategoryTypes()[all …]
66 Element rootElement = moSerializer.createMgmtTree(doc); in serializeToXml() local67 rootElement.appendChild(moSerializer.writeVersion(doc)); in serializeToXml()70 rootElement.appendChild(moNode); in serializeToXml()71 rootElement.appendChild( in serializeToXml()74 rootElement.appendChild(moSerializer.createNodeForValue(doc, TAG_MANUFACTURE, in serializeToXml()76 rootElement.appendChild( in serializeToXml()78 rootElement.appendChild( in serializeToXml()80 rootElement.appendChild( in serializeToXml()
96 Element rootElement = doc.createElement(TAG_MGMT_TREE); in createMgmtTree() local97 doc.appendChild(rootElement); in createMgmtTree()98 return rootElement; in createMgmtTree()
165 Element rootElement = moSerializer.createMgmtTree(doc); in serializeToXml() local166 rootElement.appendChild(moSerializer.writeVersion(doc)); in serializeToXml()239 rootElement.appendChild(moNode); // TAG_DEVDETAIL in serializeToXml()
120 private void generateRootComponent(TypeElement rootElement) { in generateRootComponent() argument121 DialerRootComponent dialerRootComponent = rootElement.getAnnotation(DialerRootComponent.class); in generateRootComponent()139 getAnnotationMirror(rootElement, DialerRootComponent.class).get(); in generateRootComponent()148 processingEnv, ClassName.get(rootElement).packageName(), rootComponentClass); in generateRootComponent()