Commit Graph

2902 Commits

Author SHA1 Message Date
Mohamed Abdalkader
2c941f8460 Merge "Add unique id for sms APIs to be able to trigger correct smstracker" 2018-01-13 00:32:17 +00:00
TreeHugger Robot
480ed142df Merge "Used LinkAddress insteaad of InterfaceAddress" 2018-01-13 00:21:28 +00:00
TreeHugger Robot
de25827747 Merge "Add target package to VisualVoicemailFilterSettings." 2018-01-12 21:32:55 +00:00
Mohamed Abdalkader
ff677ee0b0 Add unique id for sms APIs to be able to trigger correct smstracker
In old APIs the SmsTracker itself was being passed to the RIL
and onSendComplete the tracker's pending intent was triggered
and then the updated messageRef was used as the id.

Instead of passing the tracker, passing a unique id to be used
for the lifetime of the message.

Doing same thing for receiving flow.

Test: None, APIs not exercised yet.
BUG=69846044

Change-Id: Id19f854e2c48649db8f2031ee4f49cdac331451c
2018-01-12 12:26:03 -08:00
Holly Jiuyu Sun
eb171a357e Merge "Add dependencies of EuiccCard." am: 90b4e47d94 am: 4f217d740a
am: e03f92daaf

Change-Id: Ibc22bc94851e4faf6066f44baebaf2da8eec586e
2018-01-12 19:52:48 +00:00
Holly Jiuyu Sun
e03f92daaf Merge "Add dependencies of EuiccCard." am: 90b4e47d94
am: 4f217d740a

Change-Id: I874b4244dd0c79c1bee34480c34d6ee6ac9e0855
2018-01-12 19:42:42 +00:00
Holly Jiuyu Sun
90b4e47d94 Merge "Add dependencies of EuiccCard." 2018-01-12 17:18:03 +00:00
Jack Yu
3958179e7e Used LinkAddress insteaad of InterfaceAddress
Also removed InterfaceAddress which was added
in aosp/561351 since LinkAddress is exactly same
as InterfaceAddress.

Test: Telephony sanity tests
bug: 64132030
Change-Id: Ib7965a44b307c4cff2581abf0b7c12fcb1b9526a
2018-01-11 21:22:25 -08:00
Grace Chen
3db5c8c004 Merge "Make setSimPowerState systemAPI" 2018-01-12 00:24:06 +00:00
Holly Jiuyu Sun
613e01227b Merge "Add EuiccCardManager and EuiccCardController." am: ec25ea1520
am: edc14bd3c4

Change-Id: I5ac16981ac7ca4d492387a340f10a34b8ab1d804
2018-01-11 23:11:05 +00:00
Kitta Koutarou
911f56ce62 Make LTE signal bar thresholds customizable with carrier configuration
Move config_lteDbmThresholds to KEY_LTE_RSRP_THRESHOLDS_INT_ARRAY
to control the LTE signal bar thresholds by carrier configuration.

Test: manual - Checked that the LTE signal bar thresholds can be
controlled by carrier config.
Test: auto - Confirmed that run
ServiceStateTrackerTest#testSignalStrength and it has no problem.
Bug: 70698348
Change-Id: Ia613663956ff00fbf299dcf69113733eae5a3458
2018-01-11 14:01:15 -08:00
Tyler Gunn
c9c82958ab Merge "Add support for notification of LTE to WIFI handover for video calls." into oc-mr1-dev am: d29f6f12f5
am: 2175e526a9

Change-Id: I452e8da39e029d69ba8b1be79e54c2e866946b5b
2018-01-11 20:05:05 +00:00
Tyler Gunn
2175e526a9 Merge "Add support for notification of LTE to WIFI handover for video calls." into oc-mr1-dev
am: d29f6f12f5

Change-Id: Id99d2c524cb4080ebecff571a4117c0b319b70e8
2018-01-11 19:52:38 +00:00
Tyler Gunn
d29f6f12f5 Merge "Add support for notification of LTE to WIFI handover for video calls." into oc-mr1-dev 2018-01-11 19:43:12 +00:00
Holly Jiuyu Sun
3d6b53c075 Add EuiccCardManager and EuiccCardController.
EuiccCardManager is in the same path with EuiccManager.
EuiccCardController is in the same path with EuiccController.
Use getAllProfiles() as an example interface.
The implementation of EuiccCard and its content will be added in a
follow up CL.
The new API is marked as @hide and TODO for @SystemApi.

Bug: 38206971
Test: test on phone
Change-Id: I153937c0f79bdd1a00b06b234a6e254a3f43072c
Merged-In: I153937c0f79bdd1a00b06b234a6e254a3f43072c
2018-01-11 10:30:43 -08:00
Jiuyu Sun
9e7bf9e304 Merge "Add EuiccCardManager and EuiccCardController." 2018-01-11 18:09:40 +00:00
Jeff Sharkey
4df1c3dac7 Merge "Define broadcasts for refreshing data plans." 2018-01-11 06:31:47 +00:00
yuemingw
8e62041b84 Merge "Add public ApnSetting in android.telephony." am: f9063b378b am: f68992a6a7
am: e3d4b7d3d2

Change-Id: Ia4100787507887692c6aa5df4e331fba59993255
2018-01-11 05:21:32 +00:00
yuemingw
e3d4b7d3d2 Merge "Add public ApnSetting in android.telephony." am: f9063b378b
am: f68992a6a7

Change-Id: I959e4cc4f252b1a503dca11d83672257b93f97a4
2018-01-11 05:12:34 +00:00
Treehugger Robot
f9063b378b Merge "Add public ApnSetting in android.telephony." 2018-01-11 04:01:32 +00:00
Jeff Sharkey
e92ed6fbb3 Define broadcasts for refreshing data plans.
We don't hand the Intent out to the Settings app, since we need to
carefully set whitelisting to allow the carrier app to wake up and
respond if it's dozing.

Define new "changed" broadcast that we'll send out whenever plans
are changed internally.

Test: builds, boots
Bug: 64133169
Change-Id: Iacdd06d8e273fd52c8fc83edab13c9c8453b28eb
2018-01-10 20:47:45 -07:00
Holly Jiuyu Sun
5c11024d13 Add EuiccCardManager and EuiccCardController.
EuiccCardManager is in the same path with EuiccManager.
EuiccCardController is in the same path with EuiccController.
Use getAllProfiles() as an example interface.
The implementation of EuiccCard and its content will be added in a
follow up CL.
The new API is marked as @hide and TODO for @SystemApi.

Bug: 38206971
Test: test on phone
Change-Id: I153937c0f79bdd1a00b06b234a6e254a3f43072c
2018-01-10 18:59:50 -08:00
Holly Jiuyu Sun
47a7426ddd Add dependencies of EuiccCard.
Include EuiccNotification and EuiccRat.
Change EuiccRat to Parcelable.

Bug: 38206971
Test: unit test
Change-Id: Ifbe01e64b92ab0b042779487df4dd99159c5e3b8
2018-01-10 15:50:16 -08:00
Qingxi Li
360d2cb494 Merge "Add API EuiccController#startOtaUpdatingIfNecessary" am: 999d998fb0
am: a043a1c924

Change-Id: Ibf66b8ee23ad81d4119c5f94ad4caacf5abdf3ec
2018-01-10 22:40:21 +00:00
Treehugger Robot
999d998fb0 Merge "Add API EuiccController#startOtaUpdatingIfNecessary" 2018-01-10 21:29:02 +00:00
Jack Yu
b2f35be62c Merge "Added Cell identity for TD-SCDMA and a base class CellIdentity" am: 5e90553bcf am: 18bd9922fb
am: d1cd07afe2

Change-Id: I073ef7a8efb94c64d4640c64463f4088025213f2
2018-01-10 21:01:52 +00:00
Qingxi Li
8314fa72f2 Add API EuiccController#startOtaUpdatingIfNecessary
This function requests calling app has WRITE_EMBEDDED_SUBSCRIPTIONS
permission. It will check whether the OTA update needed to be done
first. If current eUICC OS isn't latest one and OTA needed to be
performed, it will update eUICC OS. When the OS update is started or
finished, a broadcast will be sent.

Bug: 37279356
Test: E2E
Merged-In: Iea86add4bdc01c79a8714af4b3a89735ba78ee74
Change-Id: Iea86add4bdc01c79a8714af4b3a89735ba78ee74
2018-01-10 12:01:13 -08:00
Jack Yu
d1cd07afe2 Merge "Added Cell identity for TD-SCDMA and a base class CellIdentity" am: 5e90553bcf
am: 18bd9922fb

Change-Id: Ic5802a6f39715f042d18bb25dd3481c4c79b508f
2018-01-10 19:50:34 +00:00
Jack Yu
5e90553bcf Merge "Added Cell identity for TD-SCDMA and a base class CellIdentity" 2018-01-10 18:39:53 +00:00
Jordan Liu
11954f5060 Merge "Add precise disconnect cause in DisconnectCause" am: 8098078edf am: e77087994d
am: 35abe14435

Change-Id: Id1f9fe432c37fb8e34912b428f7b36c8d8c8403d
2018-01-10 17:34:40 +00:00
Jordan Liu
35abe14435 Merge "Add precise disconnect cause in DisconnectCause" am: 8098078edf
am: e77087994d

Change-Id: I1aae0435aa09faaeae396242fcd01cd6c7480527
2018-01-10 17:23:05 +00:00
Jordan Liu
8098078edf Merge "Add precise disconnect cause in DisconnectCause" 2018-01-10 17:06:14 +00:00
Jack Yu
6cd44734b0 Added Cell identity for TD-SCDMA and a base class CellIdentity
Added CellIdentityTdscdma for TDS-CDMA cell identity. Also added
a base class for existing CellIdentityXxx so that the network
service can return specific RAT cell identity through the
network service callback API which takes generic cell identity
as the parameter.

This is the preliminary change for IWLAN refactoring since cell
identity is part of the CS/PS network registration.

bug: 64132030
Test: Unit tests
Change-Id: I3ca405d687667b6c43e782339edec26a6f6edfc9
2018-01-10 01:37:04 -08:00
Holly Jiuyu Sun
6a85d75fbc Merge "Merge EuiccProfile into EuiccProfileInfo." am: b01bd54b11 am: 6a5dc32ac3
am: 20f35f962e

Change-Id: I8f7cc7e81fc163119ffa15666f054b298d47fff1
2018-01-10 05:58:24 +00:00
Holly Jiuyu Sun
20f35f962e Merge "Merge EuiccProfile into EuiccProfileInfo." am: b01bd54b11
am: 6a5dc32ac3

Change-Id: I3d6df6f2bce5b6e19ce0ef2c13adc39fa1b9a862
2018-01-10 05:49:06 +00:00
Holly Jiuyu Sun
b01bd54b11 Merge "Merge EuiccProfile into EuiccProfileInfo." 2018-01-10 05:21:35 +00:00
yinxu
9e68465043 Merge "Check null before calling clone()" am: e1bdd513d0 am: 1c60aa03fc
am: 910cf3219c

Change-Id: I51ee6e90e464bfa1bae74ff8aacdf12378e15449
2018-01-10 03:38:21 +00:00
yinxu
910cf3219c Merge "Check null before calling clone()" am: e1bdd513d0
am: 1c60aa03fc

Change-Id: Ie06c696c8805e188d1af3121c66f3180a9845c16
2018-01-10 03:28:45 +00:00
yuemingw
9361a1394c Add public ApnSetting in android.telephony.
Bug: 68208293
Test: manual

Add public ApnSetting class in android.telephony. Move APN TYPE constants out from
PhoneConstants into public ApnTypeConstants.

Design doc: https://docs.google.com/document/d/1UEYjhRGSEwwccPLs_FzFD-IeOsVq63gxmAHNtDfnzAY/edit?pli=1#

Change-Id: I74d23644a872df0abc19730285ae196b6e3e39dd
2018-01-10 03:17:05 +00:00
Treehugger Robot
e1bdd513d0 Merge "Check null before calling clone()" 2018-01-10 03:07:26 +00:00
Jack Yu
35dfaa2d88 Merge "Exposed CDMA SID/NID get APIs" am: 0cb936a855 am: 46ffa48122
am: e936a81557

Change-Id: I357f89c8d8ab7032710063e5cd6d2f761c9e1bb4
2018-01-10 02:49:44 +00:00
Jack Yu
e936a81557 Merge "Exposed CDMA SID/NID get APIs" am: 0cb936a855
am: 46ffa48122

Change-Id: I4693b44d59a312def9f26ad54badd5533cd36dfd
2018-01-10 02:39:54 +00:00
TreeHugger Robot
7819f611de Merge "Add API EuiccController#startOtaUpdatingIfNecessary" 2018-01-10 02:38:11 +00:00
Treehugger Robot
0cb936a855 Merge "Exposed CDMA SID/NID get APIs" 2018-01-10 02:19:20 +00:00
Cassie Han
b76d28fee3 Merge "Expose a new public column network_type_bitmask and deprecate bearer_bitmask gradually." am: 72acefa6d8 am: b51df90f28
am: 23274614da

Change-Id: Id1b1667359a45259aea7d32cf7426f843ba0f33f
2018-01-10 01:33:29 +00:00
Cassie Han
23274614da Merge "Expose a new public column network_type_bitmask and deprecate bearer_bitmask gradually." am: 72acefa6d8
am: b51df90f28

Change-Id: I7045d6b684351e3545d24a52d16cb53d85483f20
2018-01-10 01:20:42 +00:00
Cassie Han
72acefa6d8 Merge "Expose a new public column network_type_bitmask and deprecate bearer_bitmask gradually." 2018-01-10 00:55:32 +00:00
yinxu
f45c946421 Check null before calling clone()
Bug: 67748005
Test: Basic telephony sanity

Change-Id: Ia46a82823b2d3c2bf3a6cb77a6fe191a7f7cb5d0
2018-01-09 16:30:28 -08:00
Malcolm Chen
904340088a Merge "Add isMobileDataEnabled in TelephonyManager." am: ed7eead23b
am: 6b943d5deb

Change-Id: I132cc6d3de77f20717a40884683fb0c81fbb7083
2018-01-10 00:06:27 +00:00
Treehugger Robot
ed7eead23b Merge "Add isMobileDataEnabled in TelephonyManager." 2018-01-09 23:46:55 +00:00