Home
last modified time | relevance | path

Searched refs:rootElement (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/cpp/watchdog/server/src/
DOveruseConfigurationXmlHelper.cpp101 Result<const XMLElement*> readExactlyOneElement(const char* tag, const XMLElement* rootElement) { in readExactlyOneElement() argument
102 const XMLElement* element = rootElement->FirstChildElement(tag); in readExactlyOneElement()
112 Result<ComponentType> readComponentType(const XMLElement* rootElement) { in readComponentType() argument
114 if (const auto result = readExactlyOneElement(kTagComponentType, rootElement); result.ok()) { in readComponentType()
141 Result<std::vector<std::string>> readSafeToKillPackages(const XMLElement* rootElement) { in readSafeToKillPackages() argument
143 for (const XMLElement* outerElement = rootElement->FirstChildElement(kTagSafeToKillPackages); in readSafeToKillPackages()
161 Result<std::vector<std::string>> readVendorPackagePrefixes(const XMLElement* rootElement) { in readVendorPackagePrefixes() argument
163 for (const XMLElement* outerElement = rootElement->FirstChildElement(kTagVendorPackagePrefixes); in readVendorPackagePrefixes()
194 Result<std::vector<PackageMetadata>> readPackageToAppCategoryTypes(const XMLElement* rootElement) { in readPackageToAppCategoryTypes() argument
197 rootElement->FirstChildElement(kTagPackageToAppCategoryTypes); in readPackageToAppCategoryTypes()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/omadm/
DDevInfoMo.java66 Element rootElement = moSerializer.createMgmtTree(doc); in serializeToXml() local
67 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()
DMoSerializer.java96 Element rootElement = doc.createElement(TAG_MGMT_TREE); in createMgmtTree() local
97 doc.appendChild(rootElement); in createMgmtTree()
98 return rootElement; in createMgmtTree()
DDevDetailMo.java165 Element rootElement = moSerializer.createMgmtTree(doc); in serializeToXml() local
166 rootElement.appendChild(moSerializer.writeVersion(doc)); in serializeToXml()
239 rootElement.appendChild(moNode); // TAG_DEVDETAIL in serializeToXml()
/packages/apps/Dialer/java/com/android/dialer/rootcomponentgenerator/
DRootComponentGeneratingStep.java120 private void generateRootComponent(TypeElement rootElement) { in generateRootComponent() argument
121 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()