Commit Graph

2820 Commits

Author SHA1 Message Date
TreeHugger Robot
03057588bc Merge "Remove SystemApi annotation from EuiccManager.getOtaStatus()" 2018-01-09 02:03:01 +00:00
Jeff Sharkey
9c53dba9a3 Merge "Sigh, people wrote tests with weird assumptions." 2018-01-08 23:01:15 +00:00
Pankaj Kanwar
d3d0e82727 Merge "Change warning message for roaming for DTAG." 2018-01-08 22:02:18 +00:00
Jeff Sharkey
ddf216440d Sigh, people wrote tests with weird assumptions.
They're mocking a mock.  Nelson called.

Test: bit FrameworksTelephonyTests:com.android.internal.telephony.ServiceStateTrackerTest
Bug: 71707742
Change-Id: I30db29808fb22ade2247446782ee1ec3d4b947cb
2018-01-08 13:38:49 -07:00
Jiyong Park
15bf538cbe Remove SystemApi annotation from EuiccManager.getOtaStatus()
EuiccManager.getOtaStatus() has been annotated as @SystemApi, but its
declaring class EuiccManager has not. Therefore, the method hasn't been
recognized as SystemApi (does not appear in system-current.txt) and no
app is using the method.

This hasn't been harmful, but will soon trigger CTS failures when we do
the exact match for SystemAPIs; a runtime entity annotated as @SystemApi
have to exist in the documented API (e.g. system-current.txt). So
removing this no-op annotation.

Bug: 67891551
Test: m -j checkapi
Change-Id: I570ef5e5c88b6b9162116d3d3a7b17367efa9d7f
2018-01-08 14:08:17 +09:00
pkanwar
1e96faed34 Change warning message for roaming for DTAG.
Bug: 64106612
Test: manual
Change-Id: I9fee99d4f08521727466c2480dce0aff3a395fe3
2018-01-07 16:34:02 -08:00
Jeff Sharkey
717f52f2dd Intent to manage subscription plans.
Define an API for carrier apps to provide a deep-link into their app
for the user to see more details about their billing relationship,
such as upgrading plans.

The createManageSubscriptionIntent() method is ready for OS
components to use when deciding if they should show a "MANAGE"
button in their UI, and the returned Intent is fully constructed
and ready to roll.

Test: builds, boots
Bug: 64133169
Change-Id: I9b2775b7cba5313f517996870135eb4682082873
2018-01-04 16:11:51 -07:00
Jake Wharton
695c53ee09 Correct Telephony source directory to match package.
Test: none
Bug: 71549250
Change-Id: I3e4c1d67240d83712f96d076d650af464a9c8277
2018-01-04 10:16:31 -05:00
Qingxi Li
acaee9645b Merge "Add API to get eUICC's OTA status" 2018-01-02 23:30:52 +00:00
Jack Yu
31db18a4c0 Added AIDL for cell identity
Added AIDL for CellIdentityCdma, CellIdentityGsm, CellIdentityLte
and CellIdentityWcdma. This is the preliminary change for IWLAN
refactoring as network registration state will be moving into
system API.

Test: Build
bug: 64132030
Change-Id: I6763d4b6e51cf354b01ee5bfb5d37114394f3063
2017-12-27 16:19:20 -08:00
Qingxi Li
5405836497 Add API to get eUICC's OTA status
The function will return current eUICC's OTA status and requests calling
app has WRITE_EMBEDDED_SUBSCRIPTIONS.

Test: E2E
Bug: 37279356
Change-Id: I823ed7aa9d86530c4bebd4c0b1a00f0c607105ed
2017-12-22 13:48:35 -08:00
Ying Xu
5f51741ae2 Merge "Expose the scan API and network select API." am: 761b7b50d1 am: a9083c3145
am: 3fc3857a73

Change-Id: I90d8d01ecedfa7993852041a7da811899f71cb64
2017-12-22 01:26:53 +00:00
Ying Xu
3fc3857a73 Merge "Expose the scan API and network select API." am: 761b7b50d1
am: a9083c3145

Change-Id: Iee5e44b4f6a9a8921a89c05640be4d52e0251bb8
2017-12-22 01:17:05 +00:00
Hall Liu
aa9347980e Merge "Add feature flag and EMBMS bug fixes" am: 465f2916e0 am: 3424136a59
am: effcd1f508

Change-Id: Ibefdba1da5da4bfdf93d7db4c0f42a79ad75be46
2017-12-22 01:01:50 +00:00
Ying Xu
761b7b50d1 Merge "Expose the scan API and network select API." 2017-12-22 01:01:09 +00:00
Hall Liu
effcd1f508 Merge "Add feature flag and EMBMS bug fixes" am: 465f2916e0
am: 3424136a59

Change-Id: Iebc092e58752f32b6abfad612901ae094e083449
2017-12-22 00:54:14 +00:00
Hall Liu
465f2916e0 Merge "Add feature flag and EMBMS bug fixes" 2017-12-22 00:37:31 +00:00
Gil O'Neil
42995cfcce Merge "Make TelephonyManager#{set/get}{Voice/Date}ActivationState SystemApis" 2017-12-21 23:36:20 +00:00
TreeHugger Robot
9d51240f03 Merge "Require that caller holds SEND_SMS and MODIFY_PHONES_STATE permissions" 2017-12-21 23:22:34 +00:00
goneil
52f3d19c3b Require that caller holds SEND_SMS and MODIFY_PHONES_STATE permissions
Bug: 70177947
Test: None
Change-Id: If26ae0c69d3266c2639b61b3ed32df3f1cb2c36f
2017-12-21 12:53:27 -08:00
abdalkader
e1a5469101 Merge "SMS over IMS APIs revision" am: 2bf7f03e63 am: f9eba1a18f
am: ca88d359c0

Change-Id: Iea7624e10230294505982f0373b97a2486d6996f
2017-12-21 20:10:03 +00:00
abdalkader
ca88d359c0 Merge "SMS over IMS APIs revision" am: 2bf7f03e63
am: f9eba1a18f

Change-Id: Ia7bdaeee0ca3942d72d9e92faa78a947fe1d4616
2017-12-21 19:40:25 +00:00
goneil
c57be8083e Make TelephonyManager#{set/get}{Voice/Date}ActivationState SystemApis
Also make the possible SIM_ACTIVATION_STATE parameters @SystemAPIs

Bug: 67750905
Test: TelephonyManagerTests#test{Voice/Data}ActivationState
Change-Id: Ib2c672db1e78afdbc25c4d36da478c3b88ffe232
2017-12-21 10:22:10 -08:00
abdalkader
2bf7f03e63 Merge "SMS over IMS APIs revision" 2017-12-21 18:12:07 +00:00
Brad Ebinger
b2a83cfcfc SMS over IMS APIs revision
- Move from being a feature to being a capability
- Move format to the constructor and make final
- Initial hooking up of APIs provided by platform for ims providers.
- Add constants for send status result
- Rename SmsListener callbacks.
- Split acknowledgeSms for sms and sms reports.
- Add reason for onSendSmsResult
Bug: 69846044

Test: None
Change-Id: I861664264a117d5483e392d4aabff59bfaf4373e
2017-12-20 17:18:50 -08:00
Holly Jiuyu Sun
4fc008f305 Merge "Use getter instead of member for IEuiccController stub." am: 6991266aa6 am: fe8ee59db5
am: 1f141b0b1a

Change-Id: Ia57a9c7d86b9004ae3c9e853be70a083d91eb76a
2017-12-20 03:14:26 +00:00
Holly Jiuyu Sun
1f141b0b1a Merge "Use getter instead of member for IEuiccController stub." am: 6991266aa6
am: fe8ee59db5

Change-Id: I96f4cca6ca0f1f75e2fd32123e6cc3d8769ce348
2017-12-20 03:06:37 +00:00
Holly Jiuyu Sun
6991266aa6 Merge "Use getter instead of member for IEuiccController stub." 2017-12-20 02:49:50 +00:00
TreeHugger Robot
cfc57b6fc6 Merge "Make TelephonyManager#getNai() public" 2017-12-20 00:36:33 +00:00
yinxu
bbc3d36782 Expose the scan API and network select API.
Bug: 67748005
Test: Basic telephony sanity
Change-Id: I54aa5d5eacfeb39ada14e843917fe08e382e79de
2017-12-19 13:37:05 -08:00
Ying Xu
2438977f27 Merge "Add new key KEY_CARRIER_CONFIG_OVERRIDE_BOOL" am: 7be7d422a2 am: 784a690ec7
am: 74ee537cca

Change-Id: I35d6ac35a2244cbfcf69cec2da4cd71e721e5e6b
2017-12-18 23:51:01 +00:00
Ying Xu
74ee537cca Merge "Add new key KEY_CARRIER_CONFIG_OVERRIDE_BOOL" am: 7be7d422a2
am: 784a690ec7

Change-Id: I0e4098cfd0fe0d78e2d5de33a193da1095974ea6
2017-12-18 23:42:03 +00:00
Ying Xu
7be7d422a2 Merge "Add new key KEY_CARRIER_CONFIG_OVERRIDE_BOOL" 2017-12-18 23:26:25 +00:00
TreeHugger Robot
679436ad60 Merge "Add isMobileDataEnabled in TelephonyManager." 2017-12-18 22:08:38 +00:00
Jeff Davidson
6bb6fad16d Merge "Update SmsMessage.FORMAT_ Javadocs." 2017-12-18 21:52:01 +00:00
goneil
42722c68cd Make TelephonyManager#getNai() public
Bug: 67750905
Test: android.telephony.cts.TelephonyManagerTest#testTelephonyManager
Change-Id: I92af07a5ed2abd852ff0f79909c574d78b89f535
2017-12-15 16:52:03 -08:00
Ricardo Loo Foronda
ccd5d32295 docs: Added code tag to meta-data name and fixed some @see tags am: f2a8aea735
am: 0d69f1b342

Change-Id: Ib0e6d759d002cf5418755312c42e32e07ece0576
2017-12-15 20:38:54 +00:00
Ricardo Loo Foronda
0d69f1b342 docs: Added code tag to meta-data name and fixed some @see tags
am: f2a8aea735

Change-Id: If5601165a816e0dadc672008f8d5049563ee577f
2017-12-15 20:31:18 +00:00
yinxu
0d56f3c8cc Add new key KEY_CARRIER_CONFIG_OVERRIDE_BOOL
When user gets the carrier config bundle, the value of this new key in
the bundle will indicate whether this bundle contains the default config
or carrier specific config.

Bug: 70400384
Test: Basic telephony sanity
Change-Id: I3480665398ad2b7517b71e808c3e4242d113ea46
2017-12-15 11:25:10 -08:00
Holly Jiuyu Sun
c2193d4b24 Use getter instead of member for IEuiccController stub.
Make EuiccManager robust to com.android.phone process death.

Bug: 64150969
Test: Tested on two walleye devices. One contains the fix, and the other
one doesn't. Use kill -9 PID. The one with the fix can continue work
(the phone process is up quickly after gets killed), while the other one
doesn't work unless restart LPA.
Change-Id: I67649e31381f1c2b6f187d86684b22a000e6e0b0
2017-12-15 10:39:26 -08:00
Brad Ebinger
a19ddec9b8 Merge "Adds MMTel APIs in temporary namespace" am: 4e54d6092b am: ac0d27659a
am: 0af882d629

Change-Id: I37c0ea61549282255f416855ec6663688e9d7cf3
2017-12-15 18:20:32 +00:00
Brad Ebinger
4e54d6092b Merge "Adds MMTel APIs in temporary namespace" 2017-12-15 17:53:16 +00:00
Ricardo Loo Foronda
f2a8aea735 docs: Added code tag to meta-data name and fixed some @see tags
Status: Ready for review.

Changes:
* Surrounded android.service.carrier.LONG_LIVED_BINDING with code tags
  in CarrierService class.
* Prefixed @see tags with # in CarrierConfigManager#KEY_FORCE_HOME_NETWORK_BOOL.
* Prefixed @see tag with class name in
  CarrierConfigManager#notifyConfigChangedForSubId.

Test: make ds-docs

Staged content:
*
https://android-dot-devsite.googleplex.com/reference/android/service/carrier/CarrierService.html
*
https://android-dot-devsite.googleplex.com/reference/android/telephony/CarrierConfigManager.html#KEY_FORCE_HOME_NETWORK_BOOL
*
https://android-dot-devsite.googleplex.com/reference/android/telephony/CarrierConfigManager.html#notifyConfigChangedForSubId(int)

Bug: 23289716
Change-Id: I3b5be3ecc45bfb83e3fe0ae9bc76dc7761557e08
2017-12-15 15:49:01 +00:00
Brad Ebinger
ea8fd1bd0a Adds MMTel APIs in temporary namespace
This change adds the new MMTel APIs in a
temporary android.telephony.ims.internal
namespace so that integration work can start
from the ImsService side.

Once the APIs are finalized further and integrated
into the platform, the namespace will be moved
back to android.telephony.ims.

Tests and integration CLs to follow in
separate CLs. Anything that is not implemented
yet has a TODO.

Test: Manual
Bug: 63987047
Change-Id: Iec5e15438f6259c6edd9a308e66bebc92685c578
2017-12-14 14:51:12 -08:00
Jeff Davidson
321fcecef0 Update SmsMessage.FORMAT_ Javadocs.
Change-Id: Ie8c5ed4593763d354afa49561be08e620ea95546
Fixes: 70336453
Test: None, trivial doc update
2017-12-14 14:30:52 -08:00
Treehugger Robot
6e41b2c5c8 Merge "Update PhoneStateListener#onCallStateChanged Javadoc." 2017-12-14 17:52:27 +00:00
Jeff Davidson
3463ee10a2 Update PhoneStateListener#onCallStateChanged Javadoc.
While the doc suggested that the phone number was "incoming" (e.g.
only populated for incoming calls), it should also be populated for
outgoing calls.

Bug: 67748129
Test: Verified expected behavior on Taimen running OC-MR1, added CTS
test (see other CL in this topic)
Change-Id: I1ddd9c042f287953358a794b91b2af5ed6f5b597
Merged-In: I1ddd9c042f287953358a794b91b2af5ed6f5b597
2017-12-14 08:34:28 -08:00
Chen Xu
79972cd448 Merge "new carrier id APIs" 2017-12-13 23:20:30 +00:00
Malcolm Chen
b455e722b1 Add isMobileDataEnabled in TelephonyManager.
Added a new hidden API isMobileDataEnabled in TelephonyManager.
Rename related APIs to isUserMobileDataEnabled,
isUserMobileDataEnabled and setUserMobileDataEnabled to better
clarify their functionality.

Bug: 69814555
Test: build
Change-Id: I2f186f1e7550cafbe4ee3a5af293c39274cbfeaa
2017-12-13 14:44:39 -08:00
Ta-wei Yen
edf53637bd Merge "Deprecate setVoicemailRingtoneUri and setVoicemailVibrationEnabled" am: 8244ebfc4e am: a02bbdb8d8
am: 3d89874bb5

Change-Id: I6b1882e006a7b708c5979b4970a2ddc9be35f93b
2017-12-13 22:29:36 +00:00