Home
last modified time | relevance | path

Searched refs:xml (Results 1 – 25 of 738) sorted by relevance

12345678910>>...30

/packages/apps/Settings/tests/robotests/src/com/android/settings/core/
DPreferenceXmlParserUtilsTest.java69 XmlResourceParser parser = getChildByType(R.xml.display_settings, in testDataTitleValid_ReturnsPreferenceTitle()
79 XmlResourceParser parser = getParentPrimedParser(R.xml.display_settings); in testDataKeywordsValid_ReturnsPreferenceKeywords()
88 XmlResourceParser parser = getChildByType(R.xml.display_settings, in testDataKeyValid_ReturnsPreferenceKey()
98 XmlResourceParser parser = getChildByType(R.xml.display_settings, in testDataSummaryValid_ReturnsPreferenceSummary()
109 XmlResourceParser parser = getChildByType(R.xml.display_settings, "CheckBoxPreference"); in testDataSummaryOnOffValid_ReturnsPreferenceSummaryOnOff()
121 XmlResourceParser parser = getChildByType(R.xml.display_settings, "ListPreference"); in testDataEntriesValid_ReturnsPreferenceEntries()
135 XmlResourceParser parser = getParentPrimedParser(R.xml.display_settings); in testDataKeyInvalid_ReturnsNull()
144 XmlResourceParser parser = getChildByType(R.xml.about_legal, "Preference"); in testControllerAttribute_returnsValidData()
153 XmlResourceParser parser = getParentPrimedParser(R.xml.display_settings); in testDataSummaryInvalid_ReturnsNull()
161 XmlResourceParser parser = getParentPrimedParser(R.xml.display_settings); in testDataSummaryOffInvalid_ReturnsNull()
[all …]
DInstrumentedPreferenceFragmentTest.java73 mFragment.setPreferenceScreenResId(R.xml.screen_pinning_settings); in onCreatePreferences_gotPreferenceScreenResId_shouldAddPreferences()
78 verify(mFragment).addPreferencesFromResource(R.xml.screen_pinning_settings); in onCreatePreferences_gotPreferenceScreenResId_shouldAddPreferences()
84 mFragment.setPreferenceScreenResId(R.xml.screen_pinning_settings); in onCreatePreferences_gotPrefScreenResIdAndTitle_shouldAddPreferencesAndSetTitle()
91 verify(mFragment).addPreferencesFromResource(R.xml.screen_pinning_settings); in onCreatePreferences_gotPrefScreenResIdAndTitle_shouldAddPreferencesAndSetTitle()
/packages/apps/Launcher3/
DAndroid.mk70 LOCAL_MANIFEST_FILE := AndroidManifest-common.xml
102 LOCAL_FULL_LIBS_MANIFEST_FILES := $(LOCAL_PATH)/AndroidManifest-common.xml
134 $(LOCAL_PATH)/AndroidManifest.xml \
135 $(LOCAL_PATH)/AndroidManifest-common.xml
137 LOCAL_MANIFEST_FILE := go/AndroidManifest.xml
175 LOCAL_MANIFEST_FILE := quickstep/AndroidManifest.xml
205 $(LOCAL_PATH)/AndroidManifest.xml \
206 $(LOCAL_PATH)/AndroidManifest-common.xml
208 LOCAL_MANIFEST_FILE := quickstep/AndroidManifest.xml
251 $(LOCAL_PATH)/go/AndroidManifest.xml \
[all …]
Dbuild.gradle92 manifest.srcFile 'AndroidManifest-common.xml'
100 manifest.srcFile "AndroidManifest.xml"
106 manifest.srcFile "tests/AndroidManifest-common.xml"
110 manifest.srcFile "tests/AndroidManifest.xml"
115 manifest.srcFile "AndroidManifest.xml"
121 manifest.srcFile "go/AndroidManifest.xml"
131 manifest.srcFile "quickstep/AndroidManifest.xml"
137 manifest.srcFile "quickstep/AndroidManifest.xml"
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/
DLeanbackKeyboardContainer.java654 mAbcKeyboard = new Keyboard(mContext, R.xml.qwerty_en_gb); in initKeyboards()
655 mSymKeyboard = new Keyboard(mContext, R.xml.sym_en_gb); in initKeyboards()
657 mAbcKeyboard = new Keyboard(mContext, R.xml.qwerty_en_in); in initKeyboards()
658 mSymKeyboard = new Keyboard(mContext, R.xml.sym_en_in); in initKeyboards()
660 mAbcKeyboard = new Keyboard(mContext, R.xml.qwerty_es_eu); in initKeyboards()
661 mSymKeyboard = new Keyboard(mContext, R.xml.sym_eu); in initKeyboards()
663 mAbcKeyboard = new Keyboard(mContext, R.xml.qwerty_es_us); in initKeyboards()
664 mSymKeyboard = new Keyboard(mContext, R.xml.sym_us); in initKeyboards()
666 mAbcKeyboard = new Keyboard(mContext, R.xml.qwerty_az); in initKeyboards()
667 mSymKeyboard = new Keyboard(mContext, R.xml.sym_eu); in initKeyboards()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/model/account/
DExternalAccountTypeTest.java129 getInstrumentation().getContext().getResources().getXml(R.xml.contacts_fallback) in testEditSchema_fallback()
143 checkEditSchema_mustHaveChecks(R.xml.missing_contacts_base, true); in testEditSchema_mustHaveChecks()
144 checkEditSchema_mustHaveChecks(R.xml.missing_contacts_photo, false); in testEditSchema_mustHaveChecks()
145 checkEditSchema_mustHaveChecks(R.xml.missing_contacts_name, false); in testEditSchema_mustHaveChecks()
146 checkEditSchema_mustHaveChecks(R.xml.missing_contacts_name_attr2, false); in testEditSchema_mustHaveChecks()
147 checkEditSchema_mustHaveChecks(R.xml.missing_contacts_name_attr3, false); in testEditSchema_mustHaveChecks()
148 checkEditSchema_mustHaveChecks(R.xml.missing_contacts_name_attr4, false); in testEditSchema_mustHaveChecks()
149 checkEditSchema_mustHaveChecks(R.xml.missing_contacts_name_attr5, false); in testEditSchema_mustHaveChecks()
150 checkEditSchema_mustHaveChecks(R.xml.missing_contacts_name_attr6, false); in testEditSchema_mustHaveChecks()
151 checkEditSchema_mustHaveChecks(R.xml.missing_contacts_name_attr7, false); in testEditSchema_mustHaveChecks()
[all …]
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarUxRestrictionsConfigurationXmlParserTest.java56 CarUxRestrictionsConfigurationXmlParser.parse(getContext(), R.xml.car_ux_restrictions_map); in testParsingDefaultConfiguration()
62 getContext(), R.xml.ux_restrictions_only_parameters).get(0); in testParsingParameters()
73 getContext(), R.xml.ux_restrictions_non_moving_state).get(0); in testParsingNonMovingState()
86 getContext(), R.xml.ux_restrictions_moving_state_no_speed_range).get(0); in testParsingMovingState_NoSpeedRange()
97 getContext(), R.xml.ux_restrictions_moving_state_single_speed_range).get(0); in testParsingMovingState_SingleSpeedRange()
108 getContext(), R.xml.ux_restrictions_moving_state_single_speed_range).get(0); in testParsingMovingState_MultiSpeedRange()
122 getContext(), R.xml.ux_restrictions_passenger_mode).get(0); in testParsingPassengerState()
141 getContext(), R.xml.ux_restrictions_passenger_mode).get(0); in testParsingPassengerMode_ValuesInBaselineAreNotAffected()
164 getContext(), R.xml.ux_restrictions_multiple_display_ports); in testParsingMultipleConfigurations()
182 getContext(), R.xml.ux_restrictions_multiple_display_ports); in testMultipleConfigurationsShareParameters()
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/
DStringResourceMap.java19 import org.xml.sax.Attributes;
20 import org.xml.sax.SAXException;
21 import org.xml.sax.SAXParseException;
22 import org.xml.sax.ext.DefaultHandler2;
33 import javax.xml.parsers.ParserConfigurationException;
34 import javax.xml.parsers.SAXParser;
35 import javax.xml.parsers.SAXParserFactory;
/packages/apps/Messaging/src/android/support/v7/mms/
DDefaultCarrierConfigValuesLoader.java98 XmlResourceParser xml = null; in loadFromResources() local
100 xml = subContext.getResources().getXml(R.xml.mms_config); in loadFromResources()
101 new CarrierConfigXmlParser(xml, new CarrierConfigXmlParser.KeyValueProcessor() { in loadFromResources()
121 if (xml != null) { in loadFromResources()
122 xml.close(); in loadFromResources()
DDefaultApnSettingsLoader.java402 XmlResourceParser xml = null; in loadFromResources() local
404 xml = mContext.getResources().getXml(R.xml.apns); in loadFromResources()
405 new ApnsXmlParser(xml, new ApnsXmlParser.ApnProcessor() { in loadFromResources()
432 if (xml != null) { in loadFromResources()
433 xml.close(); in loadFromResources()
/packages/modules/NetworkStack/
DAndroid.bp115 manifest: "AndroidManifestBase.xml",
138 manifest: "AndroidManifestBase.xml",
174 manifest: "AndroidManifest_InProcess.xml",
188 manifest: "AndroidManifest.xml"
197 manifest: "AndroidManifest_Next.xml",
208 manifest: "AndroidManifest.xml",
219 manifest: "AndroidManifestBase.xml",
280 srcs: ["AndroidManifest.xml"],
281 out: ["TestAndroidManifest.xml"],
/packages/services/Car/car-lib/
DAndroid.mk30 …:= $(addprefix $(TARGET_OUT_COMMON_INTERMEDIATES)/,car-api.xml car-system-api.xml car-test-api.xml)
31 $(car_api_xmls): $(TARGET_OUT_COMMON_INTERMEDIATES)/car-%api.xml : packages/services/Car/car-lib/ap…
/packages/services/Car/car_product/build/
Dcar_base.mk68 …ve/data/etc/android.hardware.type.automotive.xml:system/etc/permissions/android.hardware.type.auto…
72 …ar/car_product/build/default-car-permissions.xml:system/etc/default-permissions/default-car-permis…
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DDataUsageSummary.java131 return R.xml.data_usage; in getPreferenceScreenResId()
158 inflatePreferences(R.xml.data_usage_cellular); in addMobileSection()
170 inflatePreferences(R.xml.data_usage_wifi); in addWifiSection()
176 inflatePreferences(R.xml.data_usage_ethernet); in addEthernetSection()
349 resource.xmlResId = R.xml.data_usage;
353 resource.xmlResId = R.xml.data_usage_cellular;
357 resource.xmlResId = R.xml.data_usage_wifi;
/packages/apps/Messaging/build/
Dandroid_lint.mk28 API_VERSIONS_XML := $(abspath development/sdk/api-versions.xml)
30 ln -f -s $(abspath prebuilts/fullsdk/linux/platform-tools/api/api-versions.xml) $(API_VERSIONS_XML)
33 $(LOCAL_PACKAGE_NAME)LINT_XML := $(intermediates.COMMON)/$(LOCAL_PACKAGE_NAME)_android_lint.xml
43 $(LINT_CMD) --xml $@ > /dev/null
/packages/modules/Cronet/apex/
DAndroid.bp23 // Use a custom AndroidManifest.xml used for API targeting.
24 androidManifest: ":cronet-manifest.xml",
28 name: "cronet-manifest.xml",
30 "AndroidManifest.xml",
/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/
DRoles.java131 try (XmlResourceParser parser = context.getResources().getXml(R.xml.roles)) { in load()
132 Pair<ArrayMap<String, PermissionSet>, ArrayMap<String, Role>> xml = parseXml(parser); in load() local
133 if (xml == null) { in load()
136 ArrayMap<String, PermissionSet> permissionSets = xml.first; in load()
137 ArrayMap<String, Role> roles = xml.second; in load()
149 Pair<ArrayMap<String, PermissionSet>, ArrayMap<String, Role>> xml = null; in parseXml() local
162 if (xml != null) { in parseXml()
167 xml = parseRoles(parser); in parseXml()
174 if (xml == null) { in parseXml()
177 return xml; in parseXml()
/packages/apps/Settings/src/com/android/settings/network/
DNetworkDashboardFragment.java64 return R.xml.network_and_internet_v2; in getPreferenceScreenResId()
66 return R.xml.network_and_internet; in getPreferenceScreenResId()
173 sir.xmlResId = R.xml.network_and_internet_v2;
175 sir.xmlResId = R.xml.network_and_internet;
/packages/apps/TV/tuner/SampleDvbTuner/src/com/android/tv/tuner/sample/dvb/
DREADME.md22 ### modify privapp-permissions-atv.xml
24 Edit system/etc/permissions/privapp-permissions-atv.xml
26 ```xml
/packages/apps/TV/tuner/SampleNetworkTuner/src/com/android/tv/tuner/sample/network/
DREADME.md22 ### modify privapp-permissions-atv.xml
24 Edit system/etc/permissions/privapp-permissions-atv.xml
26 ```xml
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/
DNetworkDashboardFragment.java64 return R.xml.network_and_internet_v2; in getPreferenceScreenResId()
66 return R.xml.network_and_internet; in getPreferenceScreenResId()
173 sir.xmlResId = R.xml.network_and_internet_v2;
175 sir.xmlResId = R.xml.network_and_internet;
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DPreferenceControllerListHelperTest.java53 R.xml.preference_controller_list_helper_success, in getControllers_returnsList()
71 R.xml.preference_controller_list_helper_fail_invalid_controller, in getControllers_invalidController_throwsIllegalArgumentException()
80 R.xml.preference_controller_list_helper_fail_missing_key, in getControllers_missingKey_throwsIllegalArgumentException()
DTwoActionPreferenceTest.java100 R.xml.two_action_preference_shown); in preferenceConstructed_attrDefined_actionShown()
113 R.xml.two_action_preference_action_shown_not_specified); in preferenceConstructed_defaultValue_actionShown()
126 R.xml.two_action_preference_hidden); in preferenceConstructed_attrDefined_actionHidden()
/packages/wallpapers/LivePicker/
DAndroid.bp18 name: "android.software.live_wallpaper.xml",
20 src: "android.software.live_wallpaper.xml",
26 required: ["android.software.live_wallpaper.xml"],
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageSummary.java126 return R.xml.data_usage; in getPreferenceScreenResId()
153 inflatePreferences(R.xml.data_usage_cellular); in addMobileSection()
166 inflatePreferences(R.xml.data_usage_wifi); in addWifiSection()
172 inflatePreferences(R.xml.data_usage_ethernet); in addEthernetSection()

12345678910>>...30