/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/ |
D | AppManifestConfigParserTest.java | 47 .getXml(R.xml.ad_services_config); in testValidXml() 213 .getXml(R.xml.ad_services_config_missing_sdk_name); in testInvalidXml_missingSdkLibrary() 228 .getXml(R.xml.ad_services_config_incorrect_values); in testInvalidXml_incorrectValues() 243 .getXml(R.xml.ad_services_config_missing_tags); in testValidXml_missingAllTags() 271 .getXml(R.xml.ad_services_config_all_false_missing_attribution); in testValidXml_missingAttribution() 293 .getXml(R.xml.ad_services_config_all_false_missing_custom_audiences); in testValidXml_missingCustomAudiences() 315 .getXml(R.xml.ad_services_config_all_false_missing_protected_signals); in testValidXml_missingProtectedSignals() 337 .getXml(R.xml.ad_services_config_all_false_missing_ad_selection); in testValidXml_missingAdSelection() 359 .getXml(R.xml.ad_services_config_all_false_missing_topics); in testValidXml_missingTopics() 381 .getXml(R.xml.ad_services_config_all_false_missing_adid); in testValidXml_missingAdId() [all …]
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | ApplicationSelfCertifiedNetworkCapabilitiesTest.kt | 50 val parser = mResource.getXml( in parseXmlWithWrongTag_shouldIgnoreWrongTag() 60 val parser = mResource.getXml( in parseXmlWithWrongDeclaration_shouldThrowException() 71 val parser = mResource.getXml(R.xml.self_certified_capabilities_other) in checkIfSelfCertifiedNetworkCapabilitiesDeclared_shouldThrowExceptionWhenNoDeclaration() 89 val parser = mResource.getXml(R.xml.self_certified_capabilities_both) in checkIfSelfCertifiedNetworkCapabilitiesDeclared_shouldPassIfDeclarationExist()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | ResourceHelper.kt | 30 open fun getXml(): XmlResourceParser { in getXml() method in com.android.launcher3.util.ResourceHelper 31 return context.resources.getXml(specsFileId) in getXml()
|
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/util/ |
D | WallpaperParserImplTest.kt | 78 val parser: XmlResourceParser = resources.getXml(wallpapersResId) in parseXMLForSystemCategories_shouldReturnCategories() 95 val parser: XmlResourceParser = resources.getXml(wallpapersResId) in parseInvalidXMLForSystemCategories_shouldReturnEmptyCategories() 112 val parser: XmlResourceParser = resources.getXml(wallpapersResId) in parseInvalidXMLForSystemCategories_shouldThrowException()
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/account/ |
D | ExternalAccountTypeTest.java | 130 getInstrumentation().getContext().getResources().getXml(R.xml.contacts_fallback) in testEditSchema_fallback() 158 getInstrumentation().getContext().getResources().getXml(xmlResId) in checkEditSchema_mustHaveChecks() 170 getInstrumentation().getContext().getResources().getXml(R.xml.contacts_readonly) in testReadOnlyDefinition()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/model/ |
D | RoleParserInitializer.java | 33 RoleParser.sGetRolesXml = context -> context.getResources().getXml(R.xml.roles); in initialize()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | AutoInstallsLayout.java | 197 () -> res.getXml(layoutId), rootTag); in AutoInstallsLayout() 290 return parseLayout(mSourceRes.getXml(resId)); in parseAndAddNode() 730 default XmlResourceParser getXml(@XmlRes int id) throws NotFoundException { in getXml() method 747 public XmlResourceParser getXml(int id) { in wrap() 748 return res.getXml(id); in wrap()
|
D | DefaultLayoutParser.java | 224 final XmlPullParser partnerParser = partner.getResources().getXml(resId); in parseAndAdd() 245 parser = mSourceRes.getXml(resId); in parseAndAdd()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/ |
D | EnterpriseSetDefaultAppsListFragmentTest.java | 46 XmlResourceParser parser = mRealContext.getResources().getXml(resId); in testGetPreferenceScreenResId()
|
D | EnterprisePrivacySettingsFragmentTest.java | 49 XmlResourceParser parser = mRealContext.getResources().getXml(resId); in testGetPreferenceScreenResId()
|
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/ |
D | IconUtil.java | 46 .createFromXml(res, res.getXml(R.color.two_panel_preference_icon_color)); in getCompoundIcon()
|
/packages/apps/CarrierConfig/src/com/android/carrierconfig/ |
D | DefaultCarrierConfigService.java | 124 getApplicationContext().getResources().getXml(R.xml.vendor_no_sim); in loadConfig() 181 XmlPullParser vendorInput = getApplicationContext().getResources().getXml(R.xml.vendor); in loadConfig()
|
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/manifest/ |
D | AppManifestConfigHelper.java | 65 XmlResourceParser xmlParser = resources.getXml(resId); in getAppManifestConfig()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/remoteaccess/ |
D | CarRemoteAccessServiceUnitTest.java | 264 when(mResources.getXml(R.xml.remote_access_serverless_client_map)).thenReturn( in setUp() 577 when(mResources.getXml(R.xml.remote_access_serverless_client_map)).thenReturn( in testAddCarRemoteTaskClient_serverlessClient() 604 when(mResources.getXml(R.xml.remote_access_serverless_client_map)).thenReturn( in testAddCarRemoteTaskClient_asignedDynamicClientId_thenBecomeServerlessClient() 751 when(mResources.getXml(R.xml.remote_access_serverless_client_map)).thenReturn( in testRemoteTaskRequested_serverlessClientRegisteredAfterRequest() 1304 when(mResources.getXml(R.xml.remote_access_serverless_client_map)).thenReturn( in testParseServerlessClientMap() 1322 when(mResources.getXml(R.xml.remote_access_serverless_client_map)).thenReturn( in testParseServerlessClientMapWithComment() 1347 when(mResources.getXml(R.xml.remote_access_serverless_client_map)).thenReturn( in testIsTaskScheduleSupported_true() 1368 when(mResources.getXml(R.xml.remote_access_serverless_client_map)).thenReturn( in testIsTaskScheduleSupported_clientNotConfigured() 1382 when(mResources.getXml(R.xml.remote_access_serverless_client_map)).thenReturn( in prepareTaskSchedule()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | PreferenceInflater.java | 51 return inflate(mContext.getResources().getXml(resId)); in inflate()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | LauncherSearchIndexablesProvider.java | 74 .getXml(R.xml.indexable_launcher_prefs)) { in queryNonIndexableKeys()
|
/packages/apps/Launcher3/src/com/android/launcher3/icons/ |
D | LauncherIconProvider.java | 79 try (XmlResourceParser parser = res.getXml(R.xml.grayscale_icon_map)) { in getThemedIconMap()
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
D | DefaultCarrierConfigValuesLoader.java | 100 xml = subContext.getResources().getXml(R.xml.mms_config); in loadFromResources()
|
/packages/apps/Car/Settings/src/com/android/car/settings/sound/ |
D | VolumeItemParser.java | 55 try (XmlResourceParser parser = context.getResources().getXml(volumeItemsXml)) { in loadAudioUsageItems()
|
/packages/apps/Launcher3/src/com/android/launcher3/responsive/ |
D | ResponsiveSpecsParser.kt | 40 val parser: XmlResourceParser = resourceHelper.getXml() in parseXML()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/category/client / |
D | DefaultWallpaperCategoryClient.kt | 117 wallpaperXMLParser.parseSystemCategories(partnerRes.getXml(wallpapersResId)) in <lambda>()
|
/packages/services/Car/car_product/distant_display/apps/CarDistantDisplaySystemUI/src/com/android/systemui/car/distantdisplay/util/ |
D | AppCategoryDetector.java | 85 try (XmlResourceParser parser = appResources.getXml(resourceId)) { in getAutomotiveAppTypes()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | WidgetSections.java | 74 try (XmlResourceParser parser = context.getResources().getXml(R.xml.widget_sections)) { in parseWidgetSectionsXml()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | BugleCarrierConfigValuesLoader.java | 133 parser = subContext.getResources().getXml(R.xml.mms_config); in loadFromResources()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | KeyboardLayoutSet.java | 345 final XmlResourceParser parser = resources.getXml(xmlId); in readScriptId() 401 final XmlResourceParser parser = res.getXml(resId); in parseKeyboardLayoutSet()
|