2413 Commits

Author SHA1 Message Date
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
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
Wink Saville
125cf62d59 Fix CellIdentityLte.equals
Bug: 16902094
Change-Id: I92786dc792bf318d2236212eb2acf955ec41e066
2014-08-12 22:39:35 +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
Wink Saville
063b8d665e Fix double DBG check.
Change-Id: I45e175df698240b80374f98043b50a014fd9779a
2014-08-01 13:14:50 -07:00
Wink Saville
6d13bc8e3b Turn off extra debugging
Change-Id: I3d7c68d3d7bcef5be084398807389f4a485bedb0
2014-08-01 12:36:54 -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
1521e5ad31 IccOpenLogicalChannelResponse: Single character fix.
Change-Id: I345e9a6b4cefc1d96111a7cf62dc402fd48b35c0
2014-07-31 19:08:15 -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
Santos Cordon
9d0f7c4fbc Add more disconnect causes 1/4
Bug: 15692074
Change-Id: Ib94c33fac8450b70e53dbe12d71f41777e9e140c
2014-07-25 03:16:00 +00: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
Nancy Chen
5da0fd5e76 API changes to enable account selection for a call
If an account default is not set, the incall ui will display a dialog to
allow the user to select an account for that particular call.

Bug: 16243703

Change-Id: I8faf2f2ce0b2669a141562832f23e8f3ce88f094
2014-07-17 10:19:20 -07:00
Ye Wen
9966429dcd Messaging auto persist switch (1/4)
b/14095333

Change-Id: I0860b662bceb250601c815028f377c28ad0e3159
2014-07-16 10:39:21 -07:00
Derek Tan
06b41ea23f Remove @hide annotations from important carrier privileged APIs.
Most of these APIs are protected by MODIFY_PHONE_STATE or carrier
privilege. Some APIs are protected by READ_PHONE_STATE.

Change-Id: Ifa04b5fb6d4bb5f21af7f728bee7dcbf77c8583b
2014-07-16 09:32:57 -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
77ec2ceac6 Merge "Remove CallServiceProvider and CallServiceDescriptor do not merge" into lmp-dev 2014-07-14 18:38:02 +00: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
Ihab Awad
807fe0a19a Implement multi-SIM capabilities (1/6) [DO NOT MERGE]
- Split PhoneAccount into PhoneAccount & PhoneAccountMetadata
- Move PhoneAccount methods from TelephonyManager to TelecommManager

Bug:16292368
Change-Id: Ib440368d6bd0572b63c942360450fde5c27d84b9
(cherry picked from commit 936b3552b4a3569be9904c826b95b632886fb45d)
2014-07-14 18:19:27 +00:00
Wink Saville
391c8323fc Unhide isSmsCapable.
Bug: 14113863
Change-Id: I57af2cf2482747e77c9bdf53559345b6b31f01a5
2014-07-13 12:35:43 +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