summaryrefslogtreecommitdiff
path: root/telephony/java/android
AgeCommit message (Collapse)Author
2022-06-02Merge tag 'LA.QSSI.12.0.r1-07600-qssi.0' into sugisawa-mr1alk3pInjection
"LA.QSSI.12.0.r1-07600-qssi.0" Change-Id: I17291c56a5444a9f8e47f5da76617beba25cd784
2022-05-07CarrierConfigManager: Enable LTE+ iconJake Weinstein
Change-Id: Ic8819c9b9cf5d1469a47f3d16cd10918285f40f9
2022-04-14Merge s-mpr-2022-04Eric Arseneau
Change-Id: I2325ba5c76e7dba314bdcd5b53fdc36b5e90fb31
2022-03-15Merge SP2A.220305.013Haamed Gheibi
Bug: 220074017 Change-Id: Idfdd94e902f656ac65a2a75dfdd199f6f85ba472
2022-01-24Disable call_forwarding_when_not_logged_in_supported_bool by defaultJiju Kinattingal
Set the default value as false for the carrier config flag "call_forwarding_when_not_logged_in_supported_bool" to avoid unnecessary failure messages on the call forwarding settings UI Change-Id: Iddcf2f3805af157f93e1c81f2a014dc02566c629 CRs-Fixed: 3115750
2022-01-13Handle setAllowedCarriers() with empty list of carriersMichele Berionne
Bug: 204136145 Test: unit testing Change-Id: I9779180ff1c3e926f97e010ca6026c5fb950046d
2022-01-10Fixed NPE when local or remote port range does not existJack Yu
Added null check for local and remote port range. Bug: 213523984 Bug: 213139361 Test: atest QosBearerSessionTest Merged-In: I749f369c0daa5c840a77d37828f65e42262d85f5 Change-Id: I749f369c0daa5c840a77d37828f65e42262d85f5
2021-12-22Merge s-mpr-2021-12-05Eric Arseneau
Change-Id: Ic2889f5eb531008340529eadc36ec8efc62b1984
2021-12-13ImsServiceEntitlement default values missingMeng Wang
ImsServiceEntitlement.* configs and their default values were added in S at commit e600a8e4e8615410f2f45a4c35f2250d6b1b32b1. Somehow the default values are missing now. Add back. Bug: 210485357 Change-Id: I98d943394ed308956c5271b8efaa5094d15dc8ca
2021-11-18IMS: Add logic for concurrent callAshit Sood
- Add new KEY_ALLOW_CONCURRENT_CALL_DURING_VIDEO_CALL_BOOL and EXTRA_DISABLE_SWAP_CALL for indicating if concurrent call is allowed or not during video call. Change-Id: Icaf86393c87edbdcae096804b9ca5f99dd63973a CRs-Fixed: 3066353
2021-11-15Make KEY_VONR_SETTING_VISIBILITY_BOOL default to trueGary Jian
Bug: 205809218 Test: make Change-Id: I02ea3ad61a0dc1cd09f0bd541008de0e46e3d0ab
2021-11-11Merge "Adds new configs to support 5g+4g opportunistic switching." into ↵TreeHugger Robot
sc-v2-dev
2021-11-11Adds new configs to support 5g+4g opportunistic switching.Jack Nudelman
Bug: 186688682 Test: manual testing Change-Id: Ia78bde63f2471823bb5765cd8022b1aca0074923 Merged-In: Ia78bde63f2471823bb5765cd8022b1aca0074923
2021-11-02Merge "Add config to detect e-call call based on dialed sim emerg # list." ↵Tyler Gunn
into sc-qpr1-dev am: 8a7e825938 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16150137 Change-Id: Iab11604bff41682864b5da319a3c14e3eef38e17
2021-11-02Add config to detect e-call call based on dialed sim emerg # list.Tyler Gunn
We normally use the combined emergency number list from the emergency number lists of both sims when placing emergency calls, with the provision that the routing may be unspecified if a dialed number is an emergency number on one sim but not the other. This config allows a carrier to mandate that calls are only treated as an emergency call on their network based on their own emergency number list. Test: TBD Bug: 203947159 Change-Id: Id5cd4123f1bb7bdd85e564fc6997dfbc50652a5f (cherry picked from commit 11dd6452d6621328b0bd430eeebacb55fd478cf3)
2021-11-01Merge "Ensure that ScanInfo is cached before callbacks fire" into sc-v2-devTreeHugger Robot
2021-10-29Add config to detect e-call call based on dialed sim emerg # list.Tyler Gunn
We normally use the combined emergency number list from the emergency number lists of both sims when placing emergency calls, with the provision that the routing may be unspecified if a dialed number is an emergency number on one sim but not the other. This config allows a carrier to mandate that calls are only treated as an emergency call on their network based on their own emergency number list. Test: TBD Bug: 203947159 Change-Id: Id5cd4123f1bb7bdd85e564fc6997dfbc50652a5f
2021-10-28Merge "Added nr advanced calling settings support" into sc-v2-devGary Jian
2021-10-26Ensure that ScanInfo is cached before callbacks fireNathan Harold
Fixes a regression that was introduced in aosp/1312940. There is a critical section in requestNetworkScan after the scanId has been generated and before the ScanInfo is added to the cache. If during this time a callback fires on a separate thread, it will not yet find the ScanInfo record, and due to strict checking, this causes a RuntimeException. This CL re-expands the synchronized block to cover the critical section, and clarifies a little bounds checking. Note: this change is not ideal. This means that all callbacks for all scans will be blocked while a request for a new scan is being made, which was the motivation behind the change that introduced this regression. But, a narrow performance hit is better than a crash, and it's not worth the complexity of a bigger fix. Bug: 200634560 Test: compilation Merged-In: I4670da109256170121ceb6d8fbad0efda310335f Change-Id: I4670da109256170121ceb6d8fbad0efda310335f
2021-10-25Add carrier config call_forwarding_when_not_logged_in_supported_boolJiju Kinattingal
This configuration allows the call settings UI to display the call forwarding when not logged in button Change-Id: I6744407cde42e7f11f116b0ee283166ce7221c5e CRs-Fixed: 3056247
2021-10-25Added nr advanced calling settings supportGary Jian
- Added a telephony provider entry for storing the user's settings. - Added new vonr_enabled_bool config to determine whether VoNR should be enabled for carrier Bug: 202150953 Test: manual Change-Id: Ie56a7de3fdb978353af77bafb55b0e37c22b58a4 Merged-In: Ie56a7de3fdb978353af77bafb55b0e37c22b58a4
2021-10-20Supported minimum aggregated bandwidth and roaming for 5G+Jack Yu
1. Added minimum bandwidth support. 5G+ icon is only shown when the aggregated bandwidth is above the threshold. 2. Allowed carrier to disable 5G+ while roaming. Bug: 198831438 Bug: 201455505 Test: atest NetworkTypeControllerTest Change-Id: I1f40de5ee559a6d703806e74d305267bde295dcc
2021-09-21Limit the uniqueness of SignalMeasurementType instead of RAN inRambo Wang
SignalStrengthUpdateRequest Support different SignalMeasurementType with same type of RAN is valid user case. For example, client may be interested to measure both RSRP and RSRQ for EUTRAN. Throw IAE if the SignalThresholdInfo collection is empty. This is behavior specified in the public interface. Bug: 198318496 Test: atest SignalStrengthUpdateRequestTest Merged-In: I87ea5e356189f61fc58dff80456aff35ea2a8e55 Change-Id: I87ea5e356189f61fc58dff80456aff35ea2a8e55 (cherry picked from commit 924964767c85b6daf84b44d9052b792ec1fc668d)
2021-09-20Merge "Add NR to global mode" into sc-qpr1-devSooraj Sasindran
2021-09-18Add NR to global modeSooraj Sasindran
add NR to global mode Bug: 199325502 Test: Verified on Pixel 4 and confirmed no regression Change-Id: Iffcd61678ced05a4d281961f875190e5682bf89e
2021-09-13Check the timeout only the reason is CF_REASON_NO_REPLYCalvin Pan
The timeout in call forwarding is only valid for CF_REASON_NO_REPLY reason, so only check if reason is CF_REASON_NO_REPLY Bug: 194112447 Test: enable/disable call forwarding Change-Id: I290d5fa64f0a32ddcaf1f16c51b99f52e8e38913
2021-09-03VoNR toggleSooraj Sasindran
Allow user to enable or disable voice over NR. Bug: 190668235 Test: verified using settings UI Change-Id: I655dc93c0b213e1b85b29b9a168f99072ca82186
2021-09-02Merge "Enable specification of 5G network info and carrier configs for ONS ↵Jack Nudelman
changes" into sc-qpr1-dev
2021-09-01Enable specification of 5G network info and carrier configs for ONS changesJack Nudelman
Bug: 191878731 Bug: 186688084 Test: Will test locally once partner device and infrastructure is ready. Change-Id: I7c866741dd86c3d675ea7c4dfe50d0992ab145f1 Merged-In: I7c866741dd86c3d675ea7c4dfe50d0992ab145f1
2021-08-31Check if the slot info is null to avoid exceptionHui Wang
Bug: 198298029 Test: manual Change-Id: Id5ad70e24ee2ddbb0e4910257e298c33709044a0
2021-08-16Merge "IMS: Add support for additional call information" into ↵Treehugger Robot
s-keystone-qcom-dev
2021-08-12IMS: Add support for additional call informationSuresh Koleti
- Define new call end reason CONCURRENT_CALLS_NOT_POSSIBLE. Change-Id: If473898998d2aca85241015f7c2306289b16013f CRs-Fixed: 3006437
2021-08-11Merge SP1A.210811.001Brian Orr
Change-Id: I5aa7cf27a3a3cc16830c9947a826e30a0da481c4
2021-08-06Merge SP1A.210803.001Scott Lobdell
Change-Id: I09253f8614e9ee85a59460f3ef25f17dd98cac80
2021-08-03Remove SipDelegates in ImsService if Phone process crashesBrad Ebinger
If the phone process crashes, have the ImsService detect this condition and destroy all SipDelegates. This allows the AM app to properly recover when telephony comes back up Bug: 195148134 Test: manually crash phone process and then send RCS message Test: atest FrameworksTelephonyTests:SipTransportImplBaseTest Change-Id: I7866273d801df4d2b20e58f5d5ad50fd0ac4303d
2021-07-27Merge SP1A.210723.002Scott Lobdell
Change-Id: I220cdfc5cb9db40162fd33f400a54591018d54cf
2021-07-27Merge "[PhysicalChannelConfig] UL's frequency should not be same with DL's" ↵Amruth Ramachandran
into sc-dev
2021-07-27[PhysicalChannelConfig] UL's frequency should not be same with DL'sZoey Chen
Bug: 194042135 Test: atset PhysicalChannelConfigTest Change-Id: I1225a1429ff77b33c54af0dfce60a8739494e47a Merged-In: I1225a1429ff77b33c54af0dfce60a8739494e47a
2021-07-26Fix CQI range in CellSignalStrengthNrMingming Cai
bug: 194634718 Test: make Change-Id: I784f2930999871b6bb90f4e17a2ba694da35126a
2021-07-23Merge SP1A.210715.002Scott Lobdell
Change-Id: I65e2b7db097927b87c9c4023015c754033c62086
2021-07-22Modify KEY_LTE_ENDC_USING_USER_DATA_FOR_RRC_DETECTION_BOOL's descriptionSongFerngWang
Some Carriers define the 5G icon's Idle state in ENDC LTE is no internet data connection. The config's description is not clear, so adding more information. Bug: 193848289 Test: build pass Change-Id: Ie6e8dcd98743746bac1be78c653fb27f214777f9
2021-07-21Merge "IMS: Define new property for multi sim voice capability" into ↵Treehugger Robot
s-keystone-qcom-dev
2021-07-19Clear binder identity in callback of IMS IPC interfacesRambo Wang
The binder identity does get cleared when goes from client process into phone process. When it comes back from phone to client, the binder identity should also be cleared. Bug: 193923945 Test: atest android.telephony.cts.TelephonyManagerTest Test: atest ImsServiceTest RcsFeatureControllerTest ImsMmTelManagerTest Merged-In: I34225e32111879e155c9f7865f0045430d171467 Change-Id: I34225e32111879e155c9f7865f0045430d171467 (cherry picked from commit c18002c465912eed70c2c22755949b06849a8f08)
2021-07-16Merge "Merge SP1A.210709.002" into s-keystone-qcom-devHaamed Gheibi
2021-07-16Merge "Gate CDMA Supplementary Services on a CarrierConfig item" into sc-devBrad Ebinger
2021-07-15Gate CDMA Supplementary Services on a CarrierConfig itemBrad Ebinger
Introduce the KEY_SUPPORT_SS_OVER_CDMA_BOOL carrier config, which allows Supplementary Services to be changed via carrier USSD codes. This is disabled by default because the current USSD codes are not configurable per carrier, so it can not be widely enabled. Bug: 191057045 Test: manual, configuration changes Change-Id: I3aeb1793c0df4f52764fef5fd09db47efe841dc2
2021-07-14Merge SP1A.210709.002Haamed Gheibi
Change-Id: I4610885d5d770d858895057cdd9fea387a5e33dd
2021-07-13IMS: Define new property for multi sim voice capabilitySuresh Koleti
- Define new property ril.multisim.voice_capability. - Introduce helper API "isConcurrentCallsPossible" to know concurrent calls possible or not. Change-Id: I8057825f2f8b15cb583a566997c0e6cc6e9ff865 CRs-Fixed: 2989022
2021-07-12Catch ServiceSpecificExceptions properly when getting reg state/ transport typeBrad Ebinger
We were not catching ServiceSpecificExceptions that were thrown, causing unclear exceptions. Instead, return the default value when the ImsService is unavailable. Bug: 192930411 Test: atest CtsTelephonyTestCases Change-Id: I3d50b19047bc287ce6200e75bb59cf98bf8bfef0
2021-07-09Catch IllegalArgumentException for invalid phone idWileen Chiu
- 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