Searched refs:xml (Results 26 - 50 of 161) sorted by relevance

1234567

/frameworks/base/packages/DocumentsUI/
H A Dwrap_alpha.py17 # build xml redirection
44 with open("res/drawable/%s.xml" % (src), 'w') as xml:
45 xml.write("""<?xml version="1.0" encoding="utf-8"?>
/frameworks/base/test-runner/src/junit/runner/
H A Dexcluded.properties11 excluded.7=org.xml.sax.*
/frameworks/base/tools/aapt2/link/
H A DManifestFixer.h22 #include "xml/XmlActionExecutor.h"
23 #include "xml/XmlDom.h"
47 bool consume(IAaptContext* context, xml::XmlResource* doc) override;
50 bool buildRules(xml::XmlActionExecutor* executor, IDiagnostics* diag);
H A DXmlReferenceLinker.cpp25 #include "xml/XmlDom.h"
40 ReferenceVisitor(IAaptContext* context, SymbolTable* symbols, xml::IPackageDeclStack* decls,
59 xml::IPackageDeclStack* mDecls;
65 * Visits each xml Element and compiles the attributes within.
67 class XmlVisitor : public xml::PackageAwareVisitor {
69 using xml::PackageAwareVisitor::visit;
77 void visit(xml::Element* el) override {
79 for (xml::Attribute& attr : el->attributes) {
80 Maybe<xml::ExtractedPackage> maybePackage =
81 xml
[all...]
H A DLinkers.h22 #include "xml/XmlDom.h"
52 bool consume(IAaptContext* context, xml::XmlResource* resource) override;
90 bool consume(IAaptContext* context, xml::XmlResource* resource) override;
/frameworks/base/tools/aapt2/process/
H A DIResourceTableConsumer.h52 namespace xml { namespace in namespace:aapt
59 virtual bool consume(IAaptContext* context, xml::XmlResource* resource) = 0;
/frameworks/base/packages/Keyguard/scripts/
H A Dcopy_profile_icons.sh3 for user in `adb $* shell ls /data/system/users | grep -v xml`
7 for photo in `adb $* shell ls /data/system/users | grep -v xml`
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A DOtherPrefs.java24 addPreferencesFromResource(R.xml.other_settings);
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
H A DSettingsActivity.java32 addPreferencesFromResource(R.xml.preferences);
/frameworks/base/tools/aapt/tests/plurals/
H A Drun.sh9 aapt package -v -x -m -z -J $TEST_OUT_DIR/java -M $TEST_DIR/AndroidManifest.xml \
11 -P $TEST_OUT_DIR/public_resources.xml \
/frameworks/base/core/java/android/util/
H A DXml.java24 import org.apache.harmony.xml.ExpatReader;
26 import org.xml.sax.ContentHandler;
27 import org.xml.sax.InputSource;
28 import org.xml.sax.SAXException;
29 import org.xml.sax.XMLReader;
50 * Parses the given xml string and fires events on the given SAX handler.
52 public static void parse(String xml, ContentHandler contentHandler) argument
57 reader.parse(new InputSource(new StringReader(xml)));
64 * Parses xml from the given reader and fires events on the given SAX
75 * Parses xml fro
[all...]
/frameworks/base/tools/aapt2/flatten/
H A DXmlFlattener.cpp21 #include "xml/XmlDom.h"
36 struct XmlFlattenerVisitor : public xml::Visitor {
37 using xml::Visitor::visit;
52 std::vector<xml::Attribute*> mFilteredAttrs;
74 void writeNamespace(xml::Namespace* node, uint16_t type) {
88 void visit(xml::Namespace* node) override {
90 xml::Visitor::visit(node);
94 void visit(xml::Text* node) override {
111 void visit(xml::Element* node) override {
130 xml
[all...]
/frameworks/base/core/tests/hosttests/test-apps/SharedUid/dual/
H A DAndroid.mk37 LOCAL_MANIFEST_FILE := dual/AndroidManifest.xml
51 LOCAL_MANIFEST_FILE := multiarch/AndroidManifest.xml
/frameworks/base/libs/androidfw/tests/data/app/
H A Dbuild18 aapt package -v -I ../system/bundle.apk -M AndroidManifest.xml -S res -F bundle.apk -f && \
/frameworks/base/libs/androidfw/tests/data/feature/
H A Dbuild18 aapt package -M AndroidManifest.xml -S res --feature-of ../basic/bundle.apk -F bundle.apk -f && \
/frameworks/base/libs/androidfw/tests/data/lib/
H A Dbuild18 aapt package -M AndroidManifest.xml -S res -F bundle.apk -f --shared-lib && \
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
H A DXmlConfigTests.java47 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.empty_config);
66 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.empty_trust);
84 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.domain1);
120 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.pins1);
135 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.expired_pin);
149 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.override_pins);
163 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.bad_pin);
178 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.multiple_domains);
199 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.multiple_configs);
214 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml
[all...]
/frameworks/base/tools/aapt2/java/
H A DManifestClassGenerator.cpp22 #include "xml/XmlDom.h"
61 static bool writeSymbol(const Source& source, IDiagnostics* diag, xml::Element* el,
63 xml::Attribute* attr = el->findAttribute(xml::kSchemaAndroid, u"name");
83 std::unique_ptr<ClassDefinition> generateManifestClass(IDiagnostics* diag, xml::XmlResource* res) {
84 xml::Element* el = xml::findRootElement(res->root.get());
102 std::vector<xml::Element*> children = el->getChildElements();
103 for (xml::Element* childEl : children) {
H A DProguardRules.h22 #include "xml/XmlDom.h"
49 bool collectProguardRulesForManifest(const Source& source, xml::XmlResource* res, KeepSet* keepSet);
50 bool collectProguardRules(const Source& source, xml::XmlResource* res, KeepSet* keepSet);
/frameworks/base/libs/androidfw/tests/data/appaslib/
H A Dbuild20 aapt package -M AndroidManifest.xml -S res -I $PATH_TO_FRAMEWORK_RES -F bundle.apk -f && \
24 aapt package -M AndroidManifest.xml -S res -I $PATH_TO_FRAMEWORK_RES -F bundle.apk -f --shared-lib && \
/frameworks/base/tools/aapt2/xml/
H A DXmlDom_test.cpp17 #include "xml/XmlDom.h"
25 constexpr const char* kXmlPreamble = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n";
39 const Source source = { "test.xml" };
41 std::unique_ptr<xml::XmlResource> doc = xml::inflate(&in, &diag, source);
44 xml::Namespace* ns = xml::nodeCast<xml::Namespace>(doc->root.get());
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
H A DSetupWizardItemsLayout.java44 int xml = a.getResourceId(R.styleable.SuwSetupWizardItemsLayout_android_entries, 0);
45 if (xml != 0) {
46 ItemGroup inflated = (ItemGroup) new ItemInflater(context).inflate(xml);
/frameworks/base/sax/java/android/sax/
H A DRootElement.java19 import org.xml.sax.helpers.DefaultHandler;
20 import org.xml.sax.Attributes;
21 import org.xml.sax.SAXException;
22 import org.xml.sax.ContentHandler;
23 import org.xml.sax.Locator;
/frameworks/base/tools/preload2/src/com/android/preload/
H A DDumpDataIO.java19 import org.xml.sax.Attributes;
20 import org.xml.sax.InputSource;
21 import org.xml.sax.SAXException;
22 import org.xml.sax.XMLReader;
23 import org.xml.sax.helpers.DefaultHandler;
34 import javax.xml.parsers.SAXParser;
35 import javax.xml.parsers.SAXParserFactory;
/frameworks/base/tools/aapt2/
H A DResourceParser.cpp24 #include "xml/XmlPullParser.h"
133 bool ResourceParser::flattenXmlSubtree(xml::XmlPullParser* parser, std::u16string* outRawString,
142 while (xml::XmlPullParser::isGoodEvent(parser->next())) {
143 const xml::XmlPullParser::Event event = parser->getEvent();
144 if (event == xml::XmlPullParser::Event::kEndElement) {
159 } else if (event == xml::XmlPullParser::Event::kText) {
163 } else if (event == xml::XmlPullParser::Event::kStartElement) {
196 } else if (event == xml::XmlPullParser::Event::kComment) {
208 bool ResourceParser::parse(xml::XmlPullParser* parser) {
211 while (xml
[all...]

Completed in 4405 milliseconds

1234567