PhoneFactory: fall back to default RIL if custom RIL Class fails

If the ro.telephony.ril_class property is set to an invalid class it will cause
Phone to repeatedly FC and make the device unuseable. This allows it to handle the
exceptions gracefully and fall back on the default RIL.

Change-Id: Ic9c309aff173de5267aa7ef633bfff87243f24fd
SamsungQualcommRIL: kill off some old code

Change-Id: I9784c99e0ac82d6982f5240e2576fce6a7c1e1b6
SamsungQualcommRIL: skip setCdmaSubscriptionSource if CDMA_SUBSCRIPTION_MODE is null

Change-Id: I9784c99e0ac82d6982f5240e2576fce6a7c1e1bf
SamsungQualcommRIL: Create 2 more app for nv type of subscription.

A proper patch for http://review.cyanogenmod.org/#/c/48388/

Change-Id: I42e3ec88452239a6b953dff0e636a8c2e5dbf958
SamsungQualcommRIL enhance and error proof icccardobject.

Change-Id: If30b572d2739ad8ee45370a68507acd73d780c0c
Fixup operatorCheck for Note3

Change-Id: Ia8de8312e088b7c4dd98e8d6084313b5f46731fb
SamsungQualcommRIL: fix compile error.

* remove obsolete classes

Change-Id: I69ec69c3c548090af5d7f7cac16aa822a5704047
SamsungQualcommRIL: rebase ril to 4.4.2

Change-Id: I99ec69c3c548090af5d7f7cac16aa822a5704047
Merge "PhoneFactory: fall back to default RIL if custom RIL Class fails" into cm-11.0
SamsungQualcommRil: bring back operatorCheck. (1/2)

* use more memory effience algorithim.
* Add Alot of comments
* Add xml to hashmap code.
* remove obsolete code.

Change-Id: Ia567d376962d95fced93634ace52452cdaeafd8b
Merge "SamsungQualcommRil: bring back operatorCheck. (1/2)" into cm-11.0
PhoneFactory: Block radio init if the device's custom class can't be used

Trap the initialization process in a 10 second error loop. The device
will be normally usable, and have a dead radio. The radio log buffer
will have the full stack dump explaining what went wrong during the
custom class instantiation

Change-Id: Id47d51737a9fb78e6d43a179ba304b1ba03c4219
SamsungQualcommRIL: Add Operator replace functionality to search network.

Add a new api called unOptimizedOperatorReplace, this is designed for
loop based like the one in operatorinfo.

Change-Id: Ic72a70178a1868365d85e81403cc88e0a75a7e39
GsmSST: Disregard any invalid verbose values for timezones in NITZ requests

And assume anything resulting in "GMT" is invalid, since that's the
default value returned by libcore

Change-Id: I361650400e71976d8327ee3929947ca26a9eff57
(cherry picked from commit f440bcd71fe735872b7e4c7ecd557503a79df756)
Merge "SamsungQualcommRIL: Add Operator replace functionality to search network." into cm-11.0
Telephony: Fix incorrect status display on UI in airplane mode

UI should display "No Service" instead of "Searching for Service" in airplane
 mode. Changes done to set ERI text to "Searching for Service" only when
 radio is on.
 Ported from AOSP.
Change-Id: Ic7cc7b140c07103810789a17b21605903fb90541
Merge remote-tracking branch 'upstream/cm-11.0' into cm-11.0