packages/apps/CarrierConfig
cpeng b5f75efab3 android 13 from xiaosuan 2025-08-25 08:38:42 +08:00
..
assets android 13 from xiaosuan 2025-08-25 08:38:42 +08:00
res android 13 from xiaosuan 2025-08-25 08:38:42 +08:00
src/com/android/carrierconfig android 13 from xiaosuan 2025-08-25 08:38:42 +08:00
tests android 13 from xiaosuan 2025-08-25 08:38:42 +08:00
Android.bp android 13 from xiaosuan 2025-08-25 08:38:42 +08:00
AndroidManifest.xml android 13 from xiaosuan 2025-08-25 08:38:42 +08:00
CleanSpec.mk android 13 from xiaosuan 2025-08-25 08:38:42 +08:00
OWNERS android 13 from xiaosuan 2025-08-25 08:38:42 +08:00
README android 13 from xiaosuan 2025-08-25 08:38:42 +08:00
TEST_MAPPING android 13 from xiaosuan 2025-08-25 08:38:42 +08:00
proguard.flags android 13 from xiaosuan 2025-08-25 08:38:42 +08:00

README

Default Carrier Config App
==========================

This app works as part of com.android.phone.CarrierConfigLoader to configure telephony features
based on the subscriber's network. It replaced many XML resource overlays in frameworks/base and
frameworks/opt/telephony. The current framework allows per-network configuration that uses
CarrierIdentifier objects, rather than just mcc/mnc. per-network configuration files live in assets
folder. Two ways to configure per-network configuration. Preferred way is
carrier_config_carrierid_<carrierid>_<carriername>.xml
AOSP carrier ID assignments can be found at
https://android.googlesource.com/platform/packages/providers/TelephonyProvider/+/master/assets/latest_carrier_id/carrier_list.textpb
use carrier_config_mccmnc_<mccmnc>.xml only if there is no matching carrier id.

This app uses a CarrierIdentifier to read the appropriate config snippets from the assets folder.

If you make changes to the XML files, run the unit tests to ensure they can still be parsed:
    runtest carrierconfig-unit