telephony: DataConnection: support old RILs

Older RILs require different technology value

KK port
Signed-off-by: Andrew Sutherland <dr3wsuth3rland@gmail.com>

Change-Id: I0249bb597e2592b7e951945bc97d144ee2b2307a

Conflicts:
	src/java/com/android/internal/telephony/dataconnection/DataConnection.java

Signed-off-by: DHOMD <DHO@dho.im>
RIL: fix signal for legacy gsm devices

our parcels are short causing mLteRssnr to be 0 which  is a valid
value and causes SignalStrength to think we are an LTE device.

implement as oldRil "signalstrengthgsm"

Change-Id: Id1b47dbee6cc875bc2cde2f499f6ba788fa9ccb5
Work around for invalid AppType on legacy gsm devices

Passion is reporting AppType as UNKNOWN, in 4.1 it seems to have fallenback on
type SIM but in 4.2 some restructuring prevents this. So to workaround force to type SIM

implemented as oldRilFeature apptypesim

Only use if you see in logcat.

D/RIL_UiccCardApplication(  567): Creating UiccApp: {APPTYPE_UNKNOWN,APPSTATE_DETECTED}
E/RIL_UiccCard(  567): App index 0 is invalid since it's not APPTYPE_SIM and not APPTYPE_USIM

Change-Id: I7c13ef8f2a30f5e00116e16691f44aef5a1401af
Fix for phones that do not support RIL_REQUEST_DATA_REGISTRATION_STATE

Some older phones do not support reporting data registration status
via RIL_REQUEST_DATA_REGISTRATION_STATE. Instead, this fix allows them
to report via RIL_REQUEST_VOICE_REGISTRATION_STATE.

PS2: added missing brackets
PS3: added back !mIsSubscriptionFromRuim to if statement
PS4: changed to proper naming scheme and removed duplicate method

Change-Id: Ifc546256d2af26f4d9e372d66d6a4a557033af69