Commit Graph

10346 Commits

Author SHA1 Message Date
Brad Ebinger
5bbee4a0bb Merge "Define FEATURE_TELEPHONY_IMS_SINGLE_REGISTRATION feature" am: 8cb6d95803 am: a30ce7ea41
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1564832

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If16559974e91b7d231485b8e73416289f629a553
2021-02-04 01:28:37 +00:00
Brad Ebinger
8cb6d95803 Merge "Define FEATURE_TELEPHONY_IMS_SINGLE_REGISTRATION feature" 2021-02-04 00:38:15 +00:00
Treehugger Robot
6d47e1ade5 Merge "NetworkRegistrationInfo: add Parcel recycle" am: 9b899f7253 am: fbfe84846e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1569100

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I09bbf36ee9b527fc610f01e557d44ed5c1d3df1b
2021-02-03 19:55:58 +00:00
Treehugger Robot
9b899f7253 Merge "NetworkRegistrationInfo: add Parcel recycle" 2021-02-03 18:31:07 +00:00
Sarah Chin
5becb8f399 Merge "Temporary fix to prevent TEMPORARILY_NOT_METERED leak" 2021-02-02 22:58:01 +00:00
Jack Yu
ad5413f724 Temporary fix to prevent TEMPORARILY_NOT_METERED leak
Currently we are seeing TEMPORARILY_NOT_METERED occurs on non-5G
devices. This fix adds more checks to prevent incorrect
TEMPORARILY_NOT_METERED being set. Before we root cause the issue,
we only allow this bit when all of the following conditions met.

1. Devices should support 5G.
2. Carriers should support 5G unmetered data.
3. Device should camp on 5G network.

This temporary fix should be removed after we root cause the issue.

Bug: 176119724
Test: Manual
Change-Id: I2b987d24851cdb16d8457b0ec5c546ace5485ed0
Merged-In: I2b987d24851cdb16d8457b0ec5c546ace5485ed0
2021-02-02 13:44:33 -08:00
Brad Ebinger
e053159612 Merge "Add SIP configration Bundle keys for UA and CNI" am: 5c389e2507 am: d1a4eec020
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1567734

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If4cf04ca73239f84644edb654b6dc937505570ea
2021-02-02 19:05:07 +00:00
Brad Ebinger
5c389e2507 Merge "Add SIP configration Bundle keys for UA and CNI" 2021-02-02 17:53:18 +00:00
Steven Moreland
87326e0f88 NetworkRegistrationInfo: add Parcel recycle
~580 hits on cuttlefish boot

Bug: 139327211
Test: boot w/ Parcel.java DEBUG_RECYCLE
Change-Id: I20b7c8865c3ab1f562dfa9f19039f08cef8f0f7d
2021-02-02 02:18:56 +00:00
Brad Ebinger
c28d5844dd Add SIP configration Bundle keys for UA and CNI
Adds IMS SIP configuration bundle keys for User-Agent and
Cellular-Network-Info headers required by some networks.

Bug: 178606181
Test: atest CtsTelephonyTestCases:SipDelegateManagerTest
Change-Id: I389162ca0c6348580f6ee8bb6ce5ee3a4e84595e
2021-02-02 00:53:02 +00:00
Daniel Bright
a9ec691601 Merge "Partial hal support for secondary link bandwidth" am: bed5f6e84d am: 3504c8c759
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1565115

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I95842d0e704aa3ddf0e0f9c19b411fa93a64e402
2021-02-02 00:30:49 +00:00
Daniel Bright
bed5f6e84d Merge "Partial hal support for secondary link bandwidth" 2021-02-01 22:48:44 +00:00
Brad Ebinger
33437bd046 Define FEATURE_TELEPHONY_IMS_SINGLE_REGISTRATION feature
Define a new feature that determines if a device supports IMS
single registration and integrate this feature tag into the
SIP transport and provisioning APIs.

Bug: 149426399
Bug: 173715911
Test: atest CtsTelephonyTestCases FrameworksTelephonyTests
Change-Id: Id9ac6a3a69be2072cf28136e98408118b7d9f07f
2021-02-01 21:27:41 +00:00
Treehugger Robot
770d0c072b Merge "Throw IllegalStateException to fail fast in IMS" am: 7bbf421612 am: 0fb9491c10
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1559442

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I34b60fc181da390079ea86648d45730917fba468
2021-01-29 22:22:07 +00:00
Daniel Bright
db95bcf851 Partial hal support for secondary link bandwidth
* Added modemReducedFeatureSet1 flag to HalDeviceCapabilities
* Applied flag to secondary link bandwidth getters in carrier bandwidth

Test: cts
Bug: 173806995
Change-Id: I5dd23812fe72b751ab29459111d0bc8f6cc63e39
Merged-In: I5dd23812fe72b751ab29459111d0bc8f6cc63e39
2021-01-29 11:30:43 -08:00
Treehugger Robot
7bbf421612 Merge "Throw IllegalStateException to fail fast in IMS" 2021-01-28 23:59:11 +00:00
Jiashen Wang
06bca1be6c Merge changes from topics "downloadable_init_change_1", "downloadable_init_change_2" am: f2193be3f0 am: 7556b81f80
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1562763

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I16864675dc1a3bfa6b257bf5ba52ea3fe2f86658
2021-01-28 21:32:34 +00:00
Jiashen Wang
d27f188913 Init DownloadableSubscription with Confirmation Code am: 738abf603a am: bff8fecf85
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1562762

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I109155dfb8d744804a20ace7cb6a64e5f95faa53
2021-01-28 21:32:31 +00:00
James Lin
108a1933ca Merge "Expose the RCS UCE APIs for capabilities request with presence mechanism." am: 4548fab7d6 am: 795855ec7b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1550598

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If010dd634828edb03ecb115c7cdc42f3faade053
2021-01-28 21:06:35 +00:00
Jiashen Wang
bff8fecf85 Init DownloadableSubscription with Confirmation Code am: 738abf603a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1562762

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I173c211b77821f0f807287c44ebfdf2aa626f653
2021-01-28 20:58:49 +00:00
Jiashen Wang
f2193be3f0 Merge changes from topics "downloadable_init_change_1", "downloadable_init_change_2"
* changes:
  Do now throw exception when activation code is empty
  Init DownloadableSubscription with Confirmation Code
2021-01-28 19:53:49 +00:00
James Lin
4548fab7d6 Merge "Expose the RCS UCE APIs for capabilities request with presence mechanism." 2021-01-28 19:35:54 +00:00
Jiashen Wang
68418a0147 Do now throw exception when activation code is empty
Bug: 169276772
Test: 13352325
Change-Id: Ia8fd0ab98c33d1e30b4fce1bad53b1c628364725
Merged-In: Ia8fd0ab98c33d1e30b4fce1bad53b1c628364725
2021-01-27 17:05:37 -08:00
Jiashen Wang
738abf603a Init DownloadableSubscription with Confirmation Code
Currently carrier apps are not able to pass the confirmation code along
with the downloadable subscription because carrier apps do not have the
permission to set the CC. So carrier apps have to rely on LUI's scree
for entering the confirmation code. In order to make the process more
flexable for carriers, we decided to add a method to initialize a
Downloadable Subscription with the confirmation code.

Test: ag/13028582
Bug: 169276772
Change-Id: Icfa8b0f5b1699d24d8e39c3297ed25c7d1607739
Merged-In: Icfa8b0f5b1699d24d8e39c3297ed25c7d1607739
2021-01-27 16:30:25 -08:00
Daniel Bright
50d149ecc6 Merge "Add S-NSSAI" am: d7d4b0ca85 am: 97f11a3ab2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1560540

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia91f2b4ad353e8bab68e01a857d3387e4b5a4c00
2021-01-27 21:54:13 +00:00
James.cf Lin
daaf205e18 Expose the RCS UCE APIs for capabilities request with presence mechanism.
The contact's capabilities request APIs are exposed to be the SystemAPI and add the CTS for these APIs.

Build: 174656329
Test: atest -c CtsTelephonyTestCases:android.telephony.ims.cts.RcsUceAdapterTest
Change-Id: Id8a3be587f200dfee8f7c6343ed771e7ac738568
2021-01-28 02:59:30 +08:00
Daniel Bright
d7d4b0ca85 Merge "Add S-NSSAI" 2021-01-27 18:48:54 +00:00
Brad Ebinger
a9444a8ef6 Throw IllegalStateException to fail fast in IMS
Fail fast by throwing an IllegalStateException in IMS
rather than creating potential subtle bugs where listeners
overwrite each other.

Bug: 175810194
Test: atest FrameworksTelephonyTests ImsCommonTests
Change-Id: Ib1fc7d6120244df3649fa2afe5b3f738deea597c
2021-01-27 00:02:25 +00:00
Hall Liu
bd4e78b072 Merge "Correct name of roaming RTT config" am: b6622aeeb6 am: a083efc121
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1560151

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5565934a33c55dfaec1e2cf2f1192ae41f97ddb5
2021-01-26 23:11:09 +00:00
Hall Liu
7f159d477f Merge "Allow carriers to configure RTT while roaming" am: 923d7d28d0 am: 36e819d95f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1558908

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I43ecce89c03cb33969f489c082684d3c5c0e56a3
2021-01-26 23:03:30 +00:00
Hall Liu
b6622aeeb6 Merge "Correct name of roaming RTT config" 2021-01-26 22:26:56 +00:00
Daniel Bright
dd7a9031eb Add S-NSSAI
* Added support for S-NSSAI
* Created SliceInfo that represents a S-NSSAI as defined in
  3GPP TS 24.501.
* Added slice info to setupDataCall and DataCallResponse within
  DataService related classes

Bug: 169960538
Test: made ims phone call
Change-Id: I8f136937f127ff14fedd790526544d5775010da8
Merged-In: I8f136937f127ff14fedd790526544d5775010da8
2021-01-26 13:53:58 -08:00
Hall Liu
7a18070979 Correct name of roaming RTT config
Add _bool to the end

Bug: 168676696
Test: manual
Change-Id: Ifa14d742d40a585ecc1e041088f49aa5d13df07b
2021-01-26 10:51:11 -08:00
Jordan Liu
b5dab85753 Merge "Add carrier config for carrier key" am: 11dff58d5e am: b24ba046ee
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1556751

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8508d94fe93bca5034259926a7c60a05d6bc2990
2021-01-26 00:05:48 +00:00
Allen Su
3d996ba7b5 Merge "[RCS]Add getEncodedMessage() in SipMessage.java" am: 725e04e4f1 am: d5253e5321
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1554295

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic6272bf2debe4430ac9cde2e2a7a85f7f943ee62
2021-01-26 00:04:54 +00:00
Hall Liu
923d7d28d0 Merge "Allow carriers to configure RTT while roaming" 2021-01-25 23:03:02 +00:00
Jordan Liu
11dff58d5e Merge "Add carrier config for carrier key" 2021-01-25 18:52:10 +00:00
Allen Su
725e04e4f1 Merge "[RCS]Add getEncodedMessage() in SipMessage.java" 2021-01-25 18:10:11 +00:00
Hall Liu
d20b2a013b Allow carriers to configure RTT while roaming
Add a carrier config key that makes RTT supported even if roaming.

Fixes: 168676696
Test: manual
Change-Id: Ied2418cdec57d2d405d4ed0f0227a251ecd626cf
2021-01-22 16:16:23 -08:00
Jordan Liu
60173db15f Add carrier config for carrier key
Give carriers the option of including a backup IMSI encryption key as a
carrier config.

Bug: 175801497
Test: manual and atest TelephonyManagerTest
Change-Id: I89d88daf2022672bf27125baae0247b75638bb6e
Merged-In: I89d88daf2022672bf27125baae0247b75638bb6e
2021-01-22 15:22:44 -08:00
Daniel Bright
fa78c56da8 Merge "Add Radio Interface Capabilities" am: e44156cfd6 am: c24ad90810
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1522306

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I18cccffb56b7c6fd1c056075c914634235457722
2021-01-22 20:58:28 +00:00
Daniel Bright
e44156cfd6 Merge "Add Radio Interface Capabilities" 2021-01-22 19:08:21 +00:00
Chalard Jean
cc08384548 Merge "Add Qos Callback support" am: 8e39c04b56 am: d52695827d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1386623

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1d07d8e5bd5e0a40df7d7fa276bf0c1fed500ed1
2021-01-22 14:17:50 +00:00
Daniel Bright
2cc8ead3d6 Add Qos Callback support
* Provide App Developers Qos related info associated to
  a bound socket through ConnectivityManager
* Qos sessions are generated and filtered by Network Agents
  and sent back through the Connectivity Service to the
  API consumer.
* The structure of the code within com.android.server
  is designed to support different types of filters in the
  the future.
* The first type of Qos Attributes are related to EPS
  Bearers in order support RCS.

Bug: 155176305
Test: Added to cts/NetworkAgentTest
Test: Added to ConnectivityServiceTest
Change-Id: I145dd065d9deeee449eb9695ab3f6c8556ee7c09
2021-01-21 20:14:52 -08:00
Sarah Chin
871566afab Merge "Update TelephonyDisplayInfo docs" am: a906fd5e14 am: 90b6c9def0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1557000

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie9e12f5e374fd29601182e8b99250a91933a2556
2021-01-21 23:34:25 +00:00
Daniel Bright
fa862bc4aa Add Radio Interface Capabilities
* Introduces a set of capabilities specific for the radio interface
that are determined by the vendor and are then surfaced through
TelephonyManager.
* There are no capabilities yet defined and will come later in S

Test: Added cts, ran cts, and telephony tests
Bug: 163085807
Merged-In: I56713e05cbd5200baa2a3bc79f7f4b0d580ad2a1
Change-Id: Icbbfa056dc5280acdf53c142742f4e4b8d60229e
2021-01-21 14:35:44 -08:00
Sarah Chin
96bba0f57a Update TelephonyDisplayInfo docs
Explain how to get TelephonyDisplayInfo through TelephonyManager and
PhoneStateListener

Test: build
Fix: 158760752
Change-Id: Ia59efcf68c77d79be1a223f9fd6cbf3ec333478a
Merged-In: Ia59efcf68c77d79be1a223f9fd6cbf3ec333478a
2021-01-21 13:11:16 -08:00
Nathan Harold
66a873b567 Merge "Revert "Revert "Fix permission on TM#isDataEnabled""" am: 2b79ba7f42 am: 47e1305bd6
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1543459

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5fb6ff5923d029b367c754759f7b7deca7a63dfe
2021-01-21 19:31:21 +00:00
Rambo Wang
52c1eb1ace Merge "Support new APIs in TelephonyManager to set/clear signal update request" am: 32c30af109 am: da259eccfa
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1532512

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2f47ec228c940bcf91ed93e078da137a713ee8c0
2021-01-21 19:31:00 +00:00
Jack Yu
880c028103 Merge "Enabled TEMP_NOT_METERED support for carriers" into rvc-qpr-dev-plus-aosp 2021-01-21 19:12:54 +00:00