/frameworks/base/cmds/idmap2/libidmap2/ |
D | XmlParser.cpp | 32 XmlParser::Node::Node(const ResXMLTree& tree) : Node(tree, get_tree_position(tree)) { in Node() 34 XmlParser::Node::Node(const ResXMLTree& tree, const ResXMLParser::ResXMLPosition& pos) in Node() 39 bool XmlParser::Node::operator==(const XmlParser::Node& rhs) const { in operator ==() 46 bool XmlParser::Node::operator!=(const XmlParser::Node& rhs) const { in operator !=() 50 ResXMLParser::ResXMLPosition XmlParser::Node::get_position() const { in get_position() 54 void XmlParser::Node::set_position(const ResXMLParser::ResXMLPosition& pos) { in set_position() 58 bool XmlParser::Node::Seek(bool inner_child) { in Seek() 59 if (parser_.getEventType() == XmlParser::Event::END_TAG) { in Seek() 64 XmlParser::Event code; in Seek() 65 while ((code = parser_.next()) != XmlParser::Event::BAD_DOCUMENT && in Seek() [all …]
|
D | ResourceContainer.cpp | 73 Result<XmlParser> OpenXmlParser(const std::string& entry_path, const ZipAssetsProvider* zip) { in OpenXmlParser() 85 return XmlParser::Create(buffer.unsafe_ptr(), size, true /* copyData */); in OpenXmlParser() 88 Result<XmlParser> OpenXmlParser(ResourceId id, const ZipAssetsProvider* zip, in OpenXmlParser() 116 Result<XmlParser> xml = OpenXmlParser("AndroidManifest.xml", zip); in ExtractOverlayManifestInfo() 122 if (manifest_it->event() != XmlParser::Event::START_TAG || manifest_it->name() != "manifest") { in ExtractOverlayManifestInfo() 134 if (it.event() != XmlParser::Event::START_TAG || it.name() != "overlay") { in ExtractOverlayManifestInfo() 189 if (root_it->event() != XmlParser::Event::START_TAG || root_it->name() != "overlay") { in CreateResourceMapping() 195 if (overlay_it->event() == XmlParser::Event::BAD_DOCUMENT) { in CreateResourceMapping() 199 if (overlay_it->event() != XmlParser::Event::START_TAG) { in CreateResourceMapping()
|
/frameworks/base/cmds/idmap2/tests/ |
D | XmlParserTests.cpp | 28 Result<XmlParser> CreateTestParser(const std::string& test_file) { in CreateTestParser() 39 return XmlParser::Create(data->getBuffer(true /* aligned*/), data->getLength(), in CreateTestParser() 49 auto fail = XmlParser::Create(reinterpret_cast<const uint8_t*>(not_xml), strlen(not_xml)); in TEST() 58 ASSERT_EQ(root_iter->event(), XmlParser::Event::START_TAG); in TEST() 62 ASSERT_EQ(a_iter->event(), XmlParser::Event::START_TAG); in TEST() 66 ASSERT_EQ(c_iter->event(), XmlParser::Event::START_TAG); in TEST() 70 ASSERT_EQ(c_iter->event(), XmlParser::Event::END_TAG); in TEST() 74 ASSERT_EQ(a_iter->event(), XmlParser::Event::START_TAG); in TEST() 79 ASSERT_EQ(a_iter->event(), XmlParser::Event::END_TAG); in TEST()
|
/frameworks/base/cmds/idmap2/include/idmap2/ |
D | XmlParser.h | 31 struct XmlParser { struct 123 friend XmlParser; argument 127 static Result<XmlParser> Create(const void* data, size_t size, bool copy_data = false); 138 explicit XmlParser(std::unique_ptr<ResXMLTree> tree); argument
|
/frameworks/base/omapi/aidl/vts/functional/config/schema/ |
D | current.txt | 22 public class XmlParser { 23 ctor public XmlParser();
|
/frameworks/base/services/core/xsd/schema/ |
D | current.txt | 28 public class XmlParser { 29 ctor public XmlParser();
|
/frameworks/base/services/core/xsd/platform-compat/config/schema/ |
D | current.txt | 31 public class XmlParser { 32 ctor public XmlParser();
|
/frameworks/base/core/java/com/android/internal/vibrator/persistence/ |
D | XmlParser.java | 33 public interface XmlParser<T> { interface
|
/frameworks/base/services/core/xsd/display-layout-config/schema/ |
D | current.txt | 42 public class XmlParser { 43 ctor public XmlParser();
|
/frameworks/base/services/core/xsd/device-state-config/schema/ |
D | current.txt | 60 public class XmlParser { 61 ctor public XmlParser();
|
/frameworks/base/services/core/xsd/platform-compat/overrides/schema/ |
D | current.txt | 56 public class XmlParser { 57 ctor public XmlParser();
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DeviceStateToLayoutMap.java | 29 import com.android.server.display.config.layout.XmlParser; 130 final Layouts layouts = XmlParser.read(in); in loadLayoutsFromConfig()
|
D | DisplayDeviceConfig.java | 84 import com.android.server.display.config.XmlParser; 971 defaultConfig = XmlParser.read(in); in loadDefaultConfigurationXml() 1730 final DisplayConfiguration config = XmlParser.read(in); in initFromFile()
|
/frameworks/base/core/xsd/vibrator/vibration/schema/ |
D | current.txt | 80 public class XmlParser { 81 ctor public XmlParser();
|
/frameworks/av/media/libmedia/xsd/api/ |
D | current.txt | 141 public class XmlParser { 142 ctor public XmlParser();
|
/frameworks/av/media/libstagefright/xmlparser/api/ |
D | current.txt | 172 public class XmlParser { 173 ctor public XmlParser();
|
/frameworks/base/core/xsd/schema/ |
D | current.txt | 245 public class XmlParser { 246 ctor public XmlParser();
|
/frameworks/base/core/java/com/android/internal/content/om/ |
D | OverlayConfig.java | 29 import com.android.apex.XmlParser; 448 List<ApexInfo> apexInfos = XmlParser.readApexInfoList(stream).getApexInfo(); in getActiveApexes()
|
/frameworks/base/services/core/java/com/android/server/compat/ |
D | CompatConfig.java | 695 Config config = com.android.server.compat.config.XmlParser.read(in); in readConfig() 750 Overrides overrides = com.android.server.compat.overrides.XmlParser.read(in); in loadOverrides()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | DeviceStateProviderImpl.java | 52 import com.android.server.policy.devicestate.config.XmlParser; 800 return XmlParser.read(bin); in parseConfig()
|
/frameworks/base/libs/androidfw/tests/ |
D | AttributeResolution_test.cpp | 159 TEST_F(AttributeResolutionXmlTest, XmlParser) { in TEST_F() argument
|
/frameworks/base/services/core/xsd/display-device-config/schema/ |
D | current.txt | 487 public class XmlParser { 488 ctor public XmlParser();
|
/frameworks/base/boot/ |
D | preloaded-classes | 10367 com.android.apex.XmlParser
|
/frameworks/base/config/ |
D | preloaded-classes | 10398 com.android.apex.XmlParser
|
/frameworks/base/services/ |
D | art-wear-profile | 399 Lcom/android/server/compat/config/XmlParser; 9149 HSPLcom/android/server/compat/config/XmlParser;->read(Ljava/io/InputStream;)Lcom/android/server/com… 9150 HSPLcom/android/server/compat/config/XmlParser;->readText(Lorg/xmlpull/v1/XmlPullParser;)Ljava/lang…
|