Commit Graph

2813 Commits

Author SHA1 Message Date
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
Treehugger Robot
8244ebfc4e Merge "Deprecate setVoicemailRingtoneUri and setVoicemailVibrationEnabled" 2017-12-13 21:56:12 +00:00
Jordan Liu
34116c78d9 Merge "Unhide signal strength carrier config" 2017-12-13 18:20:12 +00:00
Jack Yu
56926dd7e5 Added test cases for DataCallResponse parcel read/write
bug: 64132030
Test: Unit tests
Merged-In: I87a9af987dd7366bfe6b22252e2c4bdc0fbdd727
Change-Id: I87a9af987dd7366bfe6b22252e2c4bdc0fbdd727
(cherry picked from commit 14c2aaa0a2)
2017-12-13 00:10:51 -08:00
Ta-wei Yen
088b8b4387 Deprecate setVoicemailRingtoneUri and setVoicemailVibrationEnabled
Due to notification channel changes in O these settings are no longer
applicable.

Change-Id: Iaac6fda37bc989e09e7e4b1c20f2434be3feee92
Fixes: 38205149
Test: Doc change.
2017-12-12 11:31:47 -08:00
Treehugger Robot
8ded1cde4a Merge "Moved data connection response into system api." 2017-12-12 18:04:10 +00:00
Hall Liu
0afd2d0288 Merge "Add CarrierConfig key for RTT support" am: e5a913661d am: 79dc6fb815
am: 6365fde4c0

Change-Id: I652fb64918aaf7dbd87910d35329b2752914e937
2017-12-12 02:46:53 +00:00
Amit Mahajan
036ffe55d5 Merge "Revert "Add support for send Message with messaging options"" am: 563d93c107 am: b1ba135258
am: 339c512db0

Change-Id: I0539d1f7db3a307f7fb0b27e0b2a3a3e13a71538
2017-12-12 02:32:54 +00:00