rilmodem/ofono — pull request #146 by vicamo (2014-12-25 08:38:40+00:00)
Title: rilmodem: set android property if available

This pull request adds lines to detect availability of __libandroid-properties__ from __libhybris__ and, if available, sets standard android telephony properties accordingly.

Supported properties so far are:
1. gsm.version.baseband
2. gsm.sim.state
3. gsm.sim.operator.alpha
4. gsm.sim.operator.numeric
5. gsm.sim.operator.iso-country
6. gsm.network.type,
7. gsm.operator.alpha
8. gsm.operator.numeric
9. gsm.operator.iso-country
10. gsm.operator.isroaming

Not supported are:
1. gsm.version.ril-impl: set by rild
2. operator.ismanual: never set in AOSP
3. telephony.lteOnCdmaProductType
4. telephony.lteOnCdmaDevice
5. gsm.current.phone-type: to be done when VOICE_RADIO_TECH is supported
6. ril.cdma.inecmmode
7. telephony.sms.receive
8. telephony.sms.send
9. persist.radio.cdma.msgid
10. persist.radio.reset_on_switch
11. gsm.nitz.time
12. net.ppp.reset-by-timeout

A detail, but might not be complete, list of such properties is available in https://android.googlesource.com/platform/frameworks/base/+/master/telephony/java/com/android/internal/telephony/TelephonyProperties.java