Telephony: Set data registration state in APM for IWLAN RAT

- APM causes data registration state to be POWER_OFF. Set it
  to IN_SERVICE for iwlan case
- In APM, UNSOL_VOICE_NETWORK_STATE_CHANGED resets data RAT and
  registration state to POWER_OFF. Ensure that this is done only
  when current RAT is not IWLAN or when iwlan feature is not
  available.

CRs-Fixed: 754338

Change-Id: I4c9bff1663837530349cb53027e2ef9b7dc873d6
Telephony: Add API for suppporting SMSC function

1. getSmscAddressFromIcc that fetch SMSC address from ICC card.
2. setSmscAddressToIcc that set SMSC address to ICC card.

Change-Id: Idb78ec95a170435900fb4b2dda0d49fdf14953cf
Fix adding second call on ims

If request to hold first call times out
telephony never acts on pendingMO call it stores
in ImsPhoneCallTracker to actually place second
dial request

Change-Id: If62e4a614945ab3941f8bb22039d1178730c51f7
CRs-Fixed: 762677
Merge "Telephony: Add API for suppporting SMSC function"
Merge "Telephony: Set data registration state in APM for IWLAN RAT"
Added support for conference call SRVCC

1. Clear all handover connections that match state of CS connection
during SRVCC. This leads to the remaining DC calls take the route
of phantom call.

2. Fix the issue of Disconnected Connections not being removed from
ImsPhoneCall

Change-Id: I0268d511c6418d5a5a161e16f1e5bb3350b47868
CRs-Fixed: 756415
IMS: Incoming Call Barring

Allowed activation and deactivation request
   for MMI code 157 and all other requests
   for MMI code 156.

Change-Id: I4d267065c47d01ba5fba3c412aa00f4fdfdddc25
CRs-Fixed: 737839
IMS: Do not update connection state for onCallUpdated callback

onCallUpdated callback is to inform updates on parameters of ImsCall
other than the call state. Updating the call state during onCallUpdated
is sometimes corrupting the connection state, especially during
hold/resume operation. Hence refactored code to not update state
of connection for call updated callback.

Change-Id: I3d9937d24fa38b8d044b88d1146bd6a96dd97f30
CRs-Fixed: 768450
IMS: After SRVCC handover, disconnect the dropped IMS calls

After a successful SRVCC handover, disconnect the handover pending
or dropped IMS calls, if any

Change-Id: Ica5c3f5524124198f99f0fb42f9a4b817fc99a0e
CRs-Fixed: 767815
Telephony: Handle PS DETACH failure during DDS SWITCH

In DSDS, PS DETACH can fail if there is an ongoing voice call on the same sub.
This scenario is triggered when sub1 is DDS and is in a voice call. At this time
there is an MMS on sub2. DdsScheduler goes into DdsSwitchState and initiates an
on demand DDS switch from sub1 to sub2. This involves doing a PS DETACH on sub 1
followed by PS ATTACH on sub2.
If PS DETACH itself does not go through, data connection on sub1 will not be torn
down. As a result, DdsScheduler will be stuck in DdsSwitch state unable to process
further DDS switch requests.
Handle this by introducing PS DETACH retries for 6 times and notifying DdsScheduler
of the failure so that it goes back to IdleState to process further requests

CRs-Fixed: 759265
Change-Id: Ia426a51167be007847b1edde444eb154bb536e5a
IMS-VT: Enable Video conferencing.

Enable Video conferencing.

Change-Id: Ia1155960492165cff7f4993a4bf98ecc920ebf41
Ims: Detach disconnected connections from its parent

Detach disconnected connections from its parent once
the call is ended

Change-Id: Id9cecf65791cc8a1d3773d54d3eb0e5962f9e953
CRs-Fixed: 767825
Fix exception when copying email data

It will occur exception when email address length is greater than
the max length of each item in EF_email file.

Add length check to avoid the exception

Change-Id: I893555d282231700ee7cd94fe6cb61af9e14bd9a
CRs-Fixed: 768920
Merge "Fix exception when copying email data"
Merge "Added support for conference call SRVCC"
Telephony: Handle PS Detach failure

In DSDS, PS DETACH on DDS sub can fail if there is MT page/connection
or MO SMS in progress at the same time. As a result, data connection
on DDS sub will not be torn down. DdsScheduler will be stuck in DdsSwitch
state unable to process further DDS switch requests.
Handle this by notifying DdsScheduler of the failure so that it goes back to
IdleState to process further requests.

CRs-Fixed: 759265

Change-Id: Id33d2dbff3be6edd9f865b78b3ba06ba840edf10
Merge "Telephony: Handle PS Detach failure"
Merge "Fix adding second call on ims"
Merge AU_LINUX_ANDROID_LA.BF.1.1.2_RB1.05.00.00.016.011 on remote branch

Change-Id: Id514460f5399614fe76c15ce579b2c9c481ba25b
Merge pull request #3 from AOSParadox/LA.BF.1.1.2_rb1.10

CAF UPDATE : LA.BF.1.1.2_rb1.10