2105 Commits

Author SHA1 Message Date
Diego Pontoriero
3892fc0349 Change TelephonyManager method name to accurately reflect functionality.
Bug: 17163860
Change-Id: I4390d79c49831454146a42b89520a16984c5f260
2014-08-28 13:50:36 -07:00
Makoto Onuki
0e917336a2 Address API review comments:
- Rename isCorpContactId() to isEnterpriseContactId().
- Update EXTRA_* constant values.
- Update javadoc on NAME_VERIFIED.

Bug 17253963

Change-Id: I1bef3adbb4125b39129c77cca29c4b8089e1f8cc
2014-08-27 16:29:40 +00:00
Libin.Tang@motorola.com
c47b18fb25 IMS: modify sendDtmf interface.
Bug: 17282921
Change-Id: If96f209e91db420e089d429bb5c7a0f9882b4057
2014-08-26 20:15:33 +00:00
Diego Pontoriero
04154bcd91 Remove unused constant from TelephonyIntents.
Bug: 16457806
Change-Id: Ia987c3167e5731a1eceb6b1ff4a8795ced826a5d
2014-08-26 10:58:57 -07:00
Jing Zhao
e647a013a0 VoLTE incoming call number
Set incoming call number in OIR to be shown to user

Bug: 17032453
Change-Id: Iceadb0f537fb35f685cbcf8279ccef7d86036600
2014-08-21 22:05:04 +00:00
Naveen Kalla
bd7723637b Invoke shutdownMobileRadios Telephony APIs from ShutdownThread
shutdownMobileRadios API shuts down multiple Radios on MSIM devices and
also gracefully shuts down Radios and SIM cards on single SIM and
MSIM devices. Use this API instead of the old setRadio APIs.

Add RIL_REQUEST_SHUTDOWN to RILConstants. Message is sent to notify
RIL that the device is shutting down.

Bug: 9773278
Change-Id: I6afa9e810cefc7855f7ae42e51f39cc51fa2aa6e
2014-08-21 15:08:22 +00:00
Junda Liu
cad78a801d Merge "Add getCdmaMdn and getCdmaMin as system api to telmgr." into lmp-dev 2014-08-21 04:43:39 +00:00
Amit Mahajan
284f1ec16e Adding APIs to get IMEI/MEID
Change-Id: I553b7c019b20a64ff1049f35b0e3999ab82b7cce
2014-08-20 17:02:17 -07:00
Junda Liu
2b2469b07d Add getCdmaMdn and getCdmaMin as system api to telmgr.
Bug: b/16966140
Change-Id: I36d8f850eca7c392f7ed5186254ef9862d4177f7
2014-08-14 22:21:12 -07:00
w19976
15afd81158 Configure MTU based on network MTU parameter
Add logic to obtain the mtu from the network PCO parameter and set it to kernel
when the mobile data connection is established. When there is no PCO mtu configured
from the network, the mtu size defined in the corresponding APN will be used. In case
no mtu size is defined for an APN used for data connection, the MCC/MNC based MTU
defined  in the framework overaly will be applied.

bug:17046179
Change-Id: I6465d4b8f2076aaa380ae3617fb3f24adbe136d4
2014-08-14 20:34:13 -07:00
Ihab Awad
b19a0bcdd8 Final structural tweaks to Telecomm API (1/8)
Bug: 16416927
Bug: 16494880
Change-Id: I45fbe287c410cbb5e1b985f320b862d732811f43
2014-08-13 11:16:46 -07:00
Amit Mahajan
ad254384ad Revert "Revert "add apn setting parameters, and set apn parameters to bp""
This reverts commit 193418074ad85878121776ebf316367ad53d2039.

Change-Id: I52641411da884fa252c40c303537e61ca6e14fc0
2014-08-13 21:56:32 +00:00
Amit Mahajan
ff2efd5299 Revert "add apn setting parameters, and set apn parameters to bp"
This reverts commit 3fd217b3f492c95c8550da2a36fffbc6f3a3b724.

Change-Id: Icf32debc07b858c5ae2eb8a7bf4a6e95445a7466
2014-08-12 05:14:36 +00:00
Hui Wang
fdd78e06a7 add apn setting parameters, and set apn parameters to bp
Change-Id: I2720b6f8eba707691b9c3f481b6182c98ae3f10b
2014-08-12 00:44:40 +00:00
Etan Cohen
77437731a7 Revert "Added debug system property to enable/disable IMS VoLTE/VT."
Superseded by "Enhanced 4G LTE Mode" official setting.

This reverts commit d32e5aa844307221785bfe64b3a1b7ef36958cbd.
2014-08-11 23:55:11 +00:00
Andrew Lee
752217bfc6 Aidl changes related to VideoCallProvider in Ims.
+ Added a getVideoCallProvider function in IImsCallSession
+ Added IImsVideoCallProvider aidl. This is used for communication
between Telephony and the ImsService. It is redundant with
IVideoCallProvider on some level, but see associated bug and comments
in the class for more detail.
+ Added IImsVideoCallCallback. This is used for communicationing
callback invocations from ImsService to Telephony. It is redundant
with IVideoCallCallback for same reason in bugs/comments.
+ Some minor formatting changes.

Bug: 16886403
Change-Id: I03de12d4432f837e0930bc077307509b645493e0
2014-08-08 12:09:54 -07:00
Shishir Agrawal
43d94347a6 Return APDU status code on tramsit channel command failure.
Change-Id: I2d506a6ddbb4e27a04f57941247924d36c9d279b
2014-08-05 17:06:51 -07:00
Shriram Ganesh
61aac3aa0a IMS Framework & AIDL Changes for Call Barring & String Error Codes.
Change-Id: I66fdbbd175c13261c283627999f37071259f7a6a
2014-08-05 00:48:40 +00:00
Shriram Ganesh
af9a696b20 Add changes for LTE to IWLAN Handover Notifications for an IMS Call
Change-Id: I6847ba1660df81d8d2ba610e9b27638800f71f77
2014-08-04 23:57:51 +00:00
Tom Taylor
0e32f6bde4 Merge "Allow MmsConfig override per request (1/3)" into lmp-dev 2014-08-01 13:51:29 +00:00
Ye Wen
63c00c4379 Allow MmsConfig override per request (1/3)
Instead of providing ways to override MmsConfig globally, this allows
the override per request, which is safer. Also added subId to the getter
of MessagingConfigurationManager.

b/16681649

Change-Id: Ia5ee391e2fa51fbdf87d111174d8df21f5f5e41f
2014-08-01 13:57:31 -07:00
Uma Maheswari Ramalingam
1c18285c36 Add ECBM functionality for IMS
Code for adding ECBM functionality for IMS.

Change-Id: I2833c81baf0a55a18ac6433c47fd76bad7cf0ec9
2014-08-03 02:05:14 +00:00
Etan Cohen
241312e07b Added debug system property to enable/disable IMS VoLTE/VT.
If property is 0: IMS VoLTE is disabled.
If property is 1 then IMS is used as normal: i.e. expected to
be provisioned, registered etc.

Action on missing property defined by constant.

Change-Id: Ibdbb21fa7db30a4088b74092dd6256da012cd697
2014-08-02 14:46:16 -07:00
Shishir Agrawal
a122e8df74 Add new APIs iccExchangeSimIO and iccTransmitApduBasicChannel to TelephonyManager.
The new APIs are needed to support SEEK.

Also modifies TelephonyManager.iccOpenLogicalChannel to return the status of
the command.

Change-Id: Iff2674fb0e23210f2579cb883e64571347ade5e6
2014-07-30 18:09:53 -07:00
Ye Wen
a3dbd1087d Move archived column from pdu/sms to threads (1/4)
Also add API to archive a conversation

Change-Id: Ib7daf6e0c3205c3c084406800c9c5bf054e1ca40
2014-07-30 12:57:10 -07:00
Andrew Lee
48332d622b Convert VideoState into an inner class.
- Add helper functions to make it easier to figure out properties of a
particular video state, to make things more convenient.
- Update references and documentation.

Bug: 16629892
Change-Id: I621532e8cab080afd56e5db739b9edbee6261f74
2014-07-29 13:35:59 -07:00
ram
ab458a1858 IMS: Adding ims on/off interface files and callback for enabled/disabled features.
Change-Id: I4e0049d605d9e7d13035c43e2504cdfb67a7a102
2014-07-24 17:36:17 +00:00
Amit Mahajan
0bf65d2d71 Merge "Add API invokeOemRilRequestRaw" into lmp-dev 2014-07-24 15:35:58 +00:00
Steven Liu
3099c83144 Add API invokeOemRilRequestRaw
this API is used by system app, app could communicate with RIL
with it.

Change-Id: I5397c1cf2b108d9dc3a9694b1f071dc60bb5b341

Conflicts:
	telephony/java/com/android/internal/telephony/ITelephony.aidl
2014-07-24 10:15:49 -07:00
ram
e647099e14 IMS: getPCSCF() API enhanced to support multiple APN types.
Change-Id: I014f341b93a9ea7280e04cdfc13418fe81c9fc8b
Signed-off-by: ram <ram.pl@samsung.com>
2014-07-24 00:41:00 +00:00
Shishir Agrawal
63c4c06be4 Expose getCarrierPackageNamesForBroadcastIntent as a hidden @SystemApi
It will be required by setup wizard to delegate initialization to the carrier
app.

Change-Id: Icc0fc728e1e24235632ac38a482b06a7b829de78
2014-07-23 15:29:50 -07:00
Shishir Agrawal
5552cc5c9d Merge "Adding the ability for carrier app to override SPN and carrier name." into lmp-dev 2014-07-17 21:58:28 +00:00
Shishir Agrawal
86578cca38 Adding the ability for carrier app to override SPN and carrier name.
The change allows system apps (holding MODIFY_PHONE_STATE permission) or
carrier apps to override the "carrier branding" on a per ICCID basis. The
override affects the service provider name as well as the network operator
name. The override is also saved as a SharedPreference and will persist for
the iccId across reboots.

Change-Id: I985ba247e10e2501e3d0d21567ccadc46f365879
2014-07-17 16:31:37 -07:00
Makoto Onuki
3e2a9f7958 Merge "Use "current" cp2 from telephony" into lmp-dev 2014-07-17 17:59:02 +00:00
Makoto Onuki
5692dcced5 Use "current" cp2 from telephony
Now "always send to voicemail" and missed call notifications respect the
current user's contacts.

Bug 16236656

Change-Id: Iae48b4ac95550970ecae59bdd32c436efef90200
2014-07-17 15:57:49 -07:00
Tyler Gunn
aa07df84f2 Wiring video state through from Connection
Bug: 16285417
Bug: 16013178
Change-Id: Ia48959248ca22f4569b0ffd01a1716470aa0a711
2014-07-18 01:30:34 +00:00
Ye Wen
9966429dcd Messaging auto persist switch (1/4)
b/14095333

Change-Id: I0860b662bceb250601c815028f377c28ad0e3159
2014-07-16 10:39:21 -07:00
Shishir Agrawal
1c41116f03 Merge "ITelephony.aidl: Minor spelling fix." into lmp-dev 2014-07-14 23:51:50 +00:00
Shishir Agrawal
fc3646f58e ITelephony.aidl: Minor spelling fix.
Change-Id: I88be72fce6184beb1ac7542af8ced7917900b593
2014-07-14 16:58:12 -07:00
Sailesh Nepal
864a2b291b Remove CallServiceProvider and CallServiceDescriptor do not merge
This CL removes CallServiceProvider. Instead of using a
provider we'll look up ConnectionServices using the package
manager instead.

This CL also removes CallServiceDescriptor. For incoming calls,
connection services will now pass a PhoneAccount instead
of a call descriptor. For outgoing calls we already use
PhoneAccounts for everything.

Change-Id: I2e40c5c64c0d242dc41b680943d7e9209142db5b
(cherry picked from commit 7ade570fdc1ae719abca54867d97dc7f0130d664)
2014-07-14 23:23:17 +00:00
Derek Tan
818631b679 Allow 1st party app to set Line 1 number for display purpose.
After the number is set, TelephonyManager.getLine1Number will actually
return this one instead of the actual MSISDN/MDN.

Bug: 11900806
Change-Id: I4df3fac7b483ddae2bbda14b5a85629486e400cf
2014-07-12 13:36:28 -07:00
Derek Tan
1f26357b3c Merge "Different Mobile Network Settings screen for Nova multi-profile SIMs." 2014-07-10 20:49:26 +00:00
Derek Tan
f9aefdb534 Different Mobile Network Settings screen for Nova multi-profile SIMs.
Simplify the Mobile Network Settings screen regardless CDMA or GSM activeness
to provide a unified experience for Nova users.

For more details, please refer to b/15854628.

Bug: 15854628
Change-Id: Ieba04eff49824aa09a056cd4fb142cbd268207a3
2014-07-12 10:36:58 -07:00
Ye Wen
295f2190c5 New SMS and MMS APIs and semantics (1/4)
API changes for SMS and MMS AIDLs

b/14095333

Change-Id: I42ab3db2dfa89ba3f8816d601f4c38a77c66ffa6
2014-07-12 11:41:28 -07:00
Colin Cross
8bf8931d7d Revert "New SMS and MMS APIs and semantics (1/4)"
This reverts commit f0dff59af4a1566d8d8bd997d059fcb9dddf2cb4.

Change-Id: I6b9206d80ae72fdb42d48b173927e63e5742f1b2
2014-07-12 01:06:38 +00:00
Ye Wen
8ee8d882ac New SMS and MMS APIs and semantics (1/4)
API changes for SMS and MMS AIDLs

b/14095333

Change-Id: I04f05c1952135cb4b5d422df060ca4054c14e5e5
2014-07-11 16:45:51 -07:00
Jeff Sharkey
4901d62f16 Merge "ITelphony.aidl: Rename hasCarrierPrivileges for packages to checkCarrierPrivilegesForPackage." 2014-07-10 21:09:47 +00:00
Shishir Agrawal
56be215bcc ITelphony.aidl: Rename hasCarrierPrivileges for packages to checkCarrierPrivilegesForPackage.
Fixes the build breakage due to overloading in the aidl.

Change-Id: Id3199bf2d21b1834183c90904417ed016d34e052
2014-07-11 16:33:37 -07:00
Etan Cohen
a4d88d1e6e IMS: Add Config interface to get/set IMS service/capabilities
Change-Id: I5f422aae105cbf8e85aee711aaa49b5d2e958573
2014-07-11 23:23:34 +00:00
Junda Liu
142529702d Add hidden systemapi hasCarrierPrivileges(pkgname).
Change-Id: I153f5c7cff1734c87587c3741051177ce54ba654
2014-07-11 15:54:17 -07:00