STK Call Control feature implementation.

Support to display the exact call failure reason
for STK cc.

Change-Id: I1076f2b3ba93e6f96e85efec32b11250bbfd7f6f
(cherry picked from commit af7567c997a072d89838793000bdb8b107be0ed4)
(cherry picked from commit 2633093e75f5c53c2a3826592530e110d52bf5e2)
(cherry picked from commit 6dc03b1c11dbbfd1c175724e8646543bb9c5d55e)
Display supplementary service dialogs for CF and CB.

When call is not answered and is forwarded, display "Call Unanswered
and Forwarded" message at MT side.

When Call Barring is enabled on MT side, display "Party has barred
all Incoming calls" message to the user on MO side.

Change-Id: I4ae0b8b1dd2588b6cee96bc1c2d296290810c11c
(cherry picked from commit e7e81e031e526a07875f17216b217b672b0a7044)
(cherry picked from commit de1ecaecce46a3bac5581927eaf1587390e9b24e)
MSIM: Add multisim support.

Add support to display subscription information on UI
for multi sim targets.

Change-Id: Ic2ac06f727bb913f72138730a0f3c6aca0798320
(cherry picked from commit 1d60de42aaddb7dd7c3e1d9e5a3eee55091aa7f4)
(cherry picked from commit 2a1003f3a9b38938882cb9745238a3e31adacbb0)
IMS support for UI interface

1. UI support for conference call participant display,
   hangup using uri, conference uri dial, add participant,

2. Add ims related data types to Call object

3. Add ims related APIs to CallCommandService and CallHandlerService

Change-Id: If782aa90dc4741499a67ee6a62f48576425a0574
Signed-off-by: anerik <anerikgames@gmail.com>

Conflicts:
	src/com/android/incallui/InCallPresenter.java
    Phone: Add support for video calls

    Added support for video calls in InCallUI.
    - Video Call UI
    - IMS Media
    - UI support for Upgrade/Downgrade Calls

Change-Id: I96e17dfe3cc6ae7afb5b43c86538bb62fe31a03b
IMS-VT: Recording Buffer and CVO Features

Following changes are included:

-Use Recording buffer architecture for camera
-JNI support for media library camera APIs
-Move existing camera API calls to IMS Camera API calls
-CVO - Coordinated Video Orientation feature
 In CVO mode, whenever the receiver side device is rotated,
 use sensor orientation information to rotate the far end surface,
 so that co-ordinate system of surface always has (0,0) fixed with
 respect to earth
-CVO: Send initial orientation on CVO start.

Change-Id: I5c31be394f10e344602c279c8927ef430e23a3b4
IMS: Enable Modify Call functionality

1. Add ModifyCall api to CallCommandClinet

2. Add ModifyCallConfirm api to CallCommandClient

3. Add onCallModify api to CallHandlerService

Change-Id: I3b37373be9161572dcd7a23368f3a644e28936e5
DSDA: Add InCallUI DSDA support.

 -Add tab view support for DSDA
 -Add support to display voice calls based on the
  current active subscription.
 -Add few utilities in CallList, which required for handling
  voice calls across multiple subscription.

Change-Id: Ib683f7c3b41ed3bb04367be1e9c331908bc46004
IMS-VT: Enable modify call functionality on InCallUI

Enable modify call functionality on InCallUI

Change-Id: I26930732c5c8638ea5fc880178d0b8983223531e
IMS-VT: Do not change visibility of the camera preview.

Decouple the visibility of the camera preview from the
API starting/stopping camera preview and recording.

Change-Id: I01ad3745f159bf0d032b1ae1fef8aee003313e88
CRs-Fixed: 581912
IMS-VT: Relayout VideoCallPanel to create surface textures

Relayout VideoCallPanel to create surface textures.

Change-Id: I915f71a00ac45971e5726f5bce0ac9e836e6fdf6
IMS-VT: Surface Texture creation fix

-When upgrade from VoLTE to VT is done, camera surface texture and
far end surface texture are not created.
-Remove forced requestLayout from CallCardFragment's
showVideoCallWidgets method

Change-Id: Ie73b5ef081681769579beedf27fefbd1b68cc231
CRs-Fixed: 583967
InCallUI not dismissing after end call is clicked.

In MT InCallScreen, the customMessage dialog
which appears when user tries to reject a call
with message, is not set to null when user
cancels the dialog.
InCallUIActvity is not finished if there is any
pending dialog which is not null and hence this
issue is seen.

Set the dialog variable to null once the dialog
is cancelled by the user.

Change-Id: I7866862fa406a86a3fb1d11bd71dda8e34623088
CRs-Fixed: 583477
Enable InCall UI logging

-Enable VERBOSE and DEBUG logs by default in InCall UI

Change-Id: Iac30ce90775df181f143e89053596209cda9328e
Ims: Silently drop the call after SRVCC

Clearing SRVCC call from the "mcallmap" list maintained by InCallUI.

Change-Id: Ia48d35e8b372c78390c36fc0af8fbb0ccfcfac5d
CRs-Fixed: 576256
IMS-VT: Build and install libvt_jni and libimscamera_jni

libvt_jni and libimscamera_jni are used by IMS phone.
Build and install libvt_jni and libimscamera_jni with Phone.

Change-Id: I0a962dc3891fb56dd5ee63b26cf0239bc60d33b6
CRs-Fixed: 569101
IMS-VT: Peer Resolution feature and split screen fix

-Implement Peer resolution feature. Change far end size
 based on peer resolution

-When VideoCallPanel's size changes, its children need
 to update their size accordingly. This enables the farend
 view ie.video_view to resize correctly after background call
 is dropped, in multiple call scenarios

Change-Id: I4313b972042d124b0ad2155d2cef6f1e8d418b7f
CRs-Fixed: 555075, 588216
Update CallCard when Multiparty state change

The Callcard gets updated only when there is
a change in the call id.

Update InCall Callcard UI if there is change
in the multiparty state of existing calls.

Change-Id: I9748138862c5bb0654dccb7bd231dcc72d61e639
CRs-Fixed: 593087
MS-VT: Fix camera reconfiguration

-Reconfigure camera after PARAM_READY only if negotiated values
 are different from existing camera settings

Change-Id: Ieea1cc8113eb52f8c3a5624b6d35081c12c18bbe
CRs-Fixed: 542241
MSIM(DSDA): Ensure phone screen wake up on DSDA incoming call.

In case of an incoming call on one sub with a live call on another sub,
force InCallActivity to finish() if the screen is off. This is required
since the screen will wake up only when InCallActivity is created.
Also cancel the on going InCall notification and notify the new
notification so that the full screen InCall intent is launched.

Change-Id: I778075f503b27c85cb8dd0e58b35df3d3b0f8810
CRs-Fixed: 583161