• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Default Carrier Config App
2==========================
3
4This app works as part of com.android.phone.CarrierConfigLoader to configure telephony features
5based on the subscriber's network. It replaced many XML resource overlays in frameworks/base and
6frameworks/opt/telephony. The current framework allows per-network configuration that uses
7CarrierIdentifier objects, rather than just mcc/mnc. per-network configuration files live in assets
8folder. Two ways to configure per-network configuration. Preferred way is
9carrier_config_carrierid_<carrierid>_<carriername>.xml
10AOSP carrier ID assignments can be found at
11https://android.googlesource.com/platform/packages/providers/TelephonyProvider/+/master/assets/carrier_list.textpb
12use carrier_config_mccmnc_<mccmnc>.xml only if there is no matching carrier id.
13
14This app uses a CarrierIdentifier to read the appropriate config snippets from the assets folder.
15
16If you make changes to the XML files, run the unit tests to ensure they can still be parsed:
17    runtest carrierconfig-unit