SamsungQualcommRIL: Add more validation of Signal Strength

Change-Id: I4b166543ba6898616c9e64a86ff65693f8e33f72
SamsungQualcommRil: reversed engineered implimentation of dial() from touchwiz

derived from Ricardo Ceq. and Tony Layher work.

Change-Id: Ie17762a5bce84791f85c98dfca88f576b2f5aeb9
telephony: do only run setCellInfoListRate for RIL version >= 8
old libraries like those from MR0 don't support this and sending this command causes endless wakelocks

Change-Id: Ia47d366f70841eb9910079e105add407f58e7555
Fix typo

Change-Id: Ia12ca4bd98c8f18a34af95b642e74196ea81fa19
Signed-off-by: Kevin Liu <airk908@gmail.com>
SamsungQualcommRIL: fix my derp.

* don't code when you are tired
Change-Id: Ic02bd9cbbe96b674d7c93a2c5807563ddf46199a
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
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
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