Camera: Video HDR Feature Integration

Added framework support for camera applications to query supported
video HDR modes and set the required mode.

Change-Id: Ie318e586838a2f035e59e30fa51af35b52f7c886
Camera: Adds support for meta data callbacks

- This change adds a new type of callback
  that will be called when there are pending
  meta data notifications.

Change-Id: I84f5cbafe4f023c7b0efa9ec8620756b0eaa428d
Frameworks: QCFace framework added

Add framework support for extended face detect

Change-Id: I2a1c477ee6d11f2b9764966abbb85ede9100fe91
Camera: Adds support for longshot configuration

- The Camera API is extended with one additional
  call for longshot mode configuration.

Change-Id: If3bcad003facae22ec2bd690480dc3db63f0b28a
Frameworks: Enhance face detection

Add support for facial processing features:
smile detection, gaze detection and blink detection

Change-Id: Ic186ff0658e755a8b5287cffa1dd58d9eafebc9a
Revert "Active Display: Force portrait orientation"

* Not the correct implementation

This reverts commit 41d566acfa5daff12d13b6d84814b6105564b4ca.
Active Display: screenOrientaion = PORTRAIT

* for reals this time

Change-Id: I741e7f1cb1d81d1570af06d613f61e3d0ab4e4f5
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
Telephony: Add new apn.sim.operator_numeric property

Use new property to filter apns. We need this new property
because icc.operator_numeric property is also used in cdma
and ApnSetting UI might display wrong set of apns if the
peroperty value used was set by RuimRecords
CRs-Fixed: 362846

Change-Id: I3831a703a2fdc69df8552af57e0bb981d0c7e46f
Telephony: Add functionality to handle ICC IO error

At present in Android all ICC Card states other than
ICC PRESENT are treated as ICC ABSENT.Adding functionality
to handle ICC IO error card state.
CRs-Fixed: 184479

Change-Id: Id6a8cf8c7bb2ed441bf8db15b84c4e426537fdb1
Telephony: Managed Roaming feature re-design.

Change-Id: I79c7ea2e647617e58526b5b550406214455a58aa
Telephony: Few PIN/PUK fixes

Following changes have been made as part of this:
-> Changes done to display retry counter on wrong entry of
   PIN1,and message to indicate Code accepted/PIN1 blocked
   during PIN1 verification as per certain carrier requirements.
->The current APIs that are used to verify the PIN and PUK only convey
  whether the operation succeeded or failed. As a result on ANY failure
  clients ask the user to re-enter the PIN.
  Add 2 new APIs that report the actual error code in case of failure.
->Display the complete text including attempts remaining to
 unlock PIN on SimUnlockScreen if user entered incorrect PIN.
 On some devices the display text is ellipsized when trying to
 display on a single line.
CRs-Fixed: 184479, 260481, 181402, 181380, 181401, 326286, 441001,
479414, 479417

Change-Id: I73718c9e6a8aa7244097e0dd4593a6226ff0ac08
Telephony: SMS over IMS

Add RIL_REQUEST_IMS_REGISTRATION_STATE, RIL_REQUEST_IMS_SEND_SMS, and
RIL_UNSOL_RESPONSE_IMS_NETWORK_STATE_CHANGED.  Add FORMAT_UNKNOWN to
SmsConstants

Change-Id: Iabaf4cce9f1da94f3f263d09cdd0bc29fbea741d
Telephony: Add tethering definitions

Change-Id: I435a602eb34b16a0c7a9e17a3102e249c98c6bb9
Frameworks: Add TD-SCDMA support

1)TD-SCDMA Signal Strength display changes.
2)Add TD-SCDMA network type support in MobileDataStateTracker class
to identify TD-SCDMA as UMTS variant and use the relevant
kernel data stack tcp buffer sizes defined.

+ Telephony: Display 3g icons for tdscdma

Updated: As per technology order & keeping in view of
future changes, add TDSCDMA case along with UMTS type.

Change-Id: I158821574484bfaf47d1660406e591e2afb3be5e
CRs-Fixed: 403258

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
	telephony/java/android/telephony/SignalStrength.java
telephony: IMS changes for VoLTE and VT

- Add IMS phone type constant
- Add system property persist.radio.calls.on.ims.
  It is set to true if VoLTE/VT calls are supported,
  false otherwise.

Change-Id: I9b2ea0e58bd75598c519ff710a93d7667a9c7993
Telephony: Add enable/disable APIs for Cdma CMAS

Add enable/disable APIs for Cdma broadcast to ISms.aidl

Change-Id: I8fb563d92691d0ce97395ed283165dc9179b586a
Telephony: STK CC feature implementation

Add strings and constants required for stk cc feature.

Change-Id: Ief5786d3010467ec835096eaf1c02f67f2e5e0d1

Conflicts:
	core/res/res/values/strings.xml
Telephony: Initialize GsmCellLocation class members properly

Default values for class members mLac, mCid, mPsc would be 0.
Initialize these variables with -1 as 0 is considered as valid value.
CRs-Fixed: 406479

Change-Id: I08dc4031bb16293e80e5b7f51afcb8dc11747d3b
Telephony(MSIM): Add support for MultiSim

Make changes to add support for MultiSim.

  -Add TelephonyManager and TelePhonyRegistry for MultiSim
  -Add ITelephony and IPhoneSubinfo aidl files for MultiSim
  -Extend ShutdownThread to close all radio's for MultiSim
  -Add Constants and Utils used for MultiSim

Change-Id: I6ee5d2a22e44fe7d0d68a41af0481ddbbbe21c3f

Conflicts:
	services/java/com/android/server/power/ShutdownThread.java
Ims: Fix the NullPointerException in getCountryIso() function

Added Null check for detector.detectCountry(), if this function call
fails, then CountryIso will be picked up based on the Locale.
CRs-Fixed: 490472

Change-Id: Ia94891629cf6170a821f76a718d4b965ae7ab802