Home
last modified time | relevance | path

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

12345

/frameworks/base/core/java/android/security/net/config/
DXmlConfigSource.java5 import android.content.res.XmlResourceParser;
100 try (XmlResourceParser parser = mContext.getResources().getXml(mResourceId)) { in ensureInitialized()
112 private Pin parsePin(XmlResourceParser parser) in parsePin()
141 private PinSet parsePinSet(XmlResourceParser parser) in parsePinSet()
172 private Domain parseDomain(XmlResourceParser parser, Set<String> seenDomains) in parseDomain()
192 private CertificatesEntryRef parseCertificatesEntry(XmlResourceParser parser, in parseCertificatesEntry()
218 private Collection<CertificatesEntryRef> parseTrustAnchors(XmlResourceParser parser, in parseTrustAnchors()
235 XmlResourceParser parser, Set<String> seenDomains, in parseConfigEntry()
322 private void parseNetworkSecurityConfig(XmlResourceParser parser) in parseNetworkSecurityConfig()
413 try (XmlResourceParser parser = resources.getXml(resId)) { in parseDebugOverridesResource()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
DPackageValidator.java22 import android.content.res.XmlResourceParser;
57 private Map<String, ArrayList<CallerInfo>> readValidCertificates(XmlResourceParser parser) { in readValidCertificates()
61 while (eventType != XmlResourceParser.END_DOCUMENT) { in readValidCertificates()
62 if (eventType == XmlResourceParser.START_TAG in readValidCertificates()
/frameworks/base/test-runner/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.java25 import android.content.res.XmlResourceParser;
188 public Row(Resources res, Keyboard parent, XmlResourceParser parser) { in Row()
331 public Key(Resources res, Row parent, int x, int y, XmlResourceParser parser) { in Key()
783 protected Row createRowFromXml(Resources res, XmlResourceParser parser) { in createRowFromXml()
788 XmlResourceParser parser) { in createKeyFromXml()
792 private void loadKeyboard(Context context, XmlResourceParser parser) { in loadKeyboard()
806 while ((event = parser.next()) != XmlResourceParser.END_DOCUMENT) { in loadKeyboard()
807 if (event == XmlResourceParser.START_TAG) { in loadKeyboard()
840 } else if (event == XmlResourceParser.END_TAG) { in loadKeyboard()
864 private void skipToEndOfRow(XmlResourceParser parser) in skipToEndOfRow()
[all …]
/frameworks/base/core/tests/coretests/src/android/content/res/
DFontResourcesParserTest.java61 XmlResourceParser parser = mResources.getXml(R.font.samplexmlfont); in testParse()
89 XmlResourceParser parser = mResources.getXml(R.font.samplexmldownloadedfont); in testParseDownloadableFont()
102 XmlResourceParser parser = mResources.getXml(R.font.samplexmldownloadedfontsinglecerts); in testParseDownloadableFont_singleCerts()
123 XmlResourceParser parser = mResources.getXml(R.font.samplexmldownloadedfontmulticerts); in testParseDownloadableFont_multipleCerts()
/frameworks/base/telephony/java/com/android/internal/telephony/
DSms7BitEncodingTranslator.java23 import android.content.res.XmlResourceParser;
177 XmlResourceParser parser = null; in load7BitTranslationTableFromXml()
230 if (parser instanceof XmlResourceParser) { in load7BitTranslationTableFromXml()
231 ((XmlResourceParser)parser).close(); in load7BitTranslationTableFromXml()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DResourcesWrapper.java24 import android.content.res.XmlResourceParser;
176 public XmlResourceParser getLayout(int id) throws NotFoundException { in getLayout()
181 public XmlResourceParser getAnimation(int id) throws NotFoundException { in getAnimation()
186 public XmlResourceParser getXml(int id) throws NotFoundException { in getXml()
273 public void parseBundleExtras(XmlResourceParser parser, Bundle outBundle) in parseBundleExtras()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/datetime/
DZoneGetter.java20 import android.content.res.XmlResourceParser;
149 try (XmlResourceParser xrp = context.getResources().getXml(R.xml.timezones)) { in readTimezonesToDisplay()
150 while (xrp.next() != XmlResourceParser.START_TAG) { in readTimezonesToDisplay()
154 while (xrp.getEventType() != XmlResourceParser.END_TAG) { in readTimezonesToDisplay()
155 while (xrp.getEventType() != XmlResourceParser.START_TAG) { in readTimezonesToDisplay()
156 if (xrp.getEventType() == XmlResourceParser.END_DOCUMENT) { in readTimezonesToDisplay()
165 while (xrp.getEventType() != XmlResourceParser.END_TAG) { in readTimezonesToDisplay()
/frameworks/base/core/java/android/view/animation/
DAnimationUtils.java25 import android.content.res.XmlResourceParser;
105 XmlResourceParser parser = null; in loadAnimation()
183 XmlResourceParser parser = null; in loadLayoutAnimation()
305 XmlResourceParser parser = null; in loadInterpolator()
335 XmlResourceParser parser = null; in loadInterpolator()
/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/content/
DRestrictionsManager.java26 import android.content.res.XmlResourceParser;
548 XmlResourceParser xml = in getManifestRestrictions()
554 XmlResourceParser xml) { in loadManifestRestrictions()
586 private RestrictionEntry loadRestrictionElement(Context appContext, XmlResourceParser xml) in loadRestrictionElement()
599 … private RestrictionEntry loadRestriction(Context appContext, TypedArray a, XmlResourceParser xml) in loadRestriction()
/frameworks/support/compat/tests/java/android/support/v4/content/res/
DFontResourcesParserCompatTest.java30 import android.content.res.XmlResourceParser;
65 XmlResourceParser parser = mResources.getXml(R.font.samplexmlfont); in testParse()
94 XmlResourceParser parser = mResources.getXml(R.font.samplexmldownloadedfont); in testParseDownloadableFont()
/frameworks/base/core/java/android/app/
DAliasActivity.java25 import android.content.res.XmlResourceParser;
56 XmlResourceParser parser = null; in onCreate()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/
DColoredHeaderMixinTest.java26 import android.content.res.XmlResourceParser;
82 final XmlResourceParser parser = in testSetColorFromXml()
DHeaderMixinTest.java27 import android.content.res.XmlResourceParser;
97 final XmlResourceParser parser = in testSetTextFromXml()
DIconMixinTest.java26 import android.content.res.XmlResourceParser;
91 final XmlResourceParser parser = in testSetIconFromXml()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DSimpleInflater.java20 import android.content.res.XmlResourceParser;
68 XmlResourceParser parser = getResources().getXml(resId); in inflate()
/frameworks/base/core/java/android/content/res/
DXmlResourceParser.java29 public interface XmlResourceParser extends XmlPullParser, AttributeSet, AutoCloseable { interface
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/mdnsFilter/
DVendorConfig.java22 import android.content.res.XmlResourceParser;
214 try (XmlResourceParser parser = context.getResources().getXml(R.xml.vendorconfigs)) { in readVendorConfigs()
219 } while (parsingEvent != XmlResourceParser.START_TAG); in readVendorConfigs()
/frameworks/base/core/java/android/service/autofill/
DAutofillServiceInfo.java27 import android.content.res.XmlResourceParser;
103 XmlResourceParser parser = si.loadXmlMetaData(pm, AutofillService.SERVICE_META_DATA); in getMetaDataArray()
/frameworks/base/core/tests/overlaytests/OverlayTest/src/com/android/overlaytest/
DOverlayBaseTest.java5 import android.content.res.XmlResourceParser;
204 XmlResourceParser parser = mResources.getXml(R.xml.integer); in testAppXml()
206 while (type != XmlResourceParser.END_DOCUMENT && actual == -1) { in testAppXml()
207 if (type == XmlResourceParser.START_TAG && "integer".equals(parser.getName())) { in testAppXml()
/frameworks/base/services/core/java/com/android/server/policy/
DGlobalKeyManager.java22 import android.content.res.XmlResourceParser;
93 XmlResourceParser parser = null; in loadGlobalKeys()
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DSimpleInflater.java26 import android.content.res.XmlResourceParser;
48 XmlResourceParser parser = null; in inflate()
/frameworks/support/transition/src/android/support/transition/
DFade.java24 import android.content.res.XmlResourceParser;
103 int fadingMode = TypedArrayUtils.getNamedInt(a, (XmlResourceParser) attrs, "fadingMode", in Fade()
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/
DAnimationUtilsCompat.java25 import android.content.res.XmlResourceParser;
70 XmlResourceParser parser = null; in loadInterpolator()

12345