Commit Graph

5438 Commits

Author SHA1 Message Date
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
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
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
Holly Jiuyu Sun
e6153b9bff Merge EuiccProfile into EuiccProfileInfo.
After EuiccCard is moved to the platform, it can depend on
EuiccProfileInfo directly.

Bug: 70292228
Test: unit test
Change-Id: Ibe2c61ce9c4d2c99bac1cd9df8bb62414c46feee
2018-01-09 15:08:26 -08:00
Qingxi Li
6019f9ca34 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
Change-Id: Iea86add4bdc01c79a8714af4b3a89735ba78ee74
2018-01-09 13:33:15 -08:00
Malcolm Chen
5f153006b0 Merge "Rename RadioNetworkConstants to NetworkConstants." am: 289b3fbca8 am: 4d2ffac581
am: c84d79740e

Change-Id: I2998277c63caa244aba07372ac8104aeeed85529
2018-01-09 21:10:15 +00:00
Jack Yu
9cd3b7b3f5 Exposed CDMA SID/NID get APIs
Made two existing hidden APIs getSystemId() and getNetworkId()
into public APIs.

Test: Telephony sanity tests
bug: 32718590
Change-Id: I436bd2699f8f805def753878d93e7dbf524e5f44
2018-01-09 12:25:52 -08:00
Malcolm Chen
c84d79740e Merge "Rename RadioNetworkConstants to NetworkConstants." am: 289b3fbca8
am: 4d2ffac581

Change-Id: I349cd20ecbcb801a1e93d4a215d65df432f5df69
2018-01-09 19:43:02 +00:00
Treehugger Robot
289b3fbca8 Merge "Rename RadioNetworkConstants to NetworkConstants." 2018-01-09 07:04:01 +00:00
Malcolm Chen
ffbaa9de1c 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
Merged-In: I2f186f1e7550cafbe4ee3a5af293c39274cbfeaa
2018-01-08 18:08:22 -08:00
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
Cassie Han
658e7119a6 Merge "Migrate flag config_telephony_use_own_number_for_voicemail to Carrier Config." am: 9c1279d2ae
am: 28dd9dfeb5

Change-Id: I9b8a48709850b545b806fb605d1d94e9cdefe1d0
2018-01-08 21:28:02 +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
Cassie Han
9c1279d2ae Merge "Migrate flag config_telephony_use_own_number_for_voicemail to Carrier Config." 2018-01-08 17:25:26 +00:00