TelephonyProvider: Display APN PPP number

Add a new column "ppp_number" to the carriers database for
displaying the APN PPP number.

Change-Id: Ib1b742257aa1ddfba12f0bfc42e476fca1dcd8c6
APN: Add the read only APN feature.

Add a read only field to the APN database for the read only
APN feature.

Some operators don't want their APNs to be edited by end user to
avoid mistaken changes. End user should be able to only view the
APNs, but not edit.

Change-Id: Ia024088867a3f28d90c015bd728b85e7dacbc673
TelephonyProvider :Add multi-language APN name support

Add a new column "localized_name" to the carriers database for
multi-language APN name support.

The value of localized_name refers to a string resource id in
Strings.xml

Change-Id: If8cd518a42a9f38b35810e8bab498f615f3b81c0
TelephonyProvider: Add CDMA call forwarding function

Add support for CDMA call forwarding function.

Change-Id: I5b42cf39c8d470e84bfe6ac783c70ea36de5cf54
Mms: Support get messages according to mailbox type and slot id

Add get mailbox messages uri matcher and query message's info
according to mailbox id.

Change-Id: Ibd5d403e8621a614038309d80ae0e7b989aedd29
Add the default APN feature

In case an APN query does not return any result, TelephonyProvider
will do the query again and return the default APNs(mcc=000, mnc=000)
if there is any.

- Add config.xml file to store the additional configurations.
- Add config_enable_default_apn in config.xml file to enable/disable
this feature.
- Add a secondary query for default APNs in case the first query
returns no results.

Change-Id: I0d5964349718829126763ae4cef62ead532a3ab3
Add roaming area APN restriction

- Add a new column "v_mccmnc" to the carriers table to support
the roaming area APN restriction feature.
- Add enableble_roaming_area_apn_restriction in config.xml file
to enable/disable this feature.

Change-Id: I8101cb7435a2b778828cfbfe32b057d2b7815706
MMS: Add interface to query memory usage of the terminal

Query memory usage of the terminal, including:
1 Counts of messages in inbox/sent/outbox/drafts.
2 Used/Unused space by MMS and total space in phone.
3 counts of messages stored in SIM card.
4 Total number of SIM card can store.

Change-Id: Iea868f444454ecfd6dc338e47bd8e1ecbc3600a3
Mms: Support SMS full indicator

Support for query the SMS message count on phone memory in order
to give user an indicator when there is no enough memory to receive
the SMS.

CRs-Fixed: 507935

Change-Id: Ie0a6b97a13c52e712ff8809ebd268989675a47c0
MMS: Support query and delete multi SIM card message.

Add MSimSmsManager to query and delete SIM card message with subscription.

Change-Id: I1a53a1cdab52deaaaeee2bd898483d1f39eef623
CRs-Fixed: 618756
MMS: Fix issue no replay option when click SIM card message.

Updated message status to correct status.

CRs-Fixed: 618756
Change-Id: I84e42c29328efb2e55fff9f293f9c3091376d2dd
MMS: Fix display SIM card message incorrect.

Get the SIM card message type always the same, and it difficult to detect
sending or receiving messages in SIM card manage page.
Set the correct message type, let it can detect sending or receiving message.

Change-Id: I7397171b614c7fc593ba8159f2c1248c7e805841
CRs-Fixed: 625994
Mms: Only match the first character when searching for message

The original SQL statement only match the first character of
message content.

Modify the SQL statement to match the entire message content.

CRs-Fixed: 629502

Change-Id: I57500c99adf8cfb48ad941c4f490cb4ea636b2b3
Mms: Fix no message show after copying SMS to phone

Can not get recipient address from sent message in SIM card.
Add an API for getting recipient address of submit pdu.

Change-Id: Ic6fe103c009a55bf057c0f80965c99731bcb81a4
CRs-Fixed: 627278
Mms: Fix issue that message will crash when sending mms and can not
download mms.

When sending mms on CT, do not get the outputstream of the attachment
by uri due to use incorrect methord to compare the path, and finally
it occurs null pointer exception.

Use canonical path to determin whether two paths point to the same
file, because it will change symbolic link to canonical paths when
comparing the paths.

Change-Id: Iab88744b664748bc590b0df488b6c9f4c5529ebf
CRs-Fixed: 637113
TelephonyProvider: Support classification search for message.

The Mms application does not support classify of search mode.

Create a new SearchActivityExtend Activity and add function of classify of
search mode in TelephonyProvider for Mms, to achieve extend search functon
by name, number and content.

CRs-Fixed: 637267

Change-Id: Ia4392380c9087bacf8a7ece780ea5ff957d920c7
MMS: Display right subscription when copy SIM message to phone.

When copy SIM message to phone, the subscription will be lost.
Get subscription of SMS from ICC card.

Change-Id: I1170bb0d2bcd2deb11d4d124faaa9e87a2033898
CRs-Fixed: 651493
TelephonyProvider: Fix Message force close when attached long name audio

When the MmsProvider try to create new part file, the file name is too
long, it cause IOException:File name too long.

Limit the new part file name length.

CRs-Fixed: 651477

Change-Id: I543da49029fcf06ac29ff0ecbb124914dcd0d852
MMS: Support query mail box messages by mms or sms selection

It should not append mms selection when search sms table and
should not append sms selection when search pdu table.

According the selection's column which taking "pdu." as mms
and "sms." as sms, append the selection to the right sql part.

CRs-Fixed: 655219

Change-Id: I02370a3319be5acfcb81721b552cf9bc409b91f2
TelephonyProvider: Improve the performance of deleting Mms

1. Drop the trigger used to update word and threads when deleting part.
2. Drop the tirgger used to update threads when deleting pdu.
3. Use code to do the trigger's job, avoid unnecessary operations
   when deleting a lot of MMS.

Change-Id: I250c29693e25e9ad013904153330ed0266b0f23c
CRs-Fixed: 668595