Home
last modified time | relevance | path

Searched refs:XmlResourceParser (Results 1 – 25 of 124) sorted by relevance

12345

/frameworks/base/core/java/android/security/net/config/
DXmlConfigSource.java6 import android.content.res.XmlResourceParser;
82 try (XmlResourceParser parser = mContext.getResources().getXml(mResourceId)) { in ensureInitialized()
94 private Pin parsePin(XmlResourceParser parser) in parsePin()
123 private PinSet parsePinSet(XmlResourceParser parser) in parsePinSet()
154 private Domain parseDomain(XmlResourceParser parser, Set<String> seenDomains) in parseDomain()
174 private CertificatesEntryRef parseCertificatesEntry(XmlResourceParser parser, in parseCertificatesEntry()
202 private Collection<CertificatesEntryRef> parseTrustAnchors(XmlResourceParser parser, in parseTrustAnchors()
219 XmlResourceParser parser, Set<String> seenDomains, in parseConfigEntry()
306 private void parseNetworkSecurityConfig(XmlResourceParser parser) in parseNetworkSecurityConfig()
397 try (XmlResourceParser parser = resources.getXml(resId)) { in parseDebugOverridesResource()
/frameworks/base/services/core/java/com/android/server/pm/
DUserTypeFactory.java41 import android.content.res.XmlResourceParser;
82 try (XmlResourceParser parser = in getUserTypes()
309 XmlResourceParser parser) { in customizeBuilders()
313 parser.getEventType() != XmlResourceParser.END_DOCUMENT; in customizeBuilders()
413 private static void setIntAttribute(XmlResourceParser parser, String attributeName, in setIntAttribute()
436 private static void setResAttribute(XmlResourceParser parser, String attributeName, in setResAttribute()
455 private static void setResAttributeArray(XmlResourceParser parser, Consumer<int[]> fcn) in setResAttributeArray()
487 try (XmlResourceParser parser = in getUserTypeVersion()
494 static int getUserTypeVersion(XmlResourceParser parser) { in getUserTypeVersion()
522 try (XmlResourceParser parser = in getUserTypeUpgrades()
[all …]
DModuleInfoProvider.java26 import android.content.res.XmlResourceParser;
78 XmlResourceParser metadata, Resources resources, ApexManager apexManager) { in ModuleInfoProvider()
108 XmlResourceParser parser = packageResources.getXml( in systemReady()
113 private void loadModuleMetadata(XmlResourceParser parser, Resources packageResources) { in loadModuleMetadata()
/frameworks/base/test-mock/src/android/test/mock/
DMockResources.java24 import android.content.res.XmlResourceParser;
152 public XmlResourceParser getLayout(int id) throws NotFoundException { in getLayout()
157 public XmlResourceParser getAnimation(int id) throws NotFoundException { in getAnimation()
162 public XmlResourceParser getXml(int id) throws NotFoundException { in getXml()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboard.java24 import android.content.res.XmlResourceParser;
198 public Row(Resources res, Keyboard parent, XmlResourceParser parser) { in Row()
341 public Key(Resources res, Row parent, int x, int y, XmlResourceParser parser) { in Key()
794 protected Row createRowFromXml(Resources res, XmlResourceParser parser) { in createRowFromXml()
799 XmlResourceParser parser) { in createKeyFromXml()
803 private void loadKeyboard(Context context, XmlResourceParser parser) { in loadKeyboard()
817 while ((event = parser.next()) != XmlResourceParser.END_DOCUMENT) { in loadKeyboard()
818 if (event == XmlResourceParser.START_TAG) { in loadKeyboard()
851 } else if (event == XmlResourceParser.END_TAG) { in loadKeyboard()
875 private void skipToEndOfRow(XmlResourceParser parser) in skipToEndOfRow()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserTypeTest.java39 import android.content.res.XmlResourceParser;
265 final XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_profile); in testUserTypeFactoryCustomize_profile()
321 final XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_full); in testUserTypeFactoryCustomize_full()
348 final XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_eraseArray); in testUserTypeFactoryCustomize_eraseArray()
370 final XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_illegalOemName); in testUserTypeFactoryCustomize_illegalOemName()
391 XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_illegalUserBaseType); in testUserTypeFactoryCustomize_illegalUserBaseType()
400 final XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_eraseArray); in testUserTypeFactoryVersion_versionMissing()
406 final XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_profile); in testUserTypeFactoryVersion_versionPresent()
415 final XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_profile); in testUserTypeFactoryUpgrades_validUpgrades()
434 final XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_full); in testUserTypeFactoryUpgrades_illegalBaseTypeUpgrade()
/frameworks/base/telephony/java/com/android/internal/telephony/
DSms7BitEncodingTranslator.java21 import android.content.res.XmlResourceParser;
172 XmlResourceParser parser = null; in load7BitTranslationTableFromXml()
225 if (parser instanceof XmlResourceParser) { in load7BitTranslationTableFromXml()
226 ((XmlResourceParser)parser).close(); in load7BitTranslationTableFromXml()
/frameworks/base/core/tests/coretests/src/android/content/res/
DFontResourcesParserTest.java63 XmlResourceParser parser = mResources.getXml(R.font.samplexmlfontforparsing); in testParse()
99 XmlResourceParser parser = mResources.getXml(R.font.samplexmldownloadedfont); in testParseDownloadableFont()
113 XmlResourceParser parser = mResources.getXml(R.font.samplexmldownloadedfontsinglecerts); in testParseDownloadableFont_singleCerts()
134 XmlResourceParser parser = mResources.getXml(R.font.samplexmldownloadedfontmulticerts); in testParseDownloadableFont_multipleCerts()
/frameworks/base/core/java/android/content/pm/parsing/component/
DParsedProcessUtils.java27 import android.content.res.XmlResourceParser;
46 Resources res, XmlResourceParser parser, ParseInput input) in parseDenyPermission()
64 XmlResourceParser parser, ParseInput input) in parseAllowPermission()
82 ParsingPackage pkg, Resources res, XmlResourceParser parser, int flags, in parseProcess()
162 XmlResourceParser parser, int flags, ParseInput input) in parseProcesses()
DParsedComponentUtils.java30 import android.content.res.XmlResourceParser;
100 Resources resources, XmlResourceParser parser, ParseInput input) { in addMetaData()
114 Resources resources, XmlResourceParser parser, ParseInput input) { in addProperty()
DParsedInstrumentationUtils.java23 import android.content.res.XmlResourceParser;
38 Resources res, XmlResourceParser parser, boolean useRoundIcon, in parseInstrumentation()
DParsedPermissionUtils.java27 import android.content.res.XmlResourceParser;
43 XmlResourceParser parser, boolean useRoundIcon, ParseInput input) in parsePermission()
158 XmlResourceParser parser, boolean useRoundIcon, ParseInput input) in parsePermissionTree()
200 Resources res, XmlResourceParser parser, boolean useRoundIcon, ParseInput input) in parsePermissionGroup()
DParsedAttributionUtils.java24 import android.content.res.XmlResourceParser;
41 XmlResourceParser parser, ParseInput input) in parseAttribution()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/datetime/
DZoneGetter.java20 import android.content.res.XmlResourceParser;
155 try (XmlResourceParser xrp = context.getResources().getXml(R.xml.timezones)) { in readTimezonesToDisplay()
156 while (xrp.next() != XmlResourceParser.START_TAG) { in readTimezonesToDisplay()
160 while (xrp.getEventType() != XmlResourceParser.END_TAG) { in readTimezonesToDisplay()
161 while (xrp.getEventType() != XmlResourceParser.START_TAG) { in readTimezonesToDisplay()
162 if (xrp.getEventType() == XmlResourceParser.END_DOCUMENT) { in readTimezonesToDisplay()
171 while (xrp.getEventType() != XmlResourceParser.END_TAG) { in readTimezonesToDisplay()
/frameworks/base/core/java/android/content/pm/parsing/
DParsingUtils.java24 import android.content.res.XmlResourceParser;
64 XmlResourceParser parser, ParseInput input) throws IOException, XmlPullParserException { in unknownTag()
DParsingPackageUtils.java85 import android.content.res.XmlResourceParser;
481 try (XmlResourceParser parser = assets.openXmlResourceParser(cookie, in parseBaseApk()
555 try (XmlResourceParser parser = assets.openXmlResourceParser(cookie, in parseSplitApk()
585 String codePath, Resources res, XmlResourceParser parser, int flags) in parseBaseApk()
636 Resources res, XmlResourceParser parser, int flags, int splitIndex) in parseSplitApk()
696 ParsingPackage pkg, Resources res, XmlResourceParser parser, int flags, int splitIndex) in parseSplitApplication()
808 Resources res, XmlResourceParser parser) throws IOException, XmlPullParserException { in parseSplitBaseAppChildTags()
843 TypedArray sa, Resources res, XmlResourceParser parser, int flags) in parseBaseApkTags()
929 ParsingPackage pkg, Resources res, XmlResourceParser parser, int flags) in parseBaseApkTag()
1005 ParsingPackage pkg, Resources res, XmlResourceParser parser) in parseKeySets()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DShortcutParser.java25 import android.content.res.XmlResourceParser;
79 XmlResourceParser parser = mResources.getXml(mResId); in getShortcuts()
101 private Shortcut parseShortcut(XmlResourceParser parser) in parseShortcut()
/frameworks/base/core/java/android/view/animation/
DAnimationUtils.java27 import android.content.res.XmlResourceParser;
136 XmlResourceParser parser = null; in loadAnimation()
217 XmlResourceParser parser = null; in loadLayoutAnimation()
339 XmlResourceParser parser = null; in loadInterpolator()
369 XmlResourceParser parser = null; in loadInterpolator()
/frameworks/base/core/java/android/content/
DRestrictionsManager.java27 import android.content.res.XmlResourceParser;
551 XmlResourceParser xml = in getManifestRestrictions()
557 XmlResourceParser xml) { in loadManifestRestrictions()
589 private RestrictionEntry loadRestrictionElement(Context appContext, XmlResourceParser xml) in loadRestrictionElement()
602 … private RestrictionEntry loadRestriction(Context appContext, TypedArray a, XmlResourceParser xml) in loadRestriction()
/frameworks/base/core/java/android/app/
DAliasActivity.java25 import android.content.res.XmlResourceParser;
59 XmlResourceParser parser = null; in onCreate()
/frameworks/base/apct-tests/perftests/core/src/android/app/
DResourcesPerfTest.java23 import android.content.res.XmlResourceParser;
197 try (XmlResourceParser parser = mRes.getLayout(R.layout.test_relative_layout)) { in getLayoutAndTravese()
212 try (XmlResourceParser parser = mRes.getLayout(R.layout.test_relative_layout)) { in getLayoutAndTraverseInvalidateCaches()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/
DHeaderMixinTest.java27 import android.content.res.XmlResourceParser;
93 final XmlResourceParser parser = mContext.getResources().getXml(R.layout.test_mixin_attributes); in testSetTextFromXml()
DColoredHeaderMixinTest.java26 import android.content.res.XmlResourceParser;
78 final XmlResourceParser parser = mContext.getResources().getXml(R.layout.test_mixin_attributes); in testSetColorFromXml()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DSimpleInflater.java20 import android.content.res.XmlResourceParser;
66 XmlResourceParser parser = getResources().getXml(resId); in inflate()
/frameworks/base/core/java/android/content/res/
DXmlResourceParser.java29 public interface XmlResourceParser extends XmlPullParser, AttributeSet, AutoCloseable { interface

12345