summaryrefslogtreecommitdiffstats
path: root/src/com/android
Commit message (Collapse)AuthorAgeFilesLines
* More thorough XML testing.Jonathan Basseri2015-06-251-33/+36
| | | | | | | | | | | | | | | | | | | Include vendor.xml in unit tests. Note that changing the build target with lunch can switch your vendor.xml. Update DefaultCarrierConfigService#readConfigFromXml to throw errors instead of returning an empty bundle. This makes failed test output much better. Add a test to check that every variable in XML files matches a KEY in CarrierConfigManager. Increase detail of error messages with XmlPullParser#getPositionDescription Bug: 21619172 Change-Id: I500f4b2476a6fe4fdd6ae0232e293a0f1d82b7b0
* Read XML files as InputStream.Jonathan Basseri2015-06-231-4/+13
| | | | | | | | | | Attempting to read XML files in assets/ with openXmlResourceParser was failing with FileNotFound because files in the assets folder are not precompiled into binary XML. Our only choice is to read them as regular text streams. Bug: 21618018 Change-Id: I463791ae4a1dd5f6a72433a114bd02e39cf5a943
* Add tests for CarrierConfig app.Junda Liu2015-06-191-3/+0
| | | | | | | | These tests check that all asset XML files can be parsed into bundles and that they use valid filter attributes. Bug: b/21619172 Change-Id: I4242f77c3c7e8b0e2027bca164f7276b89bbcfb1
* Moving default values into separate files.Jonathan Basseri2015-06-171-1488/+164
| | | | | | | | | | | | | | Make DefaultCarrierConfigService easier to maintain by moving the values for each network into XML files. It's important to note that this uses assets and not resources. The file for a particular network may depend on more than just the MCC+MNC in the future. Note on the XML document format. This is set by PersistableBundle.restoreFromXml, so there is no option to change it in this CL. Bug: 21618018 Change-Id: Iecfe7009c2aa0f7a9d5814d1f355dfe4190ce912
* Adding config values for triggering CI action on System update.Amit Mahajan2015-06-111-0/+24
| | | | | Bug: 21603815 Change-Id: I401099a9aeced578ee914ddbebf1f5982f276780
* Copying all mms_config.xml into carrier config.Jonathan Basseri2015-06-081-14/+1132
| | | | | | | | | | | This copies every network override from mms_config.xml files in packages/services/Mms into the default carrier config service. Once these variables are available through CarrierConfigManager, MmsConfigManager can be updated to read from there instead of XML files. Bug: 21085630 Change-Id: I35b5e304ed73a46382145dfb7f4f953edae78f9a
* Add Orange vvm app package name.Nancy Chen2015-06-081-0/+4
| | | | | | | | So that if it is installed, the dialer visual voicemail feature will be disabled. Bug: 2112648 Change-Id: Ie60bff73f48f467482e56fb3f3a1fd16dab3ff88
* Renaming carrier config variable keys.Jonathan Basseri2015-06-051-164/+164
| | | | | | | API council advised us to use KEY_NAME_TYPE for our key constants. Bug: 21571894 Change-Id: I037a8b4f17d57a34da54a4f49372d86a0f1c25af
* Update Orange and TMO carrier configuration values.Nancy Chen2015-06-041-2/+8
| | | | | | | | | For Orange, we were previously using preproduction, switch to production. For Tmo we need the carrier vvm app's package name so we can disable dialer vvm if it is installed. Bug: 21126480 Change-Id: I0deb879a03e3c228ff8dd1c86af8c85502a08780
* Use the renamed carrier serviceZach Johnson2015-05-261-2/+2
| | | | Change-Id: I1f24d56a30cc4963fd293666f6e8f602fb83aa44
* Add vvm config details for T-Mobile.Nancy Chen2015-05-251-4/+17
| | | | | | | Adding configuration details for T-Mobile's visual voicemail. Bug: 21126480 Change-Id: If460fea0d3298a5e6a850d3e7b53bbdf046ec671
* Add new values to carrier config app.Nancy Chen2015-05-131-2/+16
| | | | | | | Add new values to be compatible with EE. Bug:21126480 Change-Id: Ib6e490530ec70f9fe3f42fb3e3b65776893fa54c
* Rename BOOL_SHOW_CDMA to BOOL_SHOW_CDMA_CHOICES, so the name makes more sense.Junda Liu2015-05-131-21/+21
| | | | | Bug: b/21028396 Change-Id: I219639411e5bf57c6df4a02f8be751576247bdf6
* Switching to PersistableBundle in carrier config API.Jonathan Basseri2015-05-121-79/+79
| | | | | | | | | | | | | | | Part of this API involves persisting config bundles to avoid binding to apps at critical moments (like boot). Regular bundles should not be written to disk because they support object types that can lose their meaning while the data is at rest. In order to use PersistableBundle, we must either start with one or filter unwanted types out of Bundle objects. Since the carrier config API has no use for unsupported types, we chose to use PersistableBundle everywhere. Bug: 20268926 Change-Id: Ife947f5ec8cb640c0fa3fdf53c7976f055605777
* Moving values from network overlays to carrier config app.Jonathan Basseri2015-04-281-36/+186
| | | | | | | | | | | | | | | This adds network overrides for variables that were previously overridden with network overlay files. The values came from files like packages/services/Telephony/res/values-mccXXX-mncYYY/config.xml This will allow us to delete the corresponding values from those config.xml files, as well as device-network overlay files like device/VENDOR/MODEL/overlay/packages/services/Telephony/res/values-mccXXX-mncYYY/config.xml because those overlays do not conflict with the network overlays for these variables. Bug: 20270007 Change-Id: I44c6241749110c75a396859ce8079852d330329d
* Follow INT_VVM_PORT_NUMBER renameYorke Lee2015-04-171-2/+2
| | | | | Bug: 20272209 Change-Id: I2ea2a0b8581f899a8afa1105cdea9c2ddaf792db
* New carrier configuration default values for visual voicemail.Nancy Chen2015-04-161-0/+14
| | | | | Bug: 19236241 Change-Id: I3bd777b4344ecb3035f626daa3be54e1c8ac4a98
* Initial commit for the new Default Carrier Config app.Jonathan Basseri2015-04-161-0/+169
This app will eventually own carrier/telephony configuration that is currently stored in config.xml overlays. For now it only has a few of the variables that will be migrated. Bug: b/19483786 Change-Id: I66a25f232a5e1ff6b8f988a3497d70ee8dd32e82