Commit Graph

16183 Commits

Author SHA1 Message Date
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
Hakjun Choi
e026d4c179 Correct Typo on Provision Refactor per API review
1) FeatureProvisioningCallback become abstract, which has empty impelemtation to override
2) Remove unnccessary {} from @hide
3) fix wrong comment for KEY_CARRIER_VOLTE_PROVISIONED_BOOL
4) move public interface RcsImsCapabilityFlag and it's component constants from RcsFeature to public class ImsRcsManager, and restore RcsFeature as SystemApi class
  set as @deprecated for RcsImsCapabilityFlag in RcsUceAdapter, which has duplicate in ImsRcsManager.

Bug: b/219985687
Test: CTS/ImsServiceTest, UnitTest/ImsProvisioningControllerTest

Change-Id: Iea386922f0377e01582fdb6547d60126d0bf1e8d
Merged-In: Iea386922f0377e01582fdb6547d60126d0bf1e8d
2022-04-20 02:33:05 +00:00
Sarah Chin
afc39ef1ae Don't send null data call list response
Test: atest DataServiceCallbackTest
Bug: 223473056
Change-Id: I2919fff4abe1ccc234ae2b5d45582eadce440986
2022-04-18 11:56:53 -07:00
Sooraj Sasindran
865dcdbfb0 Merge "Fix signal threshold boundaries for NR" 2022-04-18 17:22:03 +00:00
Thomas Stuart
5f90df8325 Merge "route dial out strings to the same number based on service state" into tm-dev 2022-04-13 22:07:01 +00:00
Sarah Chin
093e539226 Merge "Make PCC indication logic consistent between HIDL and AIDL" into tm-dev 2022-04-13 17:40:09 +00:00
Sarah Chin
71af19fe33 Make PCC indication logic consistent between HIDL and AIDL
Test: atest PhysicalChannelConfigTest
Bug: 228909053
Change-Id: Ib1045aafe5e59cb1a6545612d87514929e60b6a6
2022-04-12 15:52:10 -07:00
Thomas Stuart
5c0227d733 route dial out strings to the same number based on service state
VZ network noticed that 611 and *611 were dialing different
numbers that are meant for IVR when the phone service state
was the same(e.g ROMAING_DOMESTIC).  This is not the intended
behavior and the dial out string should be routed to the same
number remapping which is based on the service state. Dialer
handled this before but at some point stoppped.

A new carrier config bundle has been added to account for the
service state ROAMING_TYPE_INTERNATIONAL.

bug: 211116126
Test: 2 unit tests,
      manually tested by
          (1) setting the phone in Roaming
          (2) Overidding Country code
          (3) settings carrier config bundles
          (4) placing calls and asserting the
              correct devices were called.

Change-Id: I1ecacd33b12c98ed5dc43e0cf8e88395f98f2a22
2022-04-12 22:04:55 +00:00
TreeHugger Robot
217edfa93b Merge "SIM slot not available error code added to UpdateAvailableNetworksResult" into tm-dev 2022-04-12 09:49:49 +00:00
Shivakumar Neginal
9d37dae0dd Merge "[eSIM] Get sim state for active port index instead of DEFAULT_PORT_INDEX 0." into tm-dev 2022-04-11 05:22:22 +00:00
Jack Yu
c29f0720f0 Fixed lingering network bitmask not set issue
If lingering network bitmask is not set, we should
fallback to the network type bitmask.

Fix: 223159318
Test: atest DataNetworkControllerTest & manual
Change-Id: Iacfb84e57104cd12665ab4fb4e388f4876fdfcea
2022-04-09 13:20:22 -07:00
TreeHugger Robot
e821fd3069 Merge "Improved data fail cause debug message" into tm-dev 2022-04-09 06:50:11 +00:00
Sungcheol Ahn
5c357d2c82 Merge "[Telephony] added VOWIFI_TTY_SUPPORTED key on CarrierConfig" into tm-dev 2022-04-08 21:55:54 +00:00
Jack Yu
81ab8c73c1 Improved data fail cause debug message
Test: Manual
Fix: 228611718
Change-Id: Ic3a5a64a4e57ed49dd4445ff31018b78e833f73f
2022-04-08 10:48:07 -07:00
Evan Laird
035a025262 Merge "Show 4G LTE and 4G LTE+ data connection type" am: c5fbfeb8f5 am: aad97149d8 am: 6000d95598
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1934942

Change-Id: If1c2aa050430daec1e1f8658de64527fecf7f0fd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 16:06:39 +00:00
Evan Laird
c5fbfeb8f5 Merge "Show 4G LTE and 4G LTE+ data connection type" 2022-04-08 15:05:57 +00:00
Hui Wang
3fda2bf279 Merge "Do not cache the resource if the active sub info is null" into tm-dev 2022-04-08 14:03:26 +00:00
Shivakumar Neginal
89d5931436 [eSIM] Get sim state for active port index instead of DEFAULT_PORT_INDEX 0.
MEP device port 0 might not be active(no valid logical slot index).Instead we should find any active port to check the card state.

Bug: 228407530
Test: manual, atest FrameworksTelephonyTests
Change-Id: Ib7fcc345431473a2d95a82fa827f11928aa58fc4
2022-04-08 13:16:31 +00:00
donaldahn
3486c1d346 [Telephony] added VOWIFI_TTY_SUPPORTED key on CarrierConfig
Bug: b/202966224
Test: TMUS-TTY Call on wifi with O6(oriole) device in Kansas
Test: Volte/WFC dial and disconnect basic test
Change-Id: Iebd16f5fe88c16bc11006e660b7efef391154ae2
2022-04-08 05:53:30 +00:00
TreeHugger Robot
1a3b4ca6f8 Merge "Make sure mms proxy is hostname" into tm-dev 2022-04-08 03:04:25 +00:00
Aishwarya Mallampati
2e894a2754 Merge "Revert "VoWifi notification for emergency calls"" into tm-dev 2022-04-08 00:46:32 +00:00