Commit Graph

16203 Commits

Author SHA1 Message Date
Ling Ma
f752c1925e Add KEY_CAPABILITIES_EXEMPT_FROM_SINGLE_DC_CHECK_INT_ARRAY
Add KEY_CAPABILITIES_EXEMPT_FROM_SINGLE_DC_CHECK_INT_ARRAY to carrier
config, which indicates the capabilities that are exempt from the single
PDN rule.

Fix: 237550962
Test: atest + cts
Change-Id: Ie49f6274d8e780534e203d6d0a5ead4ed2f3cfa7
2022-08-29 13:31:28 -07:00
Sarah Chin
26756ac2a5 Merge "Update default for unset MTU v4" into tm-qpr-dev 2022-08-12 16:48:50 +00:00
Sarah Chin
90427e32ca Update default for unset MTU v4
The default was added in ag/16276490 and partially reverted in
ag/17950114. Update the default the correct value of 0 instead of -1.

Test: atest ApnSettingTest
Bug: 237602273
Change-Id: I06d5b40d93d4a3bce441756615cccbd02e1822f5
2022-08-10 14:50:01 -07:00
Jack Yu
d59d93d019 Merge "Supported UNKNOWN in IWLAN handover rule" into tm-d1-dev am: 2c6ac09bda
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19509981

Change-Id: Ief68ee442ce7a3404f4e5422f8e691448da441bf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-03 23:11:21 +00:00
Sarah Chin
d9ac485b1f Supported UNKNOWN in IWLAN handover rule
Extended handover rule to support the scenario that
handover should be blocked when source network goes
out of service.

Test: Basic testing + Wifi calling handover test + atest DataNetworkControllerTest
Bug: 234095834
Change-Id: I68c23f970af2a554ab438f630363be4591664cbb
2022-08-03 22:45:53 +00:00
TreeHugger Robot
ce91d5fe1d Merge "Initialize port list in UiccSlotInfo constuctor" into tm-qpr-dev 2022-07-19 19:58:20 +00:00
Sarah Chin
fecc3b1339 Merge "Update values for NR signal strength" into tm-qpr-dev 2022-07-18 23:43:07 +00:00
Sarah Chin
56c72708a8 Update values for NR signal strength
Ranges were the same as LTE values, which is incorrect.

Test: atest CellSignalStrengthNrTest
Bug: 234304714
Change-Id: I030c6aeec22556454955bb4f9671afe830bb9e2f
2022-07-17 23:26:39 -07:00
Andrew Solovay
2284913fec Merge "docs: Typo fix ("Poicly" -> "Policy")." into tm-dev am: c8cf6861e8 am: 8d0a26091b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19270053

Change-Id: I37452ac1a4f173564b32a6c1e0dd42812ec8bb50
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-14 22:59:46 +00:00
Andrew Solovay
8d0a26091b Merge "docs: Typo fix ("Poicly" -> "Policy")." into tm-dev am: c8cf6861e8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19270053

Change-Id: I8de208f366e245fe9de5b83c547c076c74bdc0e3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-14 22:35:39 +00:00
Andrew Solovay
8b7f68d4ef docs: Typo fix ("Poicly" -> "Policy").
Bug: 178958617
Change-Id: I0144af1f11f742d197aa38074b8c59be19cbdeb7
Test: (Built docs with go/abtd - go/abort-ui/run/L19100000955473218)
2022-07-13 23:44:51 +00:00
Michael Hoisie
02cc3745cb Initialize port list in UiccSlotInfo constuctor
UiccSlotInfo.getPorts() assumes a non-null port list. Ensure that the
port list is initialized in the (now deprecated) public constructor. If
it is initialized to null, and getPorts is called, an NPE will occur.

This came up in a setupwizard test that was using the UiccPortInfo
constructor and calling getPorts().

Test: setupwizard SlotsSelectionActivityTest

Bug: 238559684
Bug: 238444812

Change-Id: I0be45f4b55be196f94034f6eb26657202d50e32f
2022-07-10 22:07:07 +00:00
Chinmay Dhodapkar
8d71635489 Fix tts span on Editable
Make sure we clear any previously set TTS spans
before calling ttsSpanAsPhoneNumber.

Bug: 237511525
Change-Id: I89a4b190d9b8ebeeb19d0e693d1b1364b1ac9763
Test: on device test of blocked numbers with Talkback enabled
2022-07-08 17:14:30 +00:00
Aishwarya Mallampati
366cdaf821 Merge "Extract hostname if mMmsProxyAddress starts with http." into tm-qpr-dev 2022-06-14 15:11:30 +00:00
Amruth Ramachandran
886b084514 Merge "Revert "To read the Group UUID, the Caller must also have the US..."" into tm-dev am: 34cb65ba31 am: a2021dd5d2
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18800075

Change-Id: Ie9e65066cdfa4aa4c53fda6d5d06368453c88af0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-09 16:19:39 +00:00
Amruth Ramachandran
a2021dd5d2 Merge "Revert "To read the Group UUID, the Caller must also have the US..."" into tm-dev am: 34cb65ba31
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18800075

Change-Id: I7941ef268e477d93dd4a1cfc8bdb4f05f22b7d71
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-09 16:11:58 +00:00
Amruth Ramachandran
34cb65ba31 Merge "Revert "To read the Group UUID, the Caller must also have the US..."" into tm-dev 2022-06-09 15:43:14 +00:00
Hyosun Kim
afd162fac7 Revert "To read the Group UUID, the Caller must also have the US..."
Revert "To read the Group UUID, the Caller must also have the US..."

Revert "To read the Group UUID, the Caller must also have the US..."

Revert submission 17956544-group_uuid

Reason for revert: Bug: 235395006
Reverted Changes:
Iaa5493679:To read the Group UUID, the Caller must also have ...
Ic635126db:To read the Group UUID, the Caller must also have ...
Ia134265c2:To read the Group UUID, the Caller must also have ...

Change-Id: I286ebe8766b5cb975ee6e3536c966ef260b67627
2022-06-09 00:19:33 +00:00
Aishwarya Mallampati
c4ad2c4f59 Extract hostname if mMmsProxyAddress starts with
http.

Bug: 226279832
Test: atest
com.android.internal.telephony.dataconnection.ApnSettingTest#testBuild_mmsProxyAddrStartsWithHttp
Change-Id: I3cf4a23ab6d6f7f21116ec591b11ec1c8a798f51

Change-Id: Ic05c39c8c86294564e65c4d0ab0ee263abe03fb3
2022-06-03 16:52:14 +00:00
Ling Ma
59e996dd23 Minor update canHandleType()
Bug: 232632618
Test: manual
Change-Id: I5e1ca1361dfe04cd484e585f095aff0c5ff2579f
2022-06-02 20:43:46 +00:00
Chen Xu
d779fb845f Merge "Updating the error message for clear understanding of Deprecated methods. Test: manual Bug: 234089071" into tm-dev am: 399d8e96ff
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18620716

Change-Id: Ie1123936e1769b9681765bf335b34be0fbd20b38
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-27 21:12:19 +00:00
Chen Xu
399d8e96ff Merge "Updating the error message for clear understanding of Deprecated methods. Test: manual Bug: 234089071" into tm-dev 2022-05-27 20:53:12 +00:00
sandeepjs
3f140106e9 Updating the error message for clear understanding of Deprecated
methods.
Test: manual
Bug: 234089071

Change-Id: Ieba3a2e257c8f097dfcdc0c22abe7225ae5bed0c
2022-05-27 05:24:58 +00:00
Jack Yu
ccda49065b Merge "Traffic descriptor only data profile should be enabled" into tm-dev am: e55b0a1f17
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18567917

Change-Id: I12accca49ced1a57b037ac62c470a6e9737f8b2a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 16:09:16 +00:00
Jack Yu
d11b29cfe0 Traffic descriptor only data profile should be enabled
If a data profile only contains traffic descriptor, and has no
APN setting, it should be considered enabled.

Fix: 233557423
Test: Manual + atest DataProfileTest
Change-Id: Ied26cbba3bde8491bfd6299a2724fc2c5b26c026
2022-05-23 17:18:46 -07:00
Jack Yu
52f8907c1e Added a new fail cause
Added a new fail cause 0x3F which was added in
3GPP TS 24.008 release 15.3

Bug: 232757475
Test: Manual
Change-Id: Id14c2421f965beeb509ce73dd3d284ba8d1f6622
2022-05-16 20:21:42 -07:00
Amruth Ramachandran
843431d919 Merge "[MEP] set removable eSIM as default eUICC to pass GCF/PTCRB" into tm-dev am: 3e5894b2e8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18281725

Change-Id: I294b89447a925522dac6b6a1f177624e8984591a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-13 23:55:20 +00:00
Amruth Ramachandran
3e5894b2e8 Merge "[MEP] set removable eSIM as default eUICC to pass GCF/PTCRB" into tm-dev 2022-05-13 23:22:06 +00:00
Ling Ma
02e4ae490e Merge "Make registrationState consistent with RoamType in case of override" into tm-d1-dev 2022-05-13 16:51:52 +00:00
Shivakumar Neginal
b9d34ecb2f [MEP]Uncomment the EuiccManager switchToSubscription changes.
Currently targetSdk enforcement inside switchToSubscription
(without port) API is commented as apps such as tycho and CBRS
are not yet adopted to the new Android T APIs.

Test: Manually tested esim scenarios and atest executed
Bug: 221887933
Merged-In: I8faf9cf58db7c9204193643d4fa710d6d6608d55
Change-Id: I7b1897df2ff350ef43617c3ede140ef4beb83165
2022-05-13 12:40:10 +00:00
Ling Ma
5153e1b7cf Make registrationState consistent with RoamType in case of override
Bug: 231357778
Test: manual + atest frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/NetworkRegistrationInfoTest.java
Change-Id: Ibf74839f688df587d1f791795924a8152c52e3dc
2022-05-13 01:08:35 +00:00
TreeHugger Robot
91604b8ef0 Merge "Update API doc for accidentally exposed NETWORK_TYPE_BITMASK_LTE_CA" into tm-dev 2022-05-12 18:22:02 +00:00
Muralidhar Reddy
c78b316c02 [MEP] set removable eSIM as default eUICC to pass GCF/PTCRB
To support removable esim to pass GCT/PTCRB test in DSDS mode, we should make sure all the download/activation requests are by default route to the removable esim slot. In order to satisfy this use case, we should return removable esim cardId as default.

1. Add switch UI in RadioInfo hidden activity to set removable esim as default eUICC.
2. When switch is checked/unchecked, corresponding flag is set in UiccController and intent is broadcasted to LPA.
3. TelephonyManager#getCardIdForDefaultEuicc API returns removable esim cardId if switch is checked.

Bug: 228640832
Test: Manual verification (Verified intent broadcast is received at LPA and flag is set in the UiccController)
Change-Id: I1c3a77a8c76d53f1d88ac4bbd77c8dbadc8d7a74
2022-05-12 15:45:43 +00:00
Ling Ma
882677a1d5 Update API doc for accidentally exposed NETWORK_TYPE_BITMASK_LTE_CA
NETWORK_TYPE_BITMASK_LTE_CA is not used anywhere even if it's
accidentally passed into setAllowedNetworkTypesForReason(). Will be deprecated in U.

Fix: 230383206
Test: atest cts/tests/tests/telephony/current/src/android/telephony/cts/TelephonyManagerTest.java
Change-Id: Id0c521c4fb74eaf7d73deaf122e923f72b924c18
Merged-In: Id0c521c4fb74eaf7d73deaf122e923f72b924c18
2022-05-11 14:01:49 -07:00
Brad Ebinger
7fd1f11059 Ensure create/destroy is called properly for Capability Exchange API
We were mistakenly not calling the destroy API properly for Capability
Exchange API when the listener passed in was null. Instead we were calling
destroy -> create. This was causing us to call destroy -> create
over 4 times when switching SIMs.

Bug: 228278638
Test: manual PUBLISH verification on TMO, atest FrameworksTelephonyTests
Change-Id: If374f8306add45e60f64fa4031af31c8f448bb22
2022-05-10 16:55:50 -07:00
Brad Ebinger
f50f5235b0 Merge "To read the Group UUID, the Caller must also have the USE_ICC_AUTH_WITH_DEVICE_IDENTIFIER permission." into tm-dev 2022-05-09 21:17:45 +00:00
Kiwon Park
7742f48683 Merge "Populate carrier id in anomaly reports." into tm-dev 2022-05-09 14:49:23 +00:00
Brad Ebinger
455e490d94 Merge changes from topics "ATT-UCE 430", "fix-uce-430" into tm-dev
* changes:
  Clarify KEY_USE_TEL_URI_FOR_PIDF_XML_BOOL documentation
  add use_tel_uri_for_pidf_xml field for ATT-UCE 430
2022-05-06 23:57:31 +00:00
Brad Ebinger
6c48620315 Clarify KEY_USE_TEL_URI_FOR_PIDF_XML_BOOL documentation
Bug: b/229669620
Test: atest ImsCommonTests; manual validation of PUBLISH 200 OK
Change-Id: I18c6c6dc6683c13d354252b6df47f126cea3288c
2022-05-06 11:26:12 -07:00
Hyunho
d91518e463 add use_tel_uri_for_pidf_xml field for ATT-UCE 430
Add use_tel_uri_for_pidf_xml field for ATT-UCE 430
Set the added filed to false by defaut and true for ATT
If the field is true, get the first TEL URI from associated uris.

Bug: b/229669620
Test: PUBLISH - 200OK in the live network
Test: Set SIP and TEL URI to assoicated uris. Check whether the URI of the desired scheme is read according to the field value.
Change-Id: I5751c94904734514faf5b4c3c1545c40ed6e7dd5
Merged-In: I5751c94904734514faf5b4c3c1545c40ed6e7dd5
2022-05-06 10:24:07 -07:00
Ling Ma
4ef05d5026 Add dataFailCause existence check
Fix: 231530653
Test: manual
Change-Id: I7409e40a7b5c1468112938f663c37508a4f3b1f0
2022-05-05 18:39:36 -07:00
Kiwon Park
9e41ab3c4b Populate carrier id in anomaly reports.
Test: statsd_testdrive
Bug: 188462677
Change-Id: Id3859dad6a64be61d38865562887879878d08af9
2022-05-05 23:29:58 +00:00
Joonhun Shin
f1c5479dab Merge "Update Api docs for ProvisioningManager#get[Rcs]ProvisioningStatusForCapability and is[Rcs]ProvisioningRequiredForCapability." into tm-dev 2022-05-04 07:47:51 +00:00
joonhunshin
1edf7832ec Update Api docs for
ProvisioningManager#get[Rcs]ProvisioningStatusForCapability and
is[Rcs]ProvisioningRequiredForCapability.

Update Api docs for
ProvisioningManager#get[Rcs]ProvisioningStatusForCapability will always return true when device does not support Ims feature.
is[Rcs]ProvisioningRequiredForCapability will always return false when
device does not support Ims feature.

Bug: 230553696
Test: just update Api docs

Change-Id: I050955d8ea8212199ed0f2758a192fa6255dab53
2022-05-03 23:02:31 +00:00
hyosun
2452a35a12 To read the Group UUID, the Caller must also have the USE_ICC_AUTH_WITH_DEVICE_IDENTIFIER permission.
If the app has only the READ_PHONE_STATE permission, it can no longer read the group UUID. When SubscriptionManager#getSubscriptionsInGroup is called, check if the caller has the USE_ICC_AUTH_WITH_DEVICE_IDENTIFIER permission.

Bug: b/213902861
Test: atest SubscriptionManagerTest, SubscriptionControllerTest
Test: Manual
1. Install app-debug.apk from comment#9
2. Enter the group uuid from comment#3
3. Check securityException has occurred.

Change-Id: Iaa54936797204f9b2ed2ad7f63b8b6d7b71116f2
2022-05-03 10:15:40 +00:00
Kiwon Park
a5fa37dd1b Log TelephonyAnomalyDetected event from AnomalyReporter
Bug: 188462677
Test: inspected atoms after triggering anomaly
Change-Id: Ic3d8a6fd5c7942214278ea8812dffd8c5b8362a3
2022-04-27 21:54:25 +00:00
Jack Yu
1d470caabb Fixed the incorrect APN dedupling
Fixed that APN settings can't be merged when one APN
entry has MTU set, but the other doesn't. Also default
MTU unset value to 0 for backwards compatability.

Test: atest DataProfileManagerTest & Manual testing
Fix: 226563054
Change-Id: I02190be62855f5f3b86c41677bbf7ff6a362e652
2022-04-26 12:23:24 -07:00
Hakjun Choi
79a5053197 Reinforce comments for newly added provisioning keys
changing mmtel_requires_provisioning_bundle requires changes to
carrier_volte_provisioning_required_bool and vice versa

Bug: 229935282
Test: N/A, add simpl comment
Change-Id: I38dee512f3fc98f94b49e300860617ec54c52832
2022-04-22 00:58:01 +00:00
TreeHugger Robot
82e82e1479 Merge "Correct Typo on Provision Refactor per API review" into tm-dev 2022-04-20 07:38:36 +00:00
Sooraj Sasindran
92d7217fd0 Merge "Fix signal threshold boundaries for NR" am: 865dcdbfb0 am: 76a9680291 am: 89c5ba1424
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2018775

Change-Id: I4c0a45cb012b3b76ea31287a05c3844686bed9b2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 04:35:02 +00:00