Contacts: add speed dial support

allow user to set speed dial number from 2~9,when long click
these numbers,it will pop up a screen to set speed number
or dial out directly if you have been set it.

Conflicts:
	res/values-zh-rCN/strings.xml
	res/values/strings.xml
	src/com/android/dialer/dialpad/DialpadFragment.java

Change-Id: I1537d77c8c9533822b17310ee73e7ebc18aedabf
Dialer: show all device IDs for multiple SIM devices

Show all device IDs for multiple SIM cards when dial "*#06#"

Conflicts:
	res/values-zh-rCN/strings.xml

Change-Id: I06c1e7a60d9a745d56c2b5382d53b5964c548aa9
Dialer: Contact photo in call log can not change in time

When user changed contact's photo, call log will firstly use
cached photo.

Clear cache when data is changed.

CRs-Fixed: 525851

Conflicts:
	src/com/android/dialer/calllog/CallLogAdapter.java

Change-Id: I1c7c4ba34b3995371b478b2e8994d4fa56e54b68
Dialer: Hide "Add 2-sec pause" and "Add wait" if phone number is empty

There is no operation to hide "Add 2-sec pause" and
"Add wait" options.

When the phone number is empty, hide "Add 2-sec
pause" and "Add wait" options.

CRs-Fixed: 537440

Change-Id: Ia799e11808e57919f471437021e7d6d62edea07c
Dialer: shows deviceinfo when input *#0000#

- it will start DeviceInfo.apk to display phone's deviceinfo
  after input *#0000#

Refer to https://review-android.quicinc.com/#/c/403996/1

Change-Id: Ia8b76774d6107e930f7eb1c2f7ab4991d783a536
Dialer: Add the subscription info for call log.

Add the subscription info on the call log and call detail activity.

 - add spinner to select "ALL SIMS","SIM1","SIM2" to filter call log
 - add spinner to select "ALL CALLS","INCOMING CALLS ONLY",
   "OUTGOING CALLS ONLY","MISSED CALLS ONLY"

Conflicts:
	res/layout/call_log_list_item.xml
	res/values-zh-rCN/strings.xml
	res/values/strings.xml
	src/com/android/dialer/CallDetailActivity.java
	src/com/android/dialer/DialtactsActivity.java
	src/com/android/dialer/PhoneCallDetails.java
	src/com/android/dialer/PhoneCallDetailsHelper.java
	src/com/android/dialer/calllog/CallDetailHistoryAdapter.java
	src/com/android/dialer/calllog/CallLogActivity.java
	src/com/android/dialer/calllog/CallLogAdapter.java
	src/com/android/dialer/calllog/CallLogListItemViews.java
	tests/src/com/android/dialer/PhoneCallDetailsHelperTest.java
	tests/src/com/android/dialer/calllog/CallLogListItemHelperTest.java

Change-Id: Ib4ad371af61e9473dfe1b10e83abd2b1acaa7ef7
Catch the SQLiteFullException when updaing the call log database

SQLiteFullException happened when updating the call log database.

so catch the SQLiteFullException.

CRs-Fixed: 590692
Change-Id: I7ca093bbcae17852729ba5517676b9e801807962
CSVT: CSVT entry in Dialer App.

Conflicts:
	res/values/strings.xml

Change-Id: If42e66fb490875e635648178da939249c318efdf
CSVT: add CSVT calltype in calllog and CSVT entry in calllog details

Conflicts:
	src/com/android/dialer/CallDetailActivity.java

Change-Id: I1453e9740207607ddfb76493ce02f5bebc786be3
CSVT: Hide the "Video call" option for non-CU mode.

Change-Id: I0a2f9f307fc297e906f0f749f6b39c07e8b9b980
CSVT: fix "Missed Calls Only" tab.

Change-Id: Idfc66c07f0aa803e3aa2badcff1ddebda63a9fdf
Dialer: Add IP call support in dialer

 - Add IP call option in dialer tab.
 - Add menu including "IP call","Edit number before call","Send
   text message","Add to contacts" in call log tab.

Conflicts:
	src/com/android/dialer/calllog/CallLogAdapter.java
	src/com/android/dialer/dialpad/DialpadFragment.java

Change-Id: Ib368c284c6196f00e356476a3b059d4f65122545
Correct the interface of fetch calls

- when fetch call log,the sub parmeter is wrong,correct the interface

Change-Id: I86f359df3d497c4514bbe94cc08af06e3de59ead
CSVT: when in videocall case, click dialer should go to video call screen.

Change-Id: Ice1647f8a287242c564eac88cc6bfceeca9ac31f
Add call log search in dialer

- add the support to search call log by name and number in
  dialer for dsds and ssss

Conflicts:
	src/com/android/dialer/calllog/CallLogActivity.java
	src/com/android/dialer/calllog/CallLogAdapter.java
	src/com/android/dialer/calllog/CallLogListItemHelper.java
	tests/src/com/android/dialer/PhoneCallDetailsHelperTest.java

Change-Id: I963be0a96e06bf36ba47d042987144b25e8af7d4
IMS: add ims call log type in Dialer app .

Change-Id: I4b8bd9a13e917dc662464de3a7511aaa55309c00
Add the duration type for call time in call log

- use a config to control whether need to display call duration
  type in call log.

Conflicts:
	res/values/config.xml
	src/com/android/dialer/CallDetailActivity.java
	src/com/android/dialer/PhoneCallDetails.java
	src/com/android/dialer/calllog/CallLogAdapter.java
	tests/src/com/android/dialer/PhoneCallDetailsHelperTest.java

Change-Id: I8346aa8006dc48c541a859152cdb7097dfd6f5fe
Dialer: Get SIM2 alias name with the correct keyword

Get SIM2 alias name with the incorrect keyword,
so the default name "SIM2" is displayed.

Get SIM2 alias name with the correct keyword.

CRs-Fixed: 626570

Change-Id: I7e25b50bba7f98686291388ef96d2e649be25e99
CSVT IMS: fix the csvt & ims call log display in call history.

Groups the incoming, outgoing and missed call together for the same number.

Change-Id: If12ec1f2dbc83e4136551f16a93ea10962cc6ca7
Dialer: Send broadcast to cancel missed vtcalls notification

When entering the call log fragment, it only cancels missed voice
calls notification but ignores the video calls notification.

Send broadcast to let VideoCall app cancel the missed vtcalls.
notification.

CRs-Fixed: 636302

Change-Id: I00517dd627bcfe52446509e935fac96372539ce4