2391 Commits

Author SHA1 Message Date
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
Makoto Onuki
a2295e65dc Enterprise caller-id: framework/base/Telephony
It's basically equivalent to http://ag/500455 and http://ag/499160.

Now "Send to voicemail" and the missed call notification uses the enterprise
lookup; they now work with a corp contact too.

Bug 15779911

Change-Id: I8a87f45ba7299cfbc516eb44326e02258e38cf63
2014-07-11 17:34:55 +00:00
Santos Cordon
0bae09fdde Move showCallScreen & isInAPhoneCall to PhoneManager.
Change-Id: I852da78ae80eba120932fb7acb1e5c3db2a8f18a
2014-07-09 18:53:41 +00:00
Junda Liu
6792a233eb Merge "Add calculatePreferredNetworkType to TelephonyManager." 2014-07-02 18:55:10 +00:00
Junda Liu
1365703d49 Add calculatePreferredNetworkType to TelephonyManager.
Bug: b/14134668
Change-Id: Iba7dcd50c1ba84b634eed53030456a2f84af6e3c
2014-07-08 12:15:23 -07:00
Shishir Agrawal
b708ce5f1a Remove permission SIM_COMMUNICATION.
The permission is replaced by the MODIFY_PHONE_STATE permission which is
System|Signature.

Change-Id: I74dbd242fc0fdbb5884fdc7a5c3f0063424fbfcf
2014-07-08 10:17:50 -07:00
Shishir Agrawal
762d5a091f SIM based carrier app privileges.
Adding support for SIM based carrier app privileges.

WIP - Missing bits:
- Notifications.
- Certificate check.

Change-Id: Ied3aa6c7d51cc0cde06f5bb58f30893d7a7b1c34
2014-07-07 16:32:11 -07:00
Ye Wen
9974690ec1 Support MMS send/download by carrier app (1/3)
Added send/download status update APIs similar to that for SMS

b/14095333

Change-Id: Ib62951a2088330bf004383945416ff6f25b28625
2014-07-03 16:54:10 -07:00
Santos Cordon
3c4ff9effc Move cancelMissedCallsNotification to PhoneManager.
Change-Id: I2ce26e77ef1f0acc11552bf28efc039391e09766
2014-07-02 23:39:30 +00:00
Ihab Awad
9c3f18846a Rename Telecomm "Subscription" to "Account" (1/7)
Change-Id: Ieb29f6ba9dadacb2c7e26969a47141e11a339a40

Conflicts:
	telecomm/java/android/telecomm/InCallCall.java
2014-07-02 12:27:13 -07:00
Junda Liu
2416bab78b Merge "add setCdmaSubscription to telephonymanager." 2014-07-01 14:48:56 +00:00
Junda Liu
ddb74d8eb0 add setCdmaSubscription to telephonymanager.
Bug: b/12799863

Change-Id: Ieeb3e800cd7757335135901b1e4e94aaf6f4ede7
2014-07-01 11:59:40 -07:00
Etan Cohen
1e98a77fff IMS Framework and AIDL Changes to Support CLIR/P and COLR/P
Change-Id: I72626f016e87503e2d0e680c01e482bfbb592b06
2014-07-01 17:50:32 +00:00
Ram
3e0e3bc617 MS: Adding Support for Emergency APN in Telephony Framework
(base/telephony)

Replacement for https://partner-android-review.googlesource.com/#/c/171175/

Change-Id: I16fc37f5c00ed79f2370bc46554fc7a24c52c4cb
Conflicts:
	core/java/android/net/ConnectivityManager.java
2014-07-01 02:00:51 +00:00
Amit Mahajan
d518376874 EAP-SIM RIL command name change.
Modified the name to match what was in QCRIL.

Change-Id: I41abfacb7bacd4cfa0d4543100ac9960c97184f9
2014-06-30 22:59:07 +00:00
Etan Cohen
3e2d8f4182 Removed RIL_REQUEST_SET_RADIO_MODE and RIL_REQUEST_DATA_IDLE commands
Unused commands

Change-Id: Ib6e033ed9212a5e5b21b961f7483f98cf63fd598
2014-06-30 19:15:02 +00:00
Wink Saville
0a493e8722 Fix java doc.
Change-Id: I620c2ea77504fa4ead92e8a4faf0db4eff4f5e2b
2014-06-26 04:50:00 -07:00
Wink Saville
f8458ff9d9 Fix lpdk build.
Move aidl files from frameworks/opt/net/ims to frameworks/base so lpdk
compiles. The reason is lpdk doesn't have frameworks/base sources so
references to Pending and Bundle in aidl files breaks the pdk build.

I had to move all of them and the ims/*java files for dependency reasons.

Change-Id: I92452562591b157cecdfc01bcd892c4f35f5965c
2014-06-26 02:37:08 +00:00
Cheuksan Wang
b72351da56 Merge "Add an API call to update the status of a pending outbound SMS message and resend by PSTN if necessary." 2014-06-23 17:14:09 +00:00
Cheuksan Wang
87487466af Add an API call to update the status of a pending outbound SMS message and
resend by PSTN if necessary.

Change-Id: Id847b182874bef057473acf293cee43d9d55f7ab
2014-06-19 18:51:13 -07:00
Ye Wen
369a107fd6 Move IMms.aidl to frameworks/base (2/3)
Change-Id: Ia771496f92a841c72d950212b2f525aa0c733d7f
2014-06-18 18:25:20 -07:00
Robert Greenwalt
19f01ebe90 Merge "Remove Obsolete enable/disableApn functions." 2014-06-17 21:43:29 +00:00
Robert Greenwalt
e356825e4a Remove Obsolete enable/disableApn functions.
ConnectivityService now uses NetworkAgents instead and apps should use
ConnectivityManager.

Change-Id: Ifc5c8f5be802183e70a5d92b224c819815de00e6
2014-06-17 14:10:39 -07:00