Commit Graph

4023 Commits

Author SHA1 Message Date
Automerger Merge Worker
e3ba3689d9 Merge "Move RCS UCE out of Telephony Mainline" am: 07ba9c6fff am: 5a05ae1270
Change-Id: I57e27f7314692bbaa882216405deca80ded92ad1
2019-12-16 18:18:36 +00:00
Brad Ebinger
07ba9c6fff Merge "Move RCS UCE out of Telephony Mainline" 2019-12-16 17:53:31 +00:00
Automerger Merge Worker
6f6509fcfe Merge "Added read phone state permission for getNetworkCountryIso" am: 8409679749 am: 17fd16a84b
Change-Id: I982337471cbf99f9a69054fba4e58074e5799d11
2019-12-16 17:47:45 +00:00
Jack Yu
8409679749 Merge "Added read phone state permission for getNetworkCountryIso" 2019-12-16 17:29:15 +00:00
Automerger Merge Worker
560eac460c Merge "remove API RoleManager.getFinancialSms" am: c0fa362e1b am: 679980cbca
Change-Id: I6f5db398a52a01b3fcc5b7a672d39f92dcd93479
2019-12-14 08:19:38 +00:00
Chen Xu
c0fa362e1b Merge "remove API RoleManager.getFinancialSms" 2019-12-14 06:57:48 +00:00
Automerger Merge Worker
3559b773a2 Merge changes from topic "cpcpcp" am: b25174e9d0 am: bcec691fd1
Change-Id: I8e9c1c4e99969342a339501ffe05023d82353387
2019-12-14 06:21:56 +00:00
Automerger Merge Worker
b6c05be16d move IApnSourceService.aidl to android.service.carrier am: 2a03dd50ce am: f3304cec72
Change-Id: Idfbfe4e5420eeeb2d364145e0676762905be3c9b
2019-12-14 06:21:49 +00:00
Chen Xu
f3304cec72 move IApnSourceService.aidl to android.service.carrier
am: 2a03dd50ce

Change-Id: Icb6e2e2cf89ad53dfc1af2a90d138145a22f634e
2019-12-13 22:09:00 -08:00
Chen Xu
435d1c1a53 remove API RoleManager.getFinancialSms
getFinancialSms is not functional and not used today, thus
remove it to avoid future confusion

Bug: 138745655
Bug: 140908357
Test: atest android.telephony.cts.SmsManagerTest
Change-Id: Ib57d0fc189b6c894227894ee02b592f7ee46f22f
(cherry picked from commit d6b2673181)
Merged-in: Ib57d0fc189b6c894227894ee02b592f7ee46f22f
2019-12-13 20:48:41 -08:00
Chen Xu
b25174e9d0 Merge changes from topic "cpcpcp"
* changes:
  move encodeException to non-updatable framework/base/telephony/common
  move IApnSourceService.aidl to android.service.carrier
  use SmsCbMessage.MESSAGE_FORMAT_3GPP to replace hidden SmsMgr APIs
  apply correct @SystemAPI for PackageManager
2019-12-14 04:16:54 +00:00
Automerger Merge Worker
37794825d3 Merge "Move TelephonyUtils to base/telephony" am: 07b7384007 am: 3858f597e9
Change-Id: I6609f7e4420ef27df625437426b53949cc24da3c
2019-12-14 01:59:29 +00:00
Treehugger Robot
07b7384007 Merge "Move TelephonyUtils to base/telephony" 2019-12-14 01:35:53 +00:00
Chen Xu
4c0941420e move encodeException to non-updatable framework/base/telephony/common
Bug: 140908357
Test: Build
Change-Id: I9be6b41fe4af0eb4eb56debffc020735509dc407
(cherry picked from commit 3a7dfca8db)
Merged-in: I9be6b41fe4af0eb4eb56debffc020735509dc407
2019-12-13 17:07:50 -08:00
Chen Xu
2a03dd50ce move IApnSourceService.aidl to android.service.carrier
Bug: 140908357
Test: Build & Manual
Change-Id: I21b83798f5ecd819627a7168c167cf3cfe99dd68
(cherry picked from commit 478ba408d3)
Merged-in: I21b83798f5ecd819627a7168c167cf3cfe99dd68
2019-12-13 17:04:23 -08:00
Jack Yu
92203589f1 Added read phone state permission for getNetworkCountryIso
The slot based version of getNetworkCountryIso is a system API.
So it needs to be gaurded by permission.

Bug: 141646066
Test: Telephony sanity tests
Merged-In: I810ff0b77b93870ae3f62769977c7094789d0a5a
Change-Id: I810ff0b77b93870ae3f62769977c7094789d0a5a
(cherry picked from commit 105f65068c)
2019-12-13 15:20:21 -08:00
Automerger Merge Worker
ce8e50f787 Merge "Define ril request for enableUiccApplications." am: dcb71dfaad am: de79f5aa49
Change-Id: Iae84ee05e8a9607584af8b2d5f900ed41402305b
2019-12-13 22:44:15 +00:00
Automerger Merge Worker
1d4e3c0313 Merge "Do not use hidden API XmlUtils." am: 2626cc7089 am: 6f083ff661
Change-Id: I58879292c13eaefd4dd32eecb4599560337155a7
2019-12-13 22:36:00 +00:00
Xiangyu/Malcolm Chen
dcb71dfaad Merge "Define ril request for enableUiccApplications." 2019-12-13 22:32:34 +00:00
Brad Ebinger
000bec9fbe Move RCS UCE out of Telephony Mainline
Telephony Mainline does not interact with UCE,
therefore it should not be included as mainline.

Test: build taimen; build coral; manual test uce
Change-Id: I743228939e648689ff9e73d9af2ffb7b90feb3b2
2019-12-13 22:17:30 +00:00
Treehugger Robot
2626cc7089 Merge "Do not use hidden API XmlUtils." 2019-12-13 22:14:26 +00:00
Automerger Merge Worker
2254697a3f Merge "Telephony: do not use hidden API ArrayUtils." am: c6b5fbaf17 am: e8f1598321
Change-Id: Iec49ae0db1aee5614957a32f6d0a8cf5374597d3
2019-12-13 02:26:53 +00:00
Meng Wang
56c0ccecfc Do not use hidden API XmlUtils.
Make a local copy instead.

Bug: 137202333
Test: make
Merged-In: Ibcf7b23a8b6628aa482b34f867db57e4cb0dbb8e
Change-Id: Ibcf7b23a8b6628aa482b34f867db57e4cb0dbb8e
2019-12-12 17:16:01 -08:00
Meng Wang
e1df98d2e2 Telephony: do not use hidden API ArrayUtils.
Make a local copy instead.

Bug: 137202333
Test: make
Merged-In: I3218bca2d296c548b9d8427f70df8f7a33d0d449
Change-Id: I3218bca2d296c548b9d8427f70df8f7a33d0d449
2019-12-12 16:52:30 -08:00
Malcolm Chen
dd0cccb57f Define ril request for enableUiccApplications.
Bug: 141018421
Test: build
Change-Id: Ia071259a3de2bcf78e95e08017c5f207a4ed369a
Merged-In: Ia071259a3de2bcf78e95e08017c5f207a4ed369a
2019-12-12 16:50:10 -08:00
Meng Wang
925bdddc8b Move TelephonyUtils to base/telephony
Bug: 140908357
Test: make
Merged-In: Ie83253e2368256e74b687dc1e5f650bd047c2521
Change-Id: Ie83253e2368256e74b687dc1e5f650bd047c2521
2019-12-12 16:44:35 -08:00
Automerger Merge Worker
675c99fbe4 Merge "Add APN type XCAP" am: 7c03a80247 am: d74193446c
Change-Id: Ie74716546ce86dc951e411bff829c1f842cfc51e
2019-12-12 23:39:01 +00:00
Sarah Chin
66ebce9a50 Add APN type XCAP
Test: atest ApnSettingTest
Bug: 73792201
Change-Id: I662f743cca3c6b2f919d84cf0570f23a1f6d9791
Merged-In: I662f743cca3c6b2f919d84cf0570f23a1f6d9791
2019-12-12 11:55:47 -08:00
Automerger Merge Worker
5470dde3eb Merge "Remove hidden API usage PhoneConstants.SUBSCRIPTION_KEY/SLOT_KEY" am: b9d73629d1 am: 619a963c33
Change-Id: Ie8f8b58cf152b37600a585d9b0ecf9856c92427c
2019-12-10 22:10:57 +00:00
Automerger Merge Worker
19f573a89b Merge "Remove usage of IccCardConstants hidden APIs" am: b181ba61e2 am: b09b13cf38
Change-Id: I5a8974d8cd5d2af70996ec60eae924ddd435c840
2019-12-10 22:10:05 +00:00
Meng Wang
b9d73629d1 Merge "Remove hidden API usage PhoneConstants.SUBSCRIPTION_KEY/SLOT_KEY" 2019-12-10 21:53:26 +00:00
Jayachandran Chinnakkannu
b181ba61e2 Merge "Remove usage of IccCardConstants hidden APIs" 2019-12-10 21:31:17 +00:00
Meng Wang
4c18a3a5a6 Remove hidden API usage PhoneConstants.SUBSCRIPTION_KEY/SLOT_KEY
The two constants are hidden APIs and used as extra keys for a few
legacy broadcasts. No new external users are expected. So making a local
copy of them to keep backward compatibility, until the broadcasts are
removed in the future.

Also move ACTION_SUBSCRIPTION_PHONE_STATE_CHANGED constant out of
PhoneConstants since it's only used in TelephonyRegistry for backward
compatibility.

Bug: 140908357
Test: make
Change-Id: Ic7f15851377dcba5353dc6dade61b1dec96bcea5
2019-12-10 10:28:13 -08:00
Jack Yu
8a1b8baf0f Merge "CarrierConfigManager: Adds API for persistent override of values" am: 9be4d11abb
am: 52d95ed0ed

Change-Id: Ibbf4f327c266194fb74c508ab96ba3d199ca1ac9
2019-12-10 09:49:12 -08:00
Jack Yu
9be4d11abb Merge "CarrierConfigManager: Adds API for persistent override of values" 2019-12-10 17:35:20 +00:00
Neil Fuller
a1842da83a Merge "Remove broadcast of NETWORK_SET_TIMEZONE intent" am: 78b90b3a76
am: 1f641b3630

Change-Id: I4d0c201fc6af3826a4427da5bc162c10bef50641
2019-12-10 09:07:13 -08:00
Torbjorn Eklund
074e97d45e CarrierConfigManager: Adds API for persistent override of values
Adds an API in CarrierConfigManager for persistent override of carrier
config values.

Bug: 144544956
Test: Manual
Merged-In: I50618921d1ec522d5cd0bd71a5f8e0b1877f1ce1
Change-Id: I50618921d1ec522d5cd0bd71a5f8e0b1877f1ce1
2019-12-10 06:51:38 +00:00
Jayachandran C
316302c001 Remove usage of IccCardConstants hidden APIs
Expose the string IccCardConstants as system APIs
Use TelephonyManger.SIM_STATE_XXX for remaining

Bug: 145767148
Test: Build
Change-Id: I5711d783be8c8414b8f9d7baa80cb4224bd771aa
2019-12-06 16:06:12 -08:00
Neil Fuller
9a81291281 Remove broadcast of NETWORK_SET_TIMEZONE intent
android.intent.action.NETWORK_SET_TIMEZONE is not used by anything in
the platform so it can be removed. It was previously broadcast when
telephony made a time zone change, presumably as a way to coordinate
time zone detection logic if there were other, lower-priority detection
mechanisms on the device. The logic for time zone detection is now
centralized in the system server so coordination can be done more
directly when needed.

All the APK usages appear to be only manifest entries for
<protected-broadcast> in apps that don't send the intent themselves,
which doesn't make a lot of sense.

Note: There is a separate commit to remove the broadcast from the old
(disabled) NITZ logic.

Bug: 140712361
Test: treehugger
Change-Id: Iab629778e45815f4632359e90d920b7751c1a199
2019-12-05 13:09:19 +00:00
Shuo Qian
5202828d3c Merge "Move TelephonyPermissions to TelephonyCommon" am: c5f12f75e6
am: b00ee2e7fe

Change-Id: I5ae19d939d43b81520b1cd5f6039eb329c075e42
2019-12-04 13:35:14 -08:00
Shuo Qian
caf7ef3de8 Move TelephonyPermissions to TelephonyCommon
Test: built
Bug: 145554073
Change-Id: I3681043a197e6daeb16dcf506d672bdcf1fc8da8
Merged-In: I3681043a197e6daeb16dcf506d672bdcf1fc8da8
(cherry picked from commit fde53bb6f1)
2019-12-04 12:25:05 -08:00
Xiangyu/Malcolm Chen
603d7e7d89 Merge "Add System API to indicate whether physical SIM can be disabled." am: 454c0659a6
am: 0b2531862f

Change-Id: If6fe7eabcd6b2bd92c2b516e5083fb3cb558cb09
2019-12-04 11:48:20 -08:00
Xiangyu/Malcolm Chen
454c0659a6 Merge "Add System API to indicate whether physical SIM can be disabled." 2019-12-04 19:26:51 +00:00
Jack Yu
b496fd8765 Merge "Added sub id to SmsCbMessage" am: 258e925cd6
am: 35132f9a21

Change-Id: Ia2e5933ffc493c69efbac8da2ab993281e31867b
2019-12-04 09:47:53 -08:00
Jack Yu
29dfebb84c Added sub id to SmsCbMessage
Added a new field subscription id to SMS
cell broadcast message.

This is the preliminary step of deprecating
CellBroadcastMessage class.

Bug: 144891074
Test: Manual

Merged-In: I23f61e77f6a9a16ce77f7892ba96fd7485c555a4
Change-Id: I23f61e77f6a9a16ce77f7892ba96fd7485c555a4
(cherry picked from commit 750b8b1972)
2019-12-03 11:43:59 -08:00
Malcolm Chen
4c7c1b25e9 Add System API to indicate whether physical SIM can be disabled.
Bug: 133379187
Test: build
Change-Id: I764f344b0d430cb49ccccc9f402139ea32e70c92
Merged-In: I764f344b0d430cb49ccccc9f402139ea32e70c92
2019-12-02 11:40:05 -08:00
Shuo Qian
48dc60e388 Merge "Introduce APIs for Emergency Number Database version" am: 18fa446f44
am: 0a1aca082c

Change-Id: I4ef8daa35b46ef1e6159ae07b6d151ab27a5b8ba
2019-11-27 14:54:22 -08:00
Shuo Qian
18fa446f44 Merge "Introduce APIs for Emergency Number Database version" 2019-11-27 22:35:00 +00:00
Shuo Qian
217a388aef Introduce APIs for Emergency Number Database version
1) Test API to override file partition for testing
2) System API to notify Telephony Emergency Number database installation
 complete
3) Remove broadcast mechanism

Test: gts
Bug: 136027884

Change-Id: Ie2b0c390948c82ccbb94187a6ded9affd162f5ab
Merged-In: Ie2b0c390948c82ccbb94187a6ded9affd162f5ab
(cherry picked from commit 1b28fdd6dd)
2019-11-26 15:51:15 -08:00
Xiangyu/Malcolm Chen
0f2c3d963d Merge "Don't allow reading IMSI of one active sub if only has carrier privilege on the other." 2019-11-25 22:44:35 +00:00