Home
last modified time | relevance | path

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

123

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserTypeTest.java265 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()
DModuleInfoProviderTest.java98 ctx.getResources().getXml(resourceId), ctx.getResources(), mApexManager); in getProvider()
/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/services/tests/servicestests/src/com/android/server/search/
DSearchablesTest.java375 public XmlResourceParser getXml(String packageName, int resid, ApplicationInfo appInfo) { in getXml() method in SearchablesTest.MyMockPackageManager
381 return mRealPackageManager.getXml(packageName, resid, appInfo); in getXml()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/
DHeaderMixinTest.java93 final XmlResourceParser parser = mContext.getResources().getXml(R.layout.test_mixin_attributes); in testSetTextFromXml()
DColoredHeaderMixinTest.java78 final XmlResourceParser parser = mContext.getResources().getXml(R.layout.test_mixin_attributes); in testSetColorFromXml()
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/core/java/com/android/server/pm/
DUserTypeFactory.java83 Resources.getSystem().getXml(com.android.internal.R.xml.config_user_types)) { in getUserTypes()
488 Resources.getSystem().getXml(com.android.internal.R.xml.config_user_types)) { in getUserTypeVersion()
523 Resources.getSystem().getXml(com.android.internal.R.xml.config_user_types)) { in getUserTypeUpgrades()
DModuleInfoProvider.java108 XmlResourceParser parser = packageResources.getXml( in systemReady()
/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/tests/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/services/core/java/com/android/server/policy/
DGlobalKeyManager.java127 parser = context.getResources().getXml(com.android.internal.R.xml.global_keys); in loadGlobalKeys()
DModifierShortcutManager.java141 XmlResourceParser parser = mContext.getResources().getXml( in loadShortcuts()
/frameworks/base/core/java/android/security/net/config/
DXmlConfigSource.java82 try (XmlResourceParser parser = mContext.getResources().getXml(mResourceId)) { in ensureInitialized()
397 try (XmlResourceParser parser = resources.getXml(resId)) { in parseDebugOverridesResource()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DShortcutParser.java79 XmlResourceParser parser = mResources.getXml(mResId); in getShortcuts()
/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/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/mdnsFilter/
DVendorConfig.java215 try (XmlResourceParser parser = context.getResources().getXml(R.xml.vendorconfigs)) { in readVendorConfigs()
/frameworks/base/services/core/java/com/android/server/webkit/
DSystemImpl.java79 parser = AppGlobals.getInitialApplication().getResources().getXml( in SystemImpl()
/frameworks/base/packages/overlays/tests/src/com/android/theme/icon/
DIconPackOverlayTest.java245 XmlResourceParser parser = resources.getXml(rid); in getAVDAttributes()
/frameworks/base/core/java/android/content/pm/
DPackageItemInfo.java397 return pm.getXml(packageName, resid, getApplicationInfo()); in loadXmlMetaData()
/frameworks/base/core/java/android/preference/
DGenericInflater.java269 XmlResourceParser parser = getContext().getResources().getXml(resource); in inflate()

123