Commit Graph

11705 Commits

Author SHA1 Message Date
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
TreeHugger Robot
557e16ba64 Merge "Should not try IMS or EMERGENCY APN for initial-attach." into sc-dev 2021-05-17 20:44:31 +00:00
Meng Wang
77f9e2adfc Should not try IMS or EMERGENCY APN for initial-attach.
This helps to avoid the problem where the auto-generated
IMS or EMERGENCY APN being used for initial-attach due to
racing conditions.

Some carriers may require IMS APN for initial-attach. That case,
the IA type should have been added to the APN explicitly to prevent
the DEFAULT APN from being used.

Bug: 186120396
Change-Id: Ic5e449e514a996f90b815e56fe136ac1f453496e
Test: manual
2021-05-17 12:04:40 -07:00
SongFerngWang
ac127f787f API Review: Rename CAPABILITY_ALLOWED_NETWORK_TYPES_USED
CAPABILITY_ALLOWED_NETWORK_TYPES_USED is renamed CAPABILITY_USES_ALLOWED_NETWORK_TYPES_BITMASK
Bug: 182198501
Test: atest packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/Enable2gPreferenceControllerTest.java
atest frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/RadioConfigResponseTest.java

Change-Id: I6c881873063933876715715c9ec11ff754631581
2021-05-17 16:52:46 +08:00
SongFerng Wang
cf7f7a04d2 Merge "Add carrier config nr_advanced_capable_pco_id_int" into sc-dev 2021-05-11 12:08:19 +00:00
SongFerngWang
6c1f38e18d Add carrier config nr_advanced_capable_pco_id_int
This configuration allows the framework to control the NR advanced
capable by protocol configuration options(PCO).
Bug: 183379536
Test: atest NetworkTypeControllerTest

Change-Id: I241700232325cc852c363e8efe567e14cfc7e0aa
2021-05-10 22:43:14 +08:00
James Lin
6bf12e128b Merge "Add carrier config for the SIP 486 request forbidden and add API for SHELL command to remove the UCE requests cannot be sent the network status." am: 011be0d15a am: b776230e12 am: 50c3a90cb3
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1689574

Change-Id: If268eafc96cf72b9e241290952fc2d005001ea8e
2021-05-09 16:34:36 +00:00
James Lin
50c3a90cb3 Merge "Add carrier config for the SIP 486 request forbidden and add API for SHELL command to remove the UCE requests cannot be sent the network status." am: 011be0d15a am: b776230e12
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1689574

Change-Id: Idf731b0b9ee15a4bb85677cc368b6271ba873bf4
2021-05-09 15:41:09 +00:00
James.cf Lin
cf451204eb Add carrier config for the SIP 486 request forbidden and add API for SHELL command to remove the UCE requests cannot be sent the network status.
Bug: 186131340
Test: atest ImsServiceTest RcsUceAdapterTest
Change-Id: Id3a97fc975764754d6b610478c17a501f65aa229
2021-05-08 07:33:03 +08:00
Hui Wang
4769fd369b Merge "Process rcsVolteSingleRegistration if it is not provided or roaming" into sc-dev 2021-05-07 01:50:24 +00:00
Hui Wang
82b59178a4 Process rcsVolteSingleRegistration if it is not provided or roaming
Bug: 186884505
Test: atest TeleServiceTests:com.android.phone.RcsProvisioningMonitorTest
Test: atest FrameworksTelephonyTests:com.telephony.ims.RcsConfigTest
Change-Id: I800ba7cfda4fdd9bd2590a12c23c33ee72b07396
2021-05-06 00:30:27 +00:00
SongFerngWang
127dc78e43 [security] SubscriptionGroup is exposed to unprivileged callers
SubscriptionInfo.mGroupUUID is not cleared in
conditionallyRemoveIdentifiers if the caller only has READ_PHONE_STATE
(based on a check to checkReadPhoneState) and not READ_DEVICE_IDENTIFIERS.
Bug: 181053462
Test: atest SubscriptionManagerTest

Change-Id: Ic2b62523330dc6e2169ad851715c4ab3da3b29cf
2021-05-05 21:33:00 +08:00
James Lin
f4cd390e06 Merge "Remove the unnecessary RCS API RcsFeature#removeCapabilityExchangeImpl" am: d8ea14e052 am: 3381ad7c79 am: 09608dc5ce
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1695312

Change-Id: I2e2a9fa4f23ebc22909ae9833d1f9fc19f6ce013
2021-05-05 00:37:35 +00:00
James Lin
09608dc5ce Merge "Remove the unnecessary RCS API RcsFeature#removeCapabilityExchangeImpl" am: d8ea14e052 am: 3381ad7c79
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1695312

Change-Id: Ie3cd2987122b9fde47264f03d31baad5b10fe0da
2021-05-05 00:18:45 +00:00
James.cf Lin
1cad8f9faf Remove the unnecessary RCS API RcsFeature#removeCapabilityExchangeImpl
Bug: 184602965
Test: atest -c CtsTelephonyTestCases:android.telephony.ims.cts.ImsServiceTest
Change-Id: Iec5fffecb9a2b8e1fb9ec47608e8316ae844037a
2021-05-04 23:40:18 +08:00
SongFerng Wang
19a0cc7574 Merge "Add CAPABILITY_PHYSICAL_CHANNEL_CONFIG_1_6_SUPPORTED" into sc-dev 2021-05-04 05:17:00 +00:00
Grace Jia
71de23564d Merge "Add support for selected contacts device to device sharing." am: 83bc8699a1 am: a9a60d31bc
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1694227

Change-Id: I88e4170b568b7c7fe1610800d6b6181d171a3abc
2021-05-03 22:30:55 +00:00
Grace Jia
e2099469d2 Add support for selected contacts device to device sharing.
Bug: 163085177
Test: CTS tests
Change-Id: I4f6da463a29ba9cf067d36941a9b4e584012c817
Merged-In: I4f6da463a29ba9cf067d36941a9b4e584012c817
2021-05-03 12:19:27 -07:00
Jordan Liu
b9645629b1 Merge "Update documentation of setUiccApplicationsEnabled" into sc-dev 2021-05-03 17:01:43 +00:00
SongFerngWang
1e3717ef0d Add CAPABILITY_PHYSICAL_CHANNEL_CONFIG_1_6_SUPPORTED
Bug: 185925786
Test: atest NetworkTypeControllerTest
Change-Id: I25f1b05c505ec6631efa742c3da4bea5e6cdd28a
2021-05-03 16:48:03 +08:00
Eran Messeri
84b3b6fb99 Merge "Document access to device identifiers on managed devices" into sc-dev 2021-05-03 07:27:22 +00:00
Jack Yu
259fa8266a Merge changes from topics "unthrottle_apm", "unthrottle_on_tac_changes" am: e4df5d375d am: efa5a0e556
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1692851

Change-Id: I55bcfc699e0891426421b56397a6a48f517b6e9f
2021-05-01 09:33:15 +00:00
Jack Yu
e4df5d375d Merge changes from topics "unthrottle_apm", "unthrottle_on_tac_changes"
* changes:
  Unthrottle data retry in some conditions
  Unthrottle all APNs on APM
2021-05-01 08:53:11 +00:00
Jack Yu
e740257a4a Unthrottle data retry in some conditions
1. Moved the APM unthrottle logic to DataThrottler.
2. Added conditional unthrottle when TAC changes.

Fix: 169648447
Test: Manual
Merged-In: I1a7e413015ccdff3d9358cc85605325a4bff3b33
Change-Id: I1a7e413015ccdff3d9358cc85605325a4bff3b33
(cherry picked from commit c8cf1b02a3)
2021-04-30 22:51:50 -07:00
TreeHugger Robot
543b89ccf3 Merge "Remove obsolete comments." into sc-dev 2021-05-01 00:26:58 +00:00
Brad Ebinger
f902e408e3 Merge "Clarify DelegateManagerCallback based on API review" am: 95fe9715bc am: 4678139c3b am: 8a42a47340
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1690269

Change-Id: Ia04a10a6843e56ca8617bd8fe696416e55a8a284
2021-05-01 00:08:31 +00:00
Brad Ebinger
8a42a47340 Merge "Clarify DelegateManagerCallback based on API review" am: 95fe9715bc am: 4678139c3b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1690269

Change-Id: I992e94cb58883b495bad31361801ce4b809cdf6b
2021-04-30 23:42:41 +00:00
Brad Ebinger
95fe9715bc Merge "Clarify DelegateManagerCallback based on API review" 2021-04-30 22:52:15 +00:00
Amit Mahajan
a55105fe89 Remove obsolete comments.
Test: none
Bug: 140239857
Change-Id: Ia867484683a6651e5dadfab5877b1e8dfbdff659
2021-04-30 15:29:44 -07:00