summaryrefslogtreecommitdiff
path: root/telephony/java
Commit message (Collapse)AuthorAgeFilesLines
* enforce limits for VisualVoicemailSmsFilterSettings propertiesThomas Stuart2025-01-131-0/+27
| | | | | | | | | | | | - clientPrefix is now limited to 256 characters - originatingNumbers is now limited to a list size of 100 and each element is also limited to 256 characters Bug: 308932906 Test: CTS (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:8201f7239c50316aa3c36d90e9f90d0a29e74be1) Merged-In: Id4b4358b141bb211a7e340b979774850b4bd2403 Change-Id: Id4b4358b141bb211a7e340b979774850b4bd2403
* Merge tag 'android-13.0.0_r52' of ↵George Zacharia2023-08-021-1/+1
|\ | | | | | | | | | | | | https://android.googlesource.com/platform/frameworks/base into t13.0 Android 13.0.0 Release 52 (TQ3A.230605.012) Change-Id: Ic80f318636f1f70bbd009504352ddde511d0dead
| * docs: Typo fix ("peform" -> "perform") am: f2037554e3 am: f85f601bc5Andrew Solovay2023-01-091-1/+1
| |\ | | | | | | | | | | | | | | | | | | Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20841329 Change-Id: I0306a68cb0b4e7e2b609d1edfcdb35bfa7bbbb55 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| | * docs: Typo fix ("peform" -> "perform") am: f2037554e3Andrew Solovay2023-01-091-1/+1
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20841329 Change-Id: I448391521f17864880d6514babe6bd3e0ed23efb Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| | | * docs: Typo fix ("peform" -> "perform")Andrew Solovay2023-01-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The CommonTypos linter was complaining about the spelling. No change to source code. Bug: 263824202 Change-Id: I63a7bf2053ab3a7e74764bf2378d3bd62e8509ed Test: [go/abtd docs build]
* | | | Frameworks: Enable VoNR by defaultjohnmart192023-04-201-1/+1
| | | | | | | | | | | | | | | | Change-Id: I7f4d69b8c7f7610b7d0a4d00c1c49de9cfc7a9b1
* | | | Always show APN settings on CDMA carriersflawedworld2023-04-201-1/+1
| | | | | | | | | | | | | | | | Change-Id: I5196fd0995d98f297084e5bab17b8e6b9464c70b
* | | | Catch IllegalArgumentException for invalid phone idWileen Chiu2023-04-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - CarrierConfigLoader#updateConfigForPhoneId throws an IllegalArgumentException when receiving an update for a phone id that may not no longer be in use - Catch the exception instead and log the information Change-Id: I167a253ae1fc804c408009ba4a6a4bbaa1eba15a CRs-Fixed: 2978083 Signed-off-by: Cruzer1 <preetamswain143@gmail.com>
* | | | telephony: show ICCID by default for allOmkar Chandorkar2023-04-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ia822236942a39d8700513f568536f5f78d498539 Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev> Signed-off-by: Joey Huab <joey@evolution-x.org>
* | | | CarrierConfigManager: Enable payphone call blocking optionJason Edson2023-04-201-1/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: I9ea764b1a4f175cfcb53df7a359fd22636ba4798 Signed-off-by: Jason Edson <jaysonedson@gmail.com>
* | | | allow toggling VoWiFi while roaming by defaultr3g_5z2023-04-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I513e3c19201c0cec53f1d5d2c53d0f66bca70606 Signed-off-by: r3g_5z <june@girlboss.ceo> Signed-off-by: Dmitrii <bankersenator@gmail.com>
* | | | Merge tag 'android-13.0.0_r35' of ↵George Zacharia2023-04-0310-37/+263
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://android.googlesource.com/platform/frameworks/base into t13.0 Android 13.0.0 release 35 Change-Id: I709958b2f015d1774b2ece25894467c3a279f93c
| * | | Merge "Add NR bands to service state." into tm-qpr-devChi Zhang2023-01-071-2/+103
| |\ \ \
| | * | | Add NR bands to service state.Rafael Higuera Silva2023-01-061-2/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 231523547 Test: make Change-Id: I2b2fb7b4728d9bd4af981fe853eaa69a6b51d33e (cherry picked from commit 83050a70e0d9091c75d613a1a9427649fcdb05b4)
| * | | | Add one new method is3gppThomas Nguyen2023-01-071-0/+9
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 262735040 Test: atest android.telephony.cts.VisualVoicemailServiceTest Verified with live test that voice mail is received Change-Id: Idae7ad9580f3c98e5f253e9e0627f68f5f87967b
| * | | Merge "Revert "isSimPortAvailable API should return true if the calling..."" ↵Muralidhar Reddy Mule2022-12-171-2/+2
| |\ \ \ | | | | | | | | | | | | | | | into tm-qpr-dev
| | * | | Revert "isSimPortAvailable API should return true if the calling..."Muralidhar Reddy Mule2022-12-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert submission 20641600-isSimPortAvailable_t_qpr2 Reason for revert: All use cases are not working Reverted changes: /q/submissionid:20641600-isSimPortAvailable_t_qpr2 Change-Id: I12bbd4b4a55bb74b656359df7d8617bb8e6ab475
| * | | | Merge "isSimPortAvailable API should return true if the calling app can ↵Muralidhar Reddy Mule2022-12-121-2/+2
| |\| | | | | | | | | | | | | | | | | | activate a new profile on the selected port without any user consent or deactivate dialog." into tm-qpr-dev
| | * | | isSimPortAvailable API should return true if the calling app can activate a ↵Muralidhar Reddy2022-12-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | new profile on the selected port without any user consent or deactivate dialog. Currently isSimPortAvailable API returns true if the port is active without any profile enabled on it or the calling app has carrier privileges over the selected port. It is hampering switching to MEP mode when the psim is active and empty. Test: Manually verified isSimPortAvailable API behavior on C10 with EuiccPartnerApp. Bug: 240273417 Change-Id: I4c9ad2bc6f1093163290be0e47f8a065245e5783
| * | | | Add carrier config to include LTE bands when calculating NR advaanced thresholdSarah Chin2022-11-301-0/+12
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Test: atest NetworkTypeControllerTest Bug: 260052715 Merged-In: I71f989d5dcff9d5f7d3fd11c87fbce68b1484b50 Change-Id: Ie48a045a148bf6a41eb23f4f67030efde01e8c39
| * | | Fix for GSM-8bit encoding errorThomas Nguyen2022-11-224-16/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 253538769 Test: atest android.telephony.cts.VisualVoicemailServiceTest Change-Id: I63dca4369c7b4285abb99bfffffe8fd9edbf9443 Merged-In: I63dca4369c7b4285abb99bfffffe8fd9edbf9443
| * | | Merge "Add new carrier config to record the default preference setting" ↵TreeHugger Robot2022-11-171-0/+11
| |\ \ \ | | | | | | | | | | | | | | | into tm-qpr-dev
| | * | | Add new carrier config to record the default preference settingGary Jian2022-11-161-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some carriers need to disable the VoNR setting as default, so introduce new config “vonr_on_by_default_bool” to control this requirement. Bug: 237621350 Test: manual Change-Id: Idaa9cfb1739f8261e9a4697eae30b7f4e16241c7 Merged-In: Idaa9cfb1739f8261e9a4697eae30b7f4e16241c7
| * | | | Merge "Update anomaly report UUID" into tm-qpr-devTreeHugger Robot2022-11-152-2/+2
| |\ \ \ \
| | * | | | Update anomaly report UUIDLing Ma2022-11-042-2/+2
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From legacy telephony-wide UUID. Bug: 257517517 Test: m Change-Id: Ib10edda5e36c795bfa0c65e2c26070b84024d36e
| * | | | Merge "Fix NPEs in DataCallResponse" into tm-qpr-devTreeHugger Robot2022-11-111-9/+36
| |\ \ \ \
| | * | | | Fix NPEs in DataCallResponseSarah Chin2022-11-101-9/+36
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix NPEs in the equals method for DataCallResponse. Only check the size for QOS bearer sessions and traffic descriptors if they are both not null. Also fix the hash code to return the same hash regardless of list orders. Test: atest DataCallResponseTest Bug: 257975797 Change-Id: I6403f71126e3e5ab300c565cf0c528268cbfe69d Merged-In: I6403f71126e3e5ab300c565cf0c528268cbfe69d
| * | | | Merge "Add MOBILE_DATA_POLICY_AUTO_DATA_SWITCH" into tm-qpr-devLing Ma2022-11-101-0/+17
| |\ \ \ \
| | * | | | Add MOBILE_DATA_POLICY_AUTO_DATA_SWITCHLing Ma2022-11-091-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The feature only applies to non-DDS. If enabled, we automatically switch to the non-DDS for data traffic when it has better availability than the DDS. Test: cts Bug: 258510998 Change-Id: Id827b3e253b637273504d87c8db64893c7b70924 Merged-In: Id827b3e253b637273504d87c8db64893c7b70924 (cherry picked from commit 837daa5cd133b29f819bc18e5a68fc2779e49d30)
| * | | | | Merge "Fixed permananent failure behaviors" into tm-qpr-devTreeHugger Robot2022-11-101-8/+18
| |\ \ \ \ \ | | |_|/ / / | |/| | | |
| | * | | | Fixed permananent failure behaviorsJack Yu2022-11-011-8/+18
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Non-conditional based evaluations will no longer trigger setup data if the APN was marked as permanent failure earlier. Only environmental changes can result in data setup. 2. Permanent failure can be only applied to the failed APN. When this happens, frameworks retries the next non-permanent-failed APN. Fix: 254752857 Fix: 249908875 Test: Manual (verified on JP carrier) + atest FrameworksTelephonyTests + Basic testing. Merged-In: Ic43100635907153bce9631473c56f1edef187fc4 Change-Id: Ic43100635907153bce9631473c56f1edef187fc4
| * | | | Merge "docs: Adding note to getPhoneNumber(int)" into tm-dev am: 0471cade5b ↵Andrew Solovay2022-11-011-0/+4
| |\ \ \ \ | | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 91f82f9c2f Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20316842 Change-Id: I0098778582eb8a935e01c9740f7a8aca48782ae7 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| | * | | Merge "docs: Adding note to getPhoneNumber(int)" into tm-dev am: 0471cade5bAndrew Solovay2022-11-011-0/+4
| | |\ \ \ | | | | |/ | | | |/| | | | | | | | | | | | | | | | | | | | | Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20316842 Change-Id: Ib705963b5755de8b7f4c9f5368fdb666966bf598 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| | | * | docs: Adding note to getPhoneNumber(int)Andrew Solovay2022-10-311-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We'd already added this note to getPhoneNumber(int, int) in aosp/2241332 (which is being cherrypicked to tm-dev in ag/20304540), but we need to add the same note to getPhoneNumber(int). Change-Id: Ieb7df2337c8123e1dc3ca18c85642f0aaba4dda1 Test: go/abtd docs build Bug: 235143721
| * | | | Merge "docs: Cherrypicking GetPhoneNumber docs fix to tm-dev" into tm-dev ↵Andrew Solovay2022-10-311-0/+4
| |\| | | | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | am: 1664736433 am: 8793953ea9 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20304540 Change-Id: Ie823d83240882b7002d7a664ae21c03d83e692f3 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| | * | Merge "docs: Cherrypicking GetPhoneNumber docs fix to tm-dev" into tm-dev ↵Andrew Solovay2022-10-311-0/+4
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 1664736433 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20304540 Change-Id: I9d44837fdb4eeaf282be4199408087e122b48f0e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| | | * docs: Cherrypicking GetPhoneNumber docs fix to tm-devErik Han2022-10-271-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CPing the fix to tm-dev (where the docs builds come from) so it'll go live. Merge "Update documentation to GetPhoneNumber with the security/privacy concerns" am: d1450e4e61 am: ce9e379a8a am: 9d1eb6ac7b Bug: 235143721 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2241332 Change-Id: I1ada77b875c64901cc02a1e42712ae3f1ee19499 (cherry picked from commit 6bf945d20f7804013d956eb63fd2993e2bc67bc0) Test: [go/abtd docs build] Change-Id: Ida22e156c380cdd8f1d88a2ac22fc014517fdb5f
* | | | Merge tag 'android-13.0.0_r16' into t13.0George Zacharia2022-12-1512-29/+84
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Android 13.0.0 Release 16 (TQ1A.221205.011) Also included the following reverts: 1. Revert "fw/b: Import Wi-Fi standard icon [1/2]" 2. Revert "Add preference for toggling the wallpaper zooming animation" Co-authored-by: Semavi Ulusoy <doc.divxm@gmail.com> Change-Id: I9a6b51e452c28d10411712c59778bb54da5783e9
| * | | Fix locale bug for string conversionsSarah Chin2022-09-301-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use Locale.ROOT to be consistent with the constants. Test: manual test with Turkish locale Bug: 248068481 Change-Id: Ieb5678016e00e3b6d60b9d07bb08ccc5c0623f3d
| * | | Merge "NetworkService: quitSafely() on onDestroy()" into tm-qpr-devAswin Sankar2022-09-222-2/+2
| |\ \ \
| | * | | NetworkService: quitSafely() on onDestroy()Aswin Sankar2022-09-222-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - When IwlanNetworkService is un-bound, such as when phone app dies, the typical sequence is onUnbind() followed by onDestroy() immediately. - Messages queued by onUnbind() are not processed, which leaves the IwlanNetworkService in an unexpected state for the next onBind(). - The change is applied to DataService.java as well for safety. Bug: 237447534 Test: Live test by crashing com.android.phone to verify fix to unbind/destroy behavior. Change-Id: I25d968867401bd7d285735c83c71e3649467c5db Merged-In: I25d968867401bd7d285735c83c71e3649467c5db
| * | | | Merge "Revert "Add anomaly reports to check if IMEI is null."" into tm-qpr-devTreeHugger Robot2022-09-211-12/+2
| |\ \ \ \
| | * | | | Revert "Add anomaly reports to check if IMEI is null."Aishwarya Mallampati2022-09-201-12/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 58e9f0004c31c19d67ab099c5a5297c91edd6fd9. Reason for revert: broken cts test b/247843841 Change-Id: I3df323704688510cb8fd17b8e0eb7b3d4febce7e
| * | | | | AnomalyReport catch any exception when try to read deviceConfigLing Ma2022-09-201-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the app context, likely tests that didn't mock permission, doesn't have deviceConfig read permission, don't try to enforce server-side flag . Fix: 247700179 Test: manual trigger + https://android-build.googleplex.com/builds/abtd/run/L02900000956490923 Change-Id: I8f0e84219057974649def4bcc312ae0dc38670d1
| * | | | | Merge "Add anomaly reports to check if IMEI is null." into tm-qpr-devAishwarya Mallampati2022-09-201-2/+12
| |\| | | |
| | * | | | Add anomaly reports to check if IMEI is null.Aishwarya Mallampati2022-09-201-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 247555621 Test: Basic testing + atest FrameworkTelephonyTests Change-Id: Ieb0c6a7f5cedb86b36d3f8ac6a5867ace2f95487
| * | | | | Merge "Allow bugreport only after server-side config loaded" into tm-qpr-devTreeHugger Robot2022-09-201-0/+10
| |\ \ \ \ \
| | * | | | | Allow bugreport only after server-side config loadedLing Ma2022-09-131-0/+10
| | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To address the problem where the anomaly reports that are blocked by UUID continue being generated before the device receives server-side block list. Bug: 246637909 Test: manual placing voice call + data browsing Change-Id: I3e41e3dd2e6255dc7cbdda86736861720b757c4c
| * | | | | Merge "To read the group UUID, the calling app either needs carrier ↵Hyosun Kim2022-09-201-2/+12
| |\ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | privileges or the READ_PHONE_STATE permission and access to device identifiers." into tm-qpr-dev
| | * | | | To read the group UUID, the calling app either needs carrier privileges or ↵hyosun2022-09-021-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the READ_PHONE_STATE permission and access to device identifiers. If the app has only the READ_PHONE_STATE permission, it can no longer read the group UUID. When SubscriptionManager#getSubscriptionsInGroup is called, If the calling app has carrier permission or READ_PHONE_STATE permission and access to device identifiers, then returns a list. If not, it returns an empty list. Bug: 213902861 Test: atest SubscriptionManagerTest Test: atest SubscriptionControllerTest Test: manual (b/213902861#comment54) Change-Id: I4e764b1a5babfcacf675f6e83d2b1014ec570c1e Merged-In: I4e764b1a5babfcacf675f6e83d2b1014ec570c1e