Home
last modified time | relevance | path

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

123456

/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 boolean parseCertificateTransparency(XmlResourceParser parser) in parseCertificateTransparency()
179 private CertificatesEntryRef parseCertificatesEntry(XmlResourceParser parser, in parseCertificatesEntry()
207 private Collection<CertificatesEntryRef> parseTrustAnchors(XmlResourceParser parser, in parseTrustAnchors()
224 XmlResourceParser parser, Set<String> seenDomains, in parseConfigEntry()
319 private void parseNetworkSecurityConfig(XmlResourceParser parser) in parseNetworkSecurityConfig()
[all …]
/frameworks/base/core/java/com/android/internal/pm/pkg/component/
DInstallConstraintsTagParser.java24 import android.content.res.XmlResourceParser;
51 ParseInput input, ParsingPackage pkg, Resources res, XmlResourceParser parser, in parseInstallConstraints()
71 ParseInput input, Resources res, XmlResourceParser parser) in parseFingerprintPrefixes()
109 XmlResourceParser parser) { in readFingerprintPrefixValue()
DParsedProcessUtils.java25 import android.content.res.XmlResourceParser;
47 Resources res, XmlResourceParser parser, ParseInput input) in parseDenyPermission()
65 XmlResourceParser parser, ParseInput input) in parseAllowPermission()
83 ParsingPackage pkg, Resources res, XmlResourceParser parser, int flags, in parseProcess()
169 XmlResourceParser parser, int flags, ParseInput input) in parseProcesses()
DParsedApexSystemServiceUtils.java25 import android.content.res.XmlResourceParser;
37 Resources res, XmlResourceParser parser, ParseInput input) in parseApexSystemService()
DParsedComponentUtils.java28 import android.content.res.XmlResourceParser;
100 Resources resources, XmlResourceParser parser, ParseInput input) { in addMetaData()
114 Resources resources, XmlResourceParser parser, ParseInput input) { in addProperty()
DParsedInstrumentationUtils.java26 import android.content.res.XmlResourceParser;
42 Resources res, XmlResourceParser parser, boolean useRoundIcon, in parseInstrumentation()
/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()
342 public Key(Resources res, Row parent, int x, int y, XmlResourceParser parser) { in Key()
795 protected Row createRowFromXml(Resources res, XmlResourceParser parser) { in createRowFromXml()
800 XmlResourceParser parser) { in createKeyFromXml()
804 private void loadKeyboard(Context context, XmlResourceParser parser) { in loadKeyboard()
818 while ((event = parser.next()) != XmlResourceParser.END_DOCUMENT) { in loadKeyboard()
819 if (event == XmlResourceParser.START_TAG) { in loadKeyboard()
852 } else if (event == XmlResourceParser.END_TAG) { in loadKeyboard()
876 private void skipToEndOfRow(XmlResourceParser parser) in skipToEndOfRow()
[all …]
/frameworks/base/core/tests/coretests/src/android/content/res/
DFontResourcesParserTest.java65 XmlResourceParser parser = mResources.getXml(R.font.samplexmlfontforparsing); in testParse()
101 XmlResourceParser parser = mResources.getXml(R.font.samplexmldownloadedfont); in testParseDownloadableFont()
115 XmlResourceParser parser = mResources.getXml(R.font.samplexmldownloadedfontsinglecerts); in testParseDownloadableFont_singleCerts()
136 XmlResourceParser parser = mResources.getXml(R.font.samplexmldownloadedfontmulticerts); in testParseDownloadableFont_multipleCerts()
/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/services/core/java/com/android/server/pm/
DModuleInfoProvider.java28 import android.content.res.XmlResourceParser;
80 XmlResourceParser metadata, Resources resources, ApexManager apexManager) { in ModuleInfoProvider()
118 XmlResourceParser parser = packageResources.getXml( in systemReady()
123 private void loadModuleMetadata(XmlResourceParser parser, Resources packageResources) { in loadModuleMetadata()
DUserTypeFactory.java47 import android.content.res.XmlResourceParser;
89 try (XmlResourceParser parser = in getUserTypes()
489 XmlResourceParser parser) { in customizeBuilders()
493 parser.getEventType() != XmlResourceParser.END_DOCUMENT; in customizeBuilders()
600 private static void setIntAttribute(XmlResourceParser parser, String attributeName, in setIntAttribute()
623 private static void setResAttribute(XmlResourceParser parser, String attributeName, in setResAttribute()
642 private static void setResAttributeArray(XmlResourceParser parser, Consumer<int[]> fcn) in setResAttributeArray()
674 try (XmlResourceParser parser = in getUserTypeVersion()
681 static int getUserTypeVersion(XmlResourceParser parser) { in getUserTypeVersion()
709 try (XmlResourceParser parser = in getUserTypeUpgrades()
[all …]
DUpdateOwnershipHelper.java27 import android.content.res.XmlResourceParser;
98 try (XmlResourceParser parser = resources.getXml(resId)) { in readUpdateOwnerDenyList()
100 if (parser.next() == XmlResourceParser.START_TAG) { in readUpdateOwnerDenyList()
/frameworks/base/services/core/java/com/android/server/power/stats/wakeups/
DIrqDeviceMap.java21 import android.content.res.XmlResourceParser;
51 private IrqDeviceMap(XmlResourceParser parser) { in IrqDeviceMap()
103 final XmlResourceParser parser = context.getResources().getXml(resId); in getInstance()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserTypeTest.java40 import android.content.res.XmlResourceParser;
360 final XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_profile); in testUserTypeFactoryCustomize_profile()
474 final XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_full); in testUserTypeFactoryCustomize_full()
503 final XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_eraseArray); in testUserTypeFactoryCustomize_eraseArray()
525 final XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_illegalOemName); in testUserTypeFactoryCustomize_illegalOemName()
546 XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_illegalUserBaseType); in testUserTypeFactoryCustomize_illegalUserBaseType()
555 final XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_eraseArray); in testUserTypeFactoryVersion_versionMissing()
561 final XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_profile); in testUserTypeFactoryVersion_versionPresent()
570 final XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_profile); in testUserTypeFactoryUpgrades_validUpgrades()
589 final XmlResourceParser parser = mResources.getXml(R.xml.usertypes_test_full); in testUserTypeFactoryUpgrades_illegalBaseTypeUpgrade()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/datetime/
DZoneGetter.java20 import android.content.res.XmlResourceParser;
176 try (XmlResourceParser xrp = context.getResources().getXml(R.xml.timezones)) { in readTimezonesToDisplay()
177 while (xrp.next() != XmlResourceParser.START_TAG) { in readTimezonesToDisplay()
181 while (xrp.getEventType() != XmlResourceParser.END_TAG) { in readTimezonesToDisplay()
182 while (xrp.getEventType() != XmlResourceParser.START_TAG) { in readTimezonesToDisplay()
183 if (xrp.getEventType() == XmlResourceParser.END_DOCUMENT) { in readTimezonesToDisplay()
192 while (xrp.getEventType() != XmlResourceParser.END_TAG) { in readTimezonesToDisplay()
/frameworks/base/core/java/android/app/
DAliasActivity.java22 import android.content.res.XmlResourceParser;
59 XmlResourceParser parser = null; in onCreate()
/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.java31 import android.content.res.XmlResourceParser;
219 XmlResourceParser parser = null; in loadAnimation()
296 XmlResourceParser parser = null; in loadLayoutAnimation()
413 XmlResourceParser parser = null; in loadInterpolator()
437 XmlResourceParser parser = null; in loadInterpolator()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/
DColoredHeaderMixinTest.java26 import android.content.res.XmlResourceParser;
78 final XmlResourceParser parser = mContext.getResources().getXml(R.layout.test_mixin_attributes); in testSetColorFromXml()
DHeaderMixinTest.java27 import android.content.res.XmlResourceParser;
93 final XmlResourceParser parser = mContext.getResources().getXml(R.layout.test_mixin_attributes); in testSetTextFromXml()
/frameworks/base/core/java/com/android/internal/pm/pkg/parsing/
DParsingPackageUtils.java65 import android.content.res.XmlResourceParser;
587 try (XmlResourceParser parser = assets.openXmlResourceParser(cookie,
666 try (XmlResourceParser parser = assets.openXmlResourceParser(cookie,
696 String codePath, Resources res, XmlResourceParser parser, int flags,
748 Resources res, XmlResourceParser parser, int flags, int splitIndex)
812 ParsingPackage pkg, Resources res, XmlResourceParser parser, int flags, int splitIndex)
925 Resources res, XmlResourceParser parser) throws IOException, XmlPullParserException {
961 TypedArray sa, Resources res, XmlResourceParser parser, int flags,
1080 ParsingPackage pkg, Resources res, XmlResourceParser parser, int flags)
1168 ParsingPackage pkg, Resources res, XmlResourceParser parser)
[all …]
/frameworks/base/core/java/android/content/
DRestrictionsManager.java32 import android.content.res.XmlResourceParser;
612 XmlResourceParser xml = in getManifestRestrictions()
618 XmlResourceParser xml) { in loadManifestRestrictions()
650 private RestrictionEntry loadRestrictionElement(Context appContext, XmlResourceParser xml) in loadRestrictionElement()
663 … private RestrictionEntry loadRestriction(Context appContext, TypedArray a, XmlResourceParser xml) in loadRestriction()
/frameworks/base/core/java/android/content/res/
DXmlResourceParser.java29 public interface XmlResourceParser extends XmlPullParser, AttributeSet, AutoCloseable { interface
/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()

123456