Commit Graph

11733 Commits

Author SHA1 Message Date
Sooraj Sasindran
21cb293e88 Merge "Add NR to global mode" into sc-qpr1-dev 2021-09-20 18:15:23 +00:00
Sooraj Sasindran
147a3b2d26 Add NR to global mode
add NR to global mode

Bug: 199325502
Test: Verified on Pixel 4 and confirmed no regression
Change-Id: Iffcd61678ced05a4d281961f875190e5682bf89e
2021-09-18 01:33:36 +00:00
Calvin Pan
f7e9afbea4 Check the timeout only the reason is CF_REASON_NO_REPLY
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-13 10:16:54 +00:00
Sooraj Sasindran
5dbec20ded VoNR toggle
Allow user to enable or disable voice over NR.

Bug: 190668235
Test: verified using settings UI
Change-Id: I655dc93c0b213e1b85b29b9a168f99072ca82186
2021-09-03 16:15:29 +00:00
Jack Nudelman
5d57ddce8c Merge "Enable specification of 5G network info and carrier configs for ONS changes" into sc-qpr1-dev 2021-09-02 20:01:25 +00:00
Jack Nudelman
4da7aabf2e Enable specification of 5G network info and carrier configs for ONS changes
Bug: 191878731
Bug: 186688084
Test: Will test locally once partner device and infrastructure is ready.

Change-Id: I7c866741dd86c3d675ea7c4dfe50d0992ab145f1
Merged-In: I7c866741dd86c3d675ea7c4dfe50d0992ab145f1
2021-09-01 18:25:51 +00:00
Hui Wang
3cf475553e Check if the slot info is null to avoid exception
Bug: 198298029
Test: manual
Change-Id: Id5ad70e24ee2ddbb0e4910257e298c33709044a0
2021-08-31 20:39:18 +00:00
Brad Ebinger
4e51482aaf Remove SipDelegates in ImsService if Phone process crashes
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-08-03 22:22:21 +00:00
Amruth Ramachandran
4afa9546f9 Merge "[PhysicalChannelConfig] UL's frequency should not be same with DL's" into sc-dev 2021-07-27 13:47:33 +00:00
Zoey Chen
e5225ba858 [PhysicalChannelConfig] UL's frequency should not be same with DL's
Bug: 194042135
Test: atset PhysicalChannelConfigTest
Change-Id: I1225a1429ff77b33c54af0dfce60a8739494e47a
Merged-In: I1225a1429ff77b33c54af0dfce60a8739494e47a
2021-07-27 00:43:16 +00:00
Mingming Cai
9ee4e9bbe9 Fix CQI range in CellSignalStrengthNr
bug: 194634718
Test: make
Change-Id: I784f2930999871b6bb90f4e17a2ba694da35126a
2021-07-26 16:55:31 -07:00
SongFerngWang
7ac38075c7 Modify KEY_LTE_ENDC_USING_USER_DATA_FOR_RRC_DETECTION_BOOL's description
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-22 23:20:32 +08:00
Rambo Wang
588ec9f398 Clear binder identity in callback of IMS IPC interfaces
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 c18002c465)
2021-07-19 14:54:58 -07:00
Brad Ebinger
c3e6fc7a05 Merge "Gate CDMA Supplementary Services on a CarrierConfig item" into sc-dev 2021-07-16 18:04:16 +00:00
Brad Ebinger
783f66f0bd Gate CDMA Supplementary Services on a CarrierConfig item
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-15 16:09:56 -07:00
Brad Ebinger
2186a56187 Catch ServiceSpecificExceptions properly when getting reg state/ transport type
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-12 13:57:34 -07:00
TreeHugger Robot
30debe6591 Merge "Add carrier config for using user data to detect RRC state" into sc-dev 2021-07-02 22:05:39 +00:00
SongFerngWang
af6fd22efb Add carrier config for using user data to detect RRC state
This configuration allows the framework to use user data
communication to detect RRC state.

Bug: 191321871
Test: build pass and no phone crash.
atest NetworkTypeControllerTest  (pass)

Change-Id: Ieffabd25a74faf2038b2e08e956fa16c9efdd3ca
2021-07-03 02:01:15 +08:00
TreeHugger Robot
c2a780dbd6 Merge "Update documentation outlining results during voice calls." into sc-dev 2021-06-30 16:11:27 +00:00
Jack Nudelman
bc9ef4c8da Update documentation outlining results during voice calls.
Test: Just comment change, test not necessary
Bug: 192446339

Change-Id: I7fe0efdaa0b28f8d8a4389d7249f20d06ab258d0
2021-06-30 13:54:01 +00:00
James Lin
5f1dd57e55 Merge "[UCE] Set the default value of the list subscribe to false" into sc-dev 2021-06-30 05:55:10 +00:00
Zoey Chen
fc3e38324f Merge "[Telephony] Add description about location permission" into sc-dev 2021-06-30 01:23:39 +00:00
James.cf Lin
5b001197d8 [UCE] Set the default value of the list subscribe to false
Set the default value of the list subscribe to false because there are not many carriers support the list subscription

Bug: 190683278
Test: atest RcsUceAdapterTest
Change-Id: I146637fda050a74f593c1b221364c18a03d2da5e
2021-06-29 21:01:06 +00:00
Zoey Chen
6d33beea88 [Telephony] Add description about location permission
- Hold ACCESS_FINE_LOCATION: full service state
    - Hold ACCESS_COARSE_LOCATION: set cellIdentity is null
    - No local permission: set cellIdentity, mOperatorAlphaLong, mOperatorAlphaShort
        and mOperatorNumeric are null

Bug: 165014401
Test: make
Change-Id: I9ada08a530d9b8bc8483edfad783ff3b7434faa3
2021-06-29 16:11:13 +08:00
Jayachandran Chinnakkannu
98a11ef7b1 Merge "QOS: Check for portRange validity before filter matching" into sc-dev 2021-06-29 06:12:27 +00:00
Jayachandran C
bd4bd964f4 QOS: Check for portRange validity before filter matching
Bug: 191810683
Test: Manual
      atest com.android.internal.telephony.dataconnection.QosCallbackTrackerTest
Change-Id: Iaad16f7efe4bfaea3abd296547b5c53426a29854
2021-06-28 19:19:34 -07:00
James.cf Lin
78733ad48f [UCE] Fix NPE in the RcsContactUceCapability
When get the RcsContactPresenceTuple from the RcsContactUceCapability, it should check whether the servier ID is null or not

Bug: 191836903
Test: atest RcsContactUceCapabilityTest
Change-Id: I987c6f1fbcabfe64688f1d71210c83b6c4d8d9e0
2021-06-29 04:06:23 +08:00
Jack Yu
9138a21e70 Made same APN retry maximum counter configurable
The default counter was hardcoded as 3. Made this counter
configurable through carrier config. For infinite retry
the counter could be configured as 2147483647 (i.e. INT_MAX)

Test: atest RetryManagerTest
Fix: 190482957
Change-Id: I1bac995ea208bac9bd9e1b61432135dc4385d036
2021-06-10 21:48:54 +00:00
Jack Yu
d3602b12ee Added service temporarily unavailable support
Added a mechanism for underlying data service to report
service temporarily unavailable. In this case, frameworks
uses the configured retry timer to retry establishing data
connection again.

Fix: 184122463
Test: atest DataConnectionTest
Change-Id: I57705b720b6438d8f9f0076f83decc1c17782f6b
2021-06-08 10:56:09 -07:00
Amit Mahajan
7423e085c5 Merge "Add configurable RSRP boost for 5G NR SA." into sc-dev 2021-06-07 17:00:00 +00:00
Amit Mahajan
ae5f04d42a Add configurable RSRP boost for 5G NR SA.
Test: atest CellSignalStrengthNrTest
Bug: 187679048
Change-Id: Ic6becca786e5f039194ffb48ca572ff1ab7ce305
2021-06-04 11:07:07 -07:00
Sarah Chin
327f915971 Merge "Add function to get APN types as ints from bitmask" into sc-dev 2021-06-04 15:39:14 +00:00
Jayachandran Chinnakkannu
65b0d73c81 Merge "Override equals and hashCode methods for EpsBearerQosSessionAttributes and NrQosSessionAttributes" into sc-dev 2021-06-03 19:35:44 +00:00
Jayachandran C
3d749d67ae Override equals and hashCode methods for EpsBearerQosSessionAttributes and NrQosSessionAttributes
Added equals and hashCode methods to simplify CTS tests

Bug: 183239573
Bug: 184396753
Test: atest android.telephony.cts
Change-Id: I545d940b3e77b40ef13e7ca0e5e7169b97e17f1e
2021-06-03 00:40:55 -07:00
Sarah Chin
6ca27717b2 Add function to get APN types as ints from bitmask
Bug: 181889657
Test: atest DataConnectionTest
Change-Id: I473b6bc3341bc3782b9c53eeca58c2ede18b6702
2021-06-02 15:13:51 -07:00
allenwtsu
0970883d14 [RCS]Add OMA cpm filetransfer feature tag
Bug: 181732613
Test: by manual
Change-Id: I00d71866ac90f9be8ffdc08817b203edfcfbf7fa
2021-06-01 16:42:27 +08:00
Michael Groover
97330830d9 Merge "Update SubscriptionInfo ICCID docs to reflect security patch behavior" into sc-dev 2021-05-27 23:18:46 +00:00
Brad Ebinger
4b097031bf Set all references to SipDelegateImsConfiguration as @removed
SipDelegateImsConfiguration should not be included in the final
API.

Bug: 186118835
Test: atest CtsTelephonyTestCases
Change-Id: I6321ac6d0c9fbcc4258d1a068934d1116b1819cf
2021-05-26 12:55:56 -06:00
TreeHugger Robot
ffe73fdf89 Merge "Add KEY_CARRIER_SUPPORTS_CALLER_ID_VERTICAL_SERVICE_CODES_BOOL for treating *67 and *82 as a temporary mode CLIR when dialing E911" into sc-dev 2021-05-26 17:11:49 +00:00
Shuo Qian
d4dd13c2e3 Add KEY_CARRIER_SUPPORTS_CALLER_ID_VERTICAL_SERVICE_CODES_BOOL for treating *67 and *82 as a temporary mode CLIR when dialing E911
Test: atest
Bug: 182126268
Change-Id: Iab56a59d7cb17e3e8131304fbc906e101bb87b42
Merged-In: Iab56a59d7cb17e3e8131304fbc906e101bb87b42
2021-05-25 23:44:14 +00:00
Michael Groover
c66ef8f279 Update SubscriptionInfo ICCID docs to reflect security patch behavior
Starting in API level 30 SubscriptionInfo getIccId and getCardString
were protected with the new device identifier access requirements
since these return the same value as TelephonyManager
getSimSerialNumber. However since this value was supposed to be
protected by the new device identifier access requirements in API
level 29 a fix was added to security patch 2021-04-05 to enforce these
new requirements for the SubscriptionInfo ICCID APIs. This commit
updates the documentation for these APIs to reflect these new behavior
on these security patch levels.

Bug: 188770462
Test: m offline-sdk-docs
Change-Id: I17e8deb6515b1272e438be6dcbbecb741bd73641
2021-05-25 16:07:30 -07:00
Brad Ebinger
a0dcca7cb5 Remove the deprecated SipDelegate methods pertaining to Dialogs
Remove deprecated APIs pertaining to closeDialog now that all
dependencies on this method have been removed.

Bug: 187747944
Test: atest CtsTelephonyTestCases
Merged-In: I2675d3bd15199c75d70560b7ba529f267ac08970
Change-Id: I2675d3bd15199c75d70560b7ba529f267ac08970
2021-05-25 13:51:06 -07:00
TreeHugger Robot
9e18139343 Merge "Add another OptionsBuilder constructor with the source type as one of its parameter." into sc-dev 2021-05-21 03:41:41 +00:00
Jack Yu
365fb56a56 Merge "API Review: Rename CAPABILITY_ALLOWED_NETWORK_TYPES_USED" into sc-dev 2021-05-19 16:26:18 +00:00
James.cf Lin
2c2ae55759 Add another OptionsBuilder constructor with the source type as one of its parameter.
Bug: 187620915
Test: atest RcsUceAdapterTest ImsServiceTest
Change-Id: I74c69800125f8c4a243e80ed47c5134eda8d5a78
2021-05-19 23:11:40 +08:00
TreeHugger Robot
3e2c6580a5 Merge "Clarify some UCE API docs" into sc-dev 2021-05-19 00:52:27 +00:00
Brad Ebinger
722cacf24d Clarify some UCE API docs
Adds some clarifications for how UCE operates
in Android 12.

Fixes: 188580687
Test: docs only change
Change-Id: I139455c286378ccfac876014656f8d3177bdba9d
2021-05-18 23:00:26 +00:00
Jordan Liu
c5b3080f82 Merge "Call CBS dump in dumpsys" into mainline-prod am: 2d723618c6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14607393

Change-Id: Ie203aa0f62dac0b2d15f3e10ffca6b19e845984d
2021-05-18 22:32:14 +00:00
Mengjun Leng
bbcef295df Optimize SIM phonebook feature with new APIs
1. Declare the constant events for loading and updating SIM contacts.
2. Introduce radio HAL capability to control the SIM phonebook feature.

Bug: 23044962
Change-Id: Ice0cc1cddc832b5ae0f272348503e28842fccbb6
2021-05-18 11:13:56 -07:00
Jordan Liu
dd68fad525 Call CBS dump in dumpsys
Bug: 187447232
Test: dumpsys isms
Change-Id: Ib18c6b411c9430155336b1e8b35f796a09ba429e
2021-05-17 22:58:23 +00:00