aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-10-20Merge cherrypicks of ['googleplex-android-review.googlesource.com/24628058'] ↵android-14.0.0_r27android-14.0.0_r26android-14.0.0_r25android-14.0.0_r24android-14.0.0_r23android-14.0.0_r22android-14.0.0_r21android-14.0.0_r20android-14.0.0_r19android-14.0.0_r18android-14.0.0_r17android-14.0.0_r16android14-qpr1-s2-releaseandroid14-qpr1-releaseAndroid Build Coastguard Worker
into udc-qpr1-release. Change-Id: Ie15cc5029b9dd0095a0e20730103448b534119f0
2023-10-20DO NOT MERGE Add helper method in phone to get new carrier config key.Tyler Gunn
Also, add method to return all emergency numbers that have the specified number. Test: See other cls for actual tests. Bug: 281934614 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e0aee3c0c0957612c7cded4c880c823ef17eb7e3) Merged-In: I25f627fdadcbc512e045302a5ba52e3ed8a89cbc Change-Id: I25f627fdadcbc512e045302a5ba52e3ed8a89cbc
2023-10-17Merge cherrypicks of ['googleplex-android-review.googlesource.com/24816916'] ↵Android Build Coastguard Worker
into udc-qpr1-release. Change-Id: Ib2387bd699b2c9291f0a02098c3157e0dcdde69a
2023-10-17Only set the vonr setting when sim state loadedGary Jian
Bug: 299569758 Bug: 301525730 Test: 1. e911 is established successfully in the pin lock state when device restarts in 5GSA only network 2. Ensure the VoNR setting only be updated to modem when sim loaded 3. Sanity test for 5G functions - Internet data in 5G regression = pass - 5G with VONR and voice call = pass - 5G without VONR and voice call = pass - Regular SMS and MMS regression = pass (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:fd9dac061bbb4df59197ee4d02c33cc069ef0f63) Merged-In: Id0bd0ac0916332a4f95a056de3c47acc888a9a20 Change-Id: Id0bd0ac0916332a4f95a056de3c47acc888a9a20
2023-09-23Snap for 10850711 from f4383bd6c5a347c997f570b90eac49bbcbd157b2 to ↵Android Build Coastguard Worker
udc-qpr1-release Change-Id: I2d4b931c01e92d194fceb190b9fe05aa05ff3bcc
2023-09-22Add isDataEnabled field.Rafael Higuera Silva
Bug: 296298235 Test: make, manual, atest com.android.internal.telephony.metrics Change-Id: Ib39152c3801ae61ad681c73fee4474100f6623c0 Merged-In: Ib39152c3801ae61ad681c73fee4474100f6623c0
2023-09-19Snap for 10832001 from b70e9811eebc4a32ba15220d17dd926b601de875 to ↵Android Build Coastguard Worker
udc-qpr1-release Change-Id: I48fa4021d0b835639f8e7ab375a42c3754a0dfba
2023-09-19Merge "Control ratcheting logic based on carrier config" into udc-qpr-devSarah Kim
2023-09-16Snap for 10817717 from c82807bb2101da999a5a7a7ed91b82f0741f1481 to ↵Android Build Coastguard Worker
udc-qpr1-release Change-Id: Ibec8eb544ac80b7d17eea0878a046ad3071ba207
2023-09-15Merge "Delay data switch untill call alerting" into udc-qpr-devTreehugger Robot
2023-09-15Delay data switch untill call alertingLing Ma
For emergency call placed on non-DDS when APM is on, modem expects an order of commands: first the emergency call, then dds switch. If the order were reversed due to race condition, modem will abort the emergency call. The change exclude the Dialing call state as the switch trigger, to give modem time to deal with the EMC first. Fix: 298291981 Fix: 284412852 Fix: 299585246 Test: Verified at b/298291981#comment82 Test: Daily test verified in b/299355154#comment5 Change-Id: Ia200072a44d6141ab4830d2143ae0483fa653856
2023-09-15Merge "Add local logs for cell broadcast" into udc-qpr-devHui Wang
2023-09-14Snap for 10810697 from 4bc5d08b3f004031c25b60b76919f0f99d404c63 to ↵Android Build Coastguard Worker
udc-qpr1-release Change-Id: I019808ca073cdcbcb4aefaab3d2357d7135fda30
2023-09-13Merge "Update matchAllRuleAllowed flag condition" into udc-qpr-devTreehugger Robot
2023-09-13Update matchAllRuleAllowed flag conditionLing Ma
To satisfy LTE/NR private networks where both APN name and traffic descriptor are empty. Fix: 291528906 Test: manual phone call + data browsing Test: reporter verified at b/291528906#comment126 Test: daily test b/296088621 Change-Id: I01bf371038393b08382a8924aeecfc089ed17718 Merged-In: I01bf371038393b08382a8924aeecfc089ed17718 (cherry picked from commit b19759ba57196cf312c704e5d50c863a96b2eca9)
2023-09-12Snap for 10797983 from 9550ecc57f1133ec6aa396d3c04124ae8e1e5ad2 to ↵Android Build Coastguard Worker
udc-qpr1-release Change-Id: Ie7f1b194365ebda6c163c6c1cce82d02cf693fe7
2023-09-12Merge "Profile is getting activated on wrong portIndex" into udc-qpr-devMuralidhar Reddy Mule
2023-09-07Control ratcheting logic based on carrier configSarah Chin
If the carrier config is true, ratchet the PCC fields if the anchor NR cell is the same. If the carrier config is false, don't ratchet and update the PCC fields directly. Test: atest NetworkTypeControllerTest Test: manual basic functionality tests and verify no regressions Bug: 294088690 Bug: 297307822 Change-Id: Ife801046607c8c931b1f2959c434dfee0f458e40
2023-09-05Profile is getting activated on wrong portIndexMuralidhar Reddy
PortIndex retrieval has issue during resolving resolvable errors which is causing to set default port index(i.e 0) always. Modified to retrieve the port index only in case of NO_PRIVILEGES action and extras bundle has the port index value. Bug: 294988914 Test: Manually verified during slow switching between P+E <-> E+E, b/298970620 Test: atest FrameworksTelephonyTests Change-Id: I705c55fdccaf0d6a34252d4ab0a66df804840e32
2023-08-30Snap for 10739918 from a39737ec213e5c87d7d3b5e63df2ce7ebff75784 to ↵Android Build Coastguard Worker
udc-qpr1-release Change-Id: I7ec3e379252fa5ed1f554076dd6ce34ad39f2842
2023-08-30Update cardId for downloaded embedded profile am: 8cb57e7d8eMuralidhar Reddy
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/24444269 Change-Id: Ibfb152d37eacb8cde4eda9510b74a871b1df27f1 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-29Snap for 10732685 from e175b76d4bc6638bf73743b27ee0a799d9c60234 to ↵Android Build Coastguard Worker
udc-qpr1-release Change-Id: Iba4b17f1596d5a1418f6f0ca9fea0b3c3884f12a
2023-08-29Update cardId for downloaded embedded profileMuralidhar Reddy
Embedded profiles should contain proper cardId so that calling apps can make sure to create correpsonding EuiccManager object. Basic sanity test: b/296263368 Verified esim use cases: 1.OOBE->Welcome screen-> Continue SUW -> Sim Missing page -> Download esim&Activate -> eSIM is activated and cardId is proper. 2.Settings -> SIMs-> Add SIM ->Download 1 profile -> Download is success & cardId is proper 3.Settings -> SIMs -> Add SIM ->Download 2nd profile -> Download is success & cardId is proper -> LPA sends notification to SM-DP+ server -> success 4.Settings -> SIMs -> Activate SIM1 -> Activate SIM2 -> Success -> 5.Settings -> SIMs -> Disable SIM1 -> Disable SIM2 -> Success 6.Settings -> SIMs -> Delete SIM1 -> Delete SIM2 -> Success -> LPA sends notification to SM-DP+ server -> success Test: Manual verification on P8 and atest FrameworksTelephonyTests Bug: 287549981 Merged-In: Ic5066305ab12f829e04724f41f3f5eec4d5f815c Change-Id: Ic5066305ab12f829e04724f41f3f5eec4d5f815c
2023-08-26Snap for 10719298 from 13cbe364c8a32d473238e14af538fc777d1547c8 to ↵Android Build Coastguard Worker
udc-qpr1-release Change-Id: I05c8c05fc4f2243ef3dc31b514821996aad93904
2023-08-25Update bandwidth threshhold for NR advancedSarah Chin
Bandwidth threshhold for NR advanced should be inclusive Test: atest NetworkTypeControllerTest Test: basic sanity tests Bug: 297102081 Change-Id: Iefcb05817d746714b5b397188ccf4ff60bb9bb93
2023-08-23Fix NR advanced logic for NR NSASarah Chin
Fix the regression introduced by ag/24136943 where NR physical channel config with NR advanced bands would not display the 5G advanced icon for NR NSA (LTE primary serving cell). Test: atest NetworkTypeControllerTest Test: manual test no regression for data icon Bug: 295619889 Change-Id: I70e464308f5416e7e7db982447c7ffd83ecd5c12
2023-08-12Snap for 10650928 from 7dd7dc87c21f689fca40408e918118652b334cf9 to ↵Android Build Coastguard Worker
udc-qpr1-release Change-Id: I09b01c92341f3f970557933ee8abc945545f9aaf
2023-08-12Merge "Keep the TP-MessageRef as is for SMS Fallback" into udc-qpr-devMegha Patil
2023-08-11Snap for 10643491 from a1a2e09697e669b434ab54391594bf0f36b15f64 to ↵Android Build Coastguard Worker
udc-qpr1-release Change-Id: I3bb2430e5ffc25e93a0aa6e071554fc72f5a56cf
2023-08-10Check mAdnCache is not null before loading FDN. am: fd39f04d49 am: d49a9d33c5Aishwarya Mallamapti
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/24377542 Change-Id: I2d289be4ce6204ed9505cf050eb2d5e81a6e2a64 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-10Check mAdnCache is not null before loading FDN. am: fd39f04d49Aishwarya Mallamapti
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/24377542 Change-Id: I7316023caffe2aa928f0b75fadce024e3a2e7e79 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-10Fix EVENT_SET_NULL_CIPHER_AND_INTEGRITY_DONE Error Handling am: f76d189a92Gil Cukierman
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/24372401 Change-Id: Ibde418f8e66d1eb20cf6a560b5cee5d565a66c37 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-09Check mAdnCache is not null before loading FDN.Aishwarya Mallamapti
Bug: 292467876 Test: Manual Verification: - Enable FDN - reboot device - After reboot, no crashes were observed - Performed basic functionality tests after reboot such as making calls and sending sms using the sim card. - QA verified and informed that fix is working: b/292467876#comment18 Change-Id: Id4909881f9f6ac509c60889557652632f00a8523 (cherry picked from commit 886684aa255b8564bb132a4b83202c6bcb5981ed)
2023-08-09Fix EVENT_SET_NULL_CIPHER_AND_INTEGRITY_DONE Error HandlingGil Cukierman
The Require Encryption toggle was appearing in the Settings app because `mIsNullCipherAndIntegritySupported` was being set to `true` when an exception other than REQUEST_NOT_SUPPORTED was returned. The code was operating under the false assumption that the only exception returned when a modem operation is not supported was REQUEST_NOT_SUPPORTED, but other exceptions are possible, like RADIO_NOT_AVAILABLE. This change enforces that the only way to set `mIsNullCipherAndIntegritySupported` to `true` is by receiving an error free response from the RIL. Bug: 294037720 Test: atest GsmCdmaPhoneTest Change-Id: Ic5ffb09e6a30c42e594ff3bfea29f6c04f8b949d
2023-08-08Snap for 10628727 from c0b851846ae6d85b01869b6dd2615e73f4aa935a to ↵Android Build Coastguard Worker
udc-qpr1-release Change-Id: Ied87d343dbcf6b969a0fafa8c63edcfc42da7345
2023-08-08Merge "Fixed eSIM activation failed issue" into udc-qpr-devTreehugger Robot
2023-08-08Fixed eSIM activation failed issueJack Yu
In some cases, subscription manager service fails to get eSIM information from EuiccController during boot up, or phone process is up too late so miss the trigger point to update eSIM profile. Fixed by querying EuiccController again when SIM state moves to READY or NOT_READY. Fix: 276955800 Fix: 290194966 Fix: 291964927 Test: Verified in b/290194966#comment6 Test: Verified in b/276955800#comment67 Test: SIM regression tests passed on b/294621189 Test: atest SubscriptionManagerServiceTest Merged-In: I16f94ee3d3f79c1fbbabe22a8596c8c31724fca2 Change-Id: I16f94ee3d3f79c1fbbabe22a8596c8c31724fca2
2023-08-08Merge "Revert "Allow IWLAN network when power off modem"" into udc-d1-dev ↵Treehugger Robot
am: 2c0f49f8e8 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/24296848 Change-Id: I565b28eb7d59515d6c1236f8453858619233eeac Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-08[automerger skipped] Fixed subscription database cache out of sync am: ↵Jack Yu
19b8c17a8d -s ours am skip reason: Merged-In Iee0355a4069ce6d5c85ecc1bd727bc457c3bb902 with SHA-1 9b1054b18f is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/24123700 Change-Id: I423929cf5606ded89bae46fa7bcbe74542f437ba Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-08Merge "Revert "Allow IWLAN network when power off modem"" into udc-d1-devTreehugger Robot
2023-08-06Keep the TP-MessageRef as is for SMS FallbackMegha Patil
- For SMS Retry Over CS, the TP-MR was set to 0 - In case of retry over CS, previous TP-MR is sent to Modem BUG: b/290816286 Test: atest ImsSmsDispatcherTest, Test SMS Fallback over live network, Tested all SMS cases in lab with Bugid:b/291880473 Change-Id: If51929db121153061afc415452a090912d1d0a77 (cherry picked from commit 8bc272090bb5f567d4f4f0de0a8f788d629939c0)
2023-08-04Revert "Allow IWLAN network when power off modem"Chinmay Dhodapkar
This reverts commit e0bee859ecd5f86088fe537321a82e8af21af917. Reason for revert: <failing LE test case on ATT b/293466712> Change-Id: I710bf4313a1f13ac2c08b565e603e9ff718de1be Merged-In: I710bf4313a1f13ac2c08b565e603e9ff718de1be
2023-08-04Fixed subscription database cache out of syncJack Yu
The subscription reloading from database could cause cache to be out-of-sync. Fixed by making reloading synchronous and only reload when necessary (e.g. Backup restore actually changes the database). Fix: 290295550 Fix: 290176403 Test: atest SubscriptionManagerServiceTest TelephonyProviderTests Test: Manually test backup/restore Test: Telephony basic functionality tests Test: Re-tested passed on b/290295550#comment23 Test: Re-tested passed on b/290176403#comment28 Merged-In: Iee0355a4069ce6d5c85ecc1bd727bc457c3bb902 Change-Id: Iee0355a4069ce6d5c85ecc1bd727bc457c3bb902
2023-08-03Snap for 10607267 from d859217171637e9d8c48a06619e85d6026eafdcc to ↵Android Build Coastguard Worker
udc-qpr1-release Change-Id: Iaf77368bcc514ed93af7279696e217676682588d
2023-08-02Merge "Check extras to determine if the call is cross sim" into udc-qpr-devAswin Sankar
2023-08-02Merge "Add logic to keep 5G+/5G UC icon when RRC idle" into udc-qpr-devSarah Kim
2023-08-01Snap for 10594510 from 1897d17ac6758487bfaec33d5d39768edb782b9f to ↵Android Build Coastguard Worker
udc-qpr1-release Change-Id: If0be881f9d5b3360a1b20f6a4e407e7c08b17ab4
2023-07-31Check extras to determine if the call is cross simWileen Chiu
- when the call is terminated, instead of displaying cellular internet, the UI briefly displays wifi call, even though the cross sim extras are present. This occurs because the ImsCall object is cleared as part of the clean-up - If available, check the updated extras instead of querying ImsCall to confirm if it is a cross sim call Bug: 286172450, 230005676 (cherry picked from https://android-review.googlesource.com/q/commit:6e93e9719b611b9df8054c8557adbcba84cffbc7) Merged-In: I7d52db6c10ef6b478618c9795099f892eb92d547 Change-Id: I7d52db6c10ef6b478618c9795099f892eb92d547
2023-07-31Merge "Fixed incorrect phone number from inactive subscription" into udc-qpr-devJack Yu
2023-07-31Fixed incorrect phone number from inactive subscriptionJack Yu
When the subscription inactive, SubscriptionManager.getPhoneNumber() returns incorrect phone number from the active subscription. Fixed by using getSlotIndex which would not give default phone id when subscription is inactive. Fix: 286124301 Test: atest SubscriptionManagerServiceTest Test: Basic telephony functionality tests Test: eSIM transfer and confirmed the phone number was displayed properly (b/293623063#comment6) Change-Id: I071fdb62fcb3a754dfaf32e7198cdfb6f762eaac