IMS: start and stop dtmf tones

Support of start and stop dtmf tones in Imsphone

Change-Id: I986f6b8e9aa1a5729d280eb8a5c60e129c3796cd
CRs-Fixed: 751797
Add change to show Invalid card when erroneous card is inserted.

Add change to show "Invalid card" on UI on CARD_IO_ERROR when
erroneous SIM card is inserted

Change-Id: I94c52ff462c999cdb8dbe742fa0bd3f1019ce335
CRs-Fixed: 715101
NFC: Add interface for offhost to associate to secure element

Add an interface for payment application to specify secure element, so
multiple secure elements are supported through Tap&Pay menu

Change-Id: If1548e12ccf5b06f032f5725315ad726a88d9002
CRs-Fixed: 744072
Modify isRoaming to getRoaming from Service state tracker.

Modify isRoaming method to getRoaming from Service state tracker
instead of phone object.

CRs-Fixed: 739327

Change-Id: I4ca0f6df65f38a3a0d64fde647fb8506347414c1
IMS-VT: Peer capabilities support

Add support for querying peer capabilities

Change-Id: Ibfc0f2d4864cb743acc0b7f12aa8ef3e7f41c979
IMS-VT: Add call modifiable capability

PhoneCapababilities call type modifiable constant added

Change-Id: I548b3644e61ec1807f8f79f0dec6e12ab8de6eac
CRs-Fixed: 746297
IMS: Clean up Conference URI system property.

Remove system property "persist.dbg.ims_volte_enable".
Add ADD_PARTICIPANT in PhoneCapabilities.toString().

Change-Id: Ic9410ff65319a52d7127c47885e1ce56805fe47a
CRs-Fixed: 727689
Telephony: Add Call domain extra in ImsCallProfile.

Domain to be used for MO Ims call can be specified using the
newly added EXTRA_CALL_DOMAIN parameter. The default value is
CALL_DOMAIN_AUTOMATIC.

Change-Id: Ic86694b32de1836718aa8fc1253924f931459209
ContentProvider: Use the mode the use chosen from the dialog

When the user try to delete contacts, we will show a dialog
to let the user decide whether the app can do the delete
operation or not. This issue's root cuase is that we did not
return the result we get from the user's choice.

Return the mode user has selected instead of the default mode
when we are checking the app's permission.

CRs-Fixed: 750841

Change-Id: I53355d6ff367fcc88330e39986d0a7fd7896861c
Telephony: Add DisconnectCause values for clear code

Supplement the DisconnectCause value for each clear code
to support different behavior when the call is disconnected.

Change-Id: Ifbbc923779565d31a57cd056c5202f0f062700d6
MSIM: Define new intent to send set Uicc result

Add new intent ACTION_SUBSCRIPTION_SET_UICC_RESULT
to broadcast set uicc result.

Change-Id: I0394854d5b9744127154bdb1cb8756aff9b7cb27
IMS-VT: Multitasking feature

-Support for video multitasking

Change-Id: Ic031ae1681a4bb8299a13a5e8187aaff4f27374f
MSIM: Retrieve the QS Data icon through PhoneId

While updating the quick settings data icon,
use Msim API to get the icon.

CRs-Fixed: 743707

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/policy/TelephonyIcons.java

Change-Id: I6d106e2d03c92eabb7be92f0cf1957489beca0fe
frameworks/base:InCallUI is not coming in but ring is coming in DSDA

Issue: Latch the DUT in W+G DSDA mode.Receive a MT call on DUT
       on sub2 and connect the call. Receive a MT call on DUT on
       sub1 but reject the call. Disconnect the call in sub 2.
       Make a MT call to DUT on SUB2.

Fix: The previous activity in finishing state is not added to
     waitingVisibleactivity list, when it is already true and next
     activity is not visible. Adding it to waitingVisibleActivity
     list enqueue the activity to be destroyed when IdleTimeout
     is scheduled.

Change-Id: I9941f61e4bd8c1df73b0328fc2b4231a068e8a70
IMS Call End Reason Info Code Additions

Adding IMS reason info codes for MO end
use cases:
1. Call rejected/ended due to low battery.
2. Call rejected due to blacklisted call
   ID.

Change-Id: I4e527a643f4a7ebf1ba26e90e4099a66cb5c0e43
CRs-Fixed: 552732
Add constants in voLteServiceState for IMS registration

These constants will be used in the notification of
volte service state when IMS registered/deregistered.

CRs-Fixed: 752266

Change-Id: If6ec8a58ff0270d11fdf95f69ca9da39fdb9a954
IMS-VT: Modification of data usage aidl

Change data usage aidl interface to take parameter type long
instead of int

CRs-Fixed: 747694

Change-Id: I7cda2a689edb86d025dfe8efc8f573918c4bd6bc
telecomm: Re-add original ParcelableConnection constructor

 * We changed this for the supplementary service notification feature,
   but some proprietary code has a bunch of dependencies on it.
 * Just add the original constructor and set the new field to zero so
   that the proprietary IMS stack doesn't need changing too.

Change-Id: I838536eab39e1539b5e933ba8a963029a733f6b7
Revert "telecomm: Re-add original ParcelableConnection constructor"

* We use AOSP notification service.

This reverts commit b2fffdd99c8916bfe466ebdb669306cf7042a6dd.
Proper supplementary service notification handling (1/5).

Remove CAF's passing of implementation details from the base classes,
and replace it by well-defined call properties.

Change-Id: I4fa94d4ba68a1570d3f822be569ae124882c0e66