Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
bin/ | 03-May-2024 | - | 21 | 16 | ||
java/ | 03-May-2024 | - | 1,591 | 1,147 | ||
proto/ | 03-May-2024 | - | 282 | 236 | ||
python/ | 03-May-2024 | - | 924 | 668 | ||
Android.bp | D | 03-May-2024 | 2.7 KiB | 119 | 112 | |
OWNERS | D | 03-May-2024 | 53 | 4 | 3 | |
README | D | 03-May-2024 | 809 | 22 | 15 | |
main.sh | D | 03-May-2024 | 4.7 KiB | 130 | 84 |
README
1This tool converts carrier config and APNs from XML format to protobuf format. 2 3AOSP default carrier configs can be found in packages/apps/CarrierConfig, 4and APNs in device/sample/etc/apns-full-conf.xml. 5 6Usage: 7 8$ source build/envsetup.sh 9$ lunch foo_bar 10$ croot 11$ source <path>/main.sh 12 13The commands above build the tool from source code and run them. 14 15This tool is best supported on Android 11 code base. See additional steps 16in bin/README.md run it on Android 10. 17 18Usually, if a MVNO has no APN defined in xml, the tool will use APNs of the corresponding MNO, 19based on MCC/MNC values. However, a CarrierConfig carriersettingstool.no_apn_for_mvno_bool 20can be set as true to avoid such copying in conversion tool. 21carriersettingstool.no_apn_for_mvno_bool will also be removed from final config by the tool. 22