Home
last modified time | relevance | path

Searched refs:getXml (Results 1 – 25 of 70) sorted by relevance

123

/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/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserTypeTest.java360 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/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/
DColoredHeaderMixinTest.java78 final XmlResourceParser parser = mContext.getResources().getXml(R.layout.test_mixin_attributes); in testSetColorFromXml()
DHeaderMixinTest.java93 final XmlResourceParser parser = mContext.getResources().getXml(R.layout.test_mixin_attributes); in testSetTextFromXml()
DIconMixinTest.java111 final XmlResourceParser parser = mContext.getResources().getXml(R.layout.test_mixin_attributes); in testSetIconFromXml()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DSimpleInflater.java66 XmlResourceParser parser = getResources().getXml(resId); in inflate()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DModuleInfoProviderTest.java100 ctx.getResources().getXml(resourceId), ctx.getResources(), mApexManager); in getProvider()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DCombinedShadeHeaderConstraintsTest.kt49 load(context, context.resources.getXml(R.xml.qqs_header)) in <lambda>()
52 load(context, context.resources.getXml(R.xml.qs_header)) in <lambda>()
55 load(context, context.resources.getXml(R.xml.large_screen_shade_header)) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DShadeHeaderController.kt395 .load(context, resources.getXml(R.xml.qqs_header)) in <lambda>()
398 .load(context, resources.getXml(R.xml.qs_header)) in <lambda>()
401 .load(context, resources.getXml(R.xml.large_screen_shade_header)) in <lambda>()
/frameworks/base/services/core/java/com/android/server/power/stats/wakeups/
DIrqDeviceMap.java103 final XmlResourceParser parser = context.getResources().getXml(resId); in getInstance()
/frameworks/base/core/java/android/transition/
DTransitionInflater.java77 XmlResourceParser parser = mContext.getResources().getXml(resource); in inflateTransition()
106 XmlResourceParser parser = mContext.getResources().getXml(resource); in inflateTransitionManager()
/frameworks/base/test-mock/src/android/test/mock/
DMockResources.java162 public XmlResourceParser getXml(int id) throws NotFoundException { in getXml() method in MockResources
/frameworks/base/services/core/java/com/android/server/policy/
DGlobalKeyManager.java124 try (XmlResourceParser parser = context.getResources().getXml( in loadGlobalKeys()
/frameworks/base/tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/
DAnimatedVectorDrawableDupPerf.java66 final XmlPullParser parser = resources.getXml(rid); in create()
DVectorDrawablePerformance.java87 final XmlPullParser parser = resources.getXml(rid); in create()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DShortcutParser.java79 XmlResourceParser parser = mResources.getXml(mResId); in getShortcuts()
/frameworks/base/services/core/java/com/android/server/pm/
DUpdateOwnershipHelper.java98 try (XmlResourceParser parser = resources.getXml(resId)) { in readUpdateOwnerDenyList()
DModuleInfoProvider.java118 XmlResourceParser parser = packageResources.getXml( in systemReady()
DUserTypeFactory.java90 Resources.getSystem().getXml(com.android.internal.R.xml.config_user_types)) { in getUserTypes()
675 Resources.getSystem().getXml(com.android.internal.R.xml.config_user_types)) { in getUserTypeVersion()
710 Resources.getSystem().getXml(com.android.internal.R.xml.config_user_types)) { in getUserTypeUpgrades()
/frameworks/base/core/java/android/text/
DAutoText.java161 XmlResourceParser parser = r.getXml(com.android.internal.R.xml.autotext); in init()
/frameworks/base/telephony/java/com/android/internal/telephony/
DSms7BitEncodingTranslator.java177 parser = r.getXml(com.android.internal.R.xml.sms_7bit_translation_table); in load7BitTranslationTableFromXml()
/frameworks/base/core/java/android/security/net/config/
DXmlConfigSource.java82 try (XmlResourceParser parser = mContext.getResources().getXml(mResourceId)) { in ensureInitialized()
410 try (XmlResourceParser parser = resources.getXml(resId)) { in parseDebugOverridesResource()
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/mdnsFilter/
DVendorConfig.java215 try (XmlResourceParser parser = context.getResources().getXml(R.xml.vendorconfigs)) { in readVendorConfigs()
/frameworks/base/core/java/android/app/
DLocaleConfig.java149 XmlResourceParser parser = res.getXml(resId); in LocaleConfig()
/frameworks/base/packages/overlays/tests/src/com/android/theme/icon/
DIconPackOverlayTest.java245 XmlResourceParser parser = resources.getXml(rid); in getAVDAttributes()

123