Contacts: add the local group info and API

- add the group API for app to get/change group info
- add the group constants for app to acess the group
  database.

Change-Id: I205383ea3983675594f8fe414c466e7e55c6433e
Telephony[MSIM]: Change the package name of NumPadKey.

NumPadKey is moved to package "com.android.keyguard".

Change the package name from
"com.android.internal.policy.impl.keyguard.NumPadKey" to
"com.android.keyguard" in layout file.

Change-Id: Id8ec2a5b58b5c0e8bf153e5160091d2a30dedce6
CRs-Fixed: 588162
Remove the incorrect message after 3 wrong PIN attempts

After 3 Fail attempts of SIM PIN entry "Incorrect PUK code"
will not be displayed. Remove logic as it is already present
in AOSP.

Change-Id: Ie83788a420c42e6b9b16fea6d2da155d161defc0
CRs-Fixed: 578936
Fix null pointer exception in PhoneWindowManager

mKeyguardDelegate is null and is causing fatal exception

Change-Id: Iae14b969b7ff9ab0003e615f2f82eaac65a77985
Telephony: Modify code to check PUK code length is always 8.

As per 3GPP TS 31.101 Release 11 section 9.6, the number of digits
for UNBLOCK PIN (PUK) is always 8.

CRs-Fixed: 596207

Change-Id: I55dc9f0a701410d8405026e625a5f2a98a9f712c
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
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

Conflicts:
	core/res/res/values/symbols.xml

Conflicts:
	core/res/res/values/symbols.xml
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