Telephony: Add support for tune away and priority sub

Add constants for tune away and priority subscription

Change-Id: I790cfdcd9a1dee946502349084a4d8138d2144ec
CRs-fixed: 464483
(cherry picked from commit ebaedd5e9dc33feda0fb0a0c47e204c4efa41873)
(cherry picked from commit 1c534171e946a46c15bfadb5f0732a6b32cc5ec7)
Telephony(MSIM): Add subscription information for the call log

- Add overload function addCall with one more parameter sub
  to support multi sim in call logs.

Change-Id: I5b8e50d7e0c69624be4131d5e2e738b5353f9a1c
systemui: Kill logspam

Change-Id: I79ed31c754861625f1294aab9ac62b980d743e8b
Statusbar(MSIM): Do not display data icon if data is not connected.

When updating the status bar for the WiFi connected status, even if
the mobile data state is in disconnected state, it shows data icon
based on the data network type.
Add code to check if mobile data connected while updating data icon.

Change-Id: I35e80f5073ba24ebbebc354a2b30c62bf660b809
CRs-Fixed: 584106
NetworkController: Hide signal strength icon when no SIM icon is shown

Change-Id: I5c4b43bba1469e14474d20a3627eafa597459e6e

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
Telephony: Set the value of min match according to one property

CTA requires to match 11 phone numbers, so use the value of the property
"persist.env.c.phone.matchnum" to set it 11 in case of CTA tests, but by
default it is 7 without change.

Change-Id: I8cd4105c06c71af1ad242858d8de474459d96ee1
Ringtone: Add the default ringtone for multi SIMs

The default ringtone is just set for SIM1 at initilization,
so to support multi SIMs ringtones, add the corresponding
configs in Settings provider also.

CRs-fixed: 538916

Change-Id: I11ed845fbd815fd4acd85baf1772218ef971b5f1
Message priority support for 3gpp2

Add support for message priority in 3gpp2
Add new interface API's sendTextMsgWithOptions and
sendMultipartTextMsgWithOptions

Change-Id: I1bf5752eaf8b1acf19fe330d7f409214ee97d3cf
Add support for IP call prefix

Append the user configured IP prefix ahead of the calling number
in case of calling via IP.

CRs-Fixed: 516042

Change-Id: Idf73f06c7030df4124f737433839efddcd089c23
Update for IP call prefix

Get IPCALL_PREFIX number from database instead of string IP_CALL_PREFIX.

Change-Id: Ic1a214a4cc5dee92081f252b5fd00605f9c3606b
Add config for the expire age of partial segment messages

Set the value to 30 days based on default value in code,
then it could be customized via res overlay mechanism.

Change-Id: Ia219aa59dd009d831abb03b5921763ade38f0c50
Mms: Add interface to support sending sms with origination port

Can't use DM test server query DUT's register info with origination
port.
Add 'sendDataWithOrigPort' interface for sending data with IMEI through
origination port.

Change-Id: I270acf1da9f7a68e19433d7eb3953d53097070ee
CRs-Fixed: 539265
Telephony: Implementation for IWLAN.

- Introduce new RAT as IWLAN.
- Allow MDST to enable non-default APN availability when radio is off.

CRs-Fixed: 600118
Change-Id: Ifc9a0928cbda1d89a95d27a276a20a2d8e1cc8ca
Telephony(MSIM): Add control flag for SIM app auto provisioning

Add one bool value config_auto_provision_enable in config.xml to control
the SIM app auto provisioning, false by default.

Change-Id: Ifc19a219769caeca77cfe498fc4ce6a920613dbd
Minor cleanups to NetdCallbackReceiver.onEvent.

- Clean up identical error messages.
- Fix the array length check for InterfaceAddressChange.

[Cherry-pick of 59be800e7fe81842aa8c77b91319f58ab165983d]

Bug: 9180552
Change-Id: Id871f481445b530c3ad749725f1548df0e3a1228