Commit Graph

11872 Commits

Author SHA1 Message Date
TreeHugger Robot
ef33d23d3d Merge "Add another OptionsBuilder constructor with the source type as one of its parameter." into sc-dev am: 9e18139343 am: 642308060c am: 24dc8b704f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14640281

Change-Id: Iaa7e1f77bf872df4ca3c894ff9a71a38a931d1b4
2021-05-21 04:17:36 +00: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
3bd8637adc Merge "API Review: Rename CAPABILITY_ALLOWED_NETWORK_TYPES_USED" into sc-dev am: 365fb56a56 am: 8b5847dbc7 am: c27b799a56
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14550550

Change-Id: I911ef5527dc1191ae36985021c0767c82d634a6e
2021-05-20 04:45:48 +00:00
TreeHugger Robot
692bdaaa6b Merge "Clarify some UCE API docs" into sc-dev am: 3e2c6580a5 am: 0f802d8b34
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14629229

Change-Id: I35efe1bb0a966e5537fd48a2acab48637e79c26b
2021-05-20 00:25:03 +00:00
Jordan Liu
01f01daed2 Merge "Call CBS dump in dumpsys" into mainline-prod am: 2d723618c6 am: c5b3080f82 am: 5b954ad52e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14607393

Change-Id: Ib1d3d6cd01bb3944ccd17003239397d8bd61703d
2021-05-20 00:21:23 +00:00
Sarah Chin
039a8f3a73 Merge "Optimize SIM phonebook feature with new APIs" into sc-dev am: 81d05fcd38 am: fee0397a46
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14521565

Change-Id: I7a32493f0eb3b2c4e9f4bcad9c7e0cfac06947e7
2021-05-20 00:21:13 +00:00
TreeHugger Robot
bcfd5e4582 Merge "Should not try IMS or EMERGENCY APN for initial-attach." into sc-dev am: 557e16ba64 am: 6d33045d1b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14604268

Change-Id: I305288b7ac514087458c4fd5af67583ef3afcfec
2021-05-19 23:24:28 +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
Chen Xu
405b15de70 consistent permission check for getSubIdForPhoneAccount
make sure getSubIfForPhoneAccount, getSubIdForPhoneAccountHandle
and getSubscriptionId has consistent permission check

Bug: 183409662
Test: Manual test
Change-Id: I2521883599479f4350c87b9bd8b09db97f88c9b0
2021-05-17 09:40:24 -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
4a1b77f127 Merge "Add carrier config nr_advanced_capable_pco_id_int" into sc-dev am: cf7f7a04d2
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14486300

Change-Id: I6957a1ceadbf3ced6b05e2349832838999139d89
2021-05-11 12:13:46 +00: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
6cd24ec0dc 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 am: 6bf12e128b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1689574

Change-Id: I18495da59acfdb47cec93fe66d27c14d35862ef3
2021-05-09 16:46:46 +00: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
6a35a3caf5 Merge "Process rcsVolteSingleRegistration if it is not provided or roaming" into sc-dev am: 4769fd369b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14444741

Change-Id: I8053d4f8e6f32f1c104f2ce0907a1cc94dadc703
2021-05-07 01:59:16 +00: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
SongFerng Wang
94d4eff12b Merge "[security] SubscriptionGroup is exposed to unprivileged callers" into sc-dev am: 606c1c77d7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14440165

Change-Id: Id3fe9b06b3af63eee89e519e9c0579e563d71df7
2021-05-06 03:51:04 +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
32f9b5f0e4 Merge "Remove the unnecessary RCS API RcsFeature#removeCapabilityExchangeImpl" am: d8ea14e052 am: 3381ad7c79 am: 09608dc5ce am: f4cd390e06
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1695312

Change-Id: I27a649e3e868eaea123c7a73d36876b9dab4bf58
2021-05-05 01:08:26 +00: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
ba282f82a2 Merge "Add CAPABILITY_PHYSICAL_CHANNEL_CONFIG_1_6_SUPPORTED" into sc-dev am: 19a0cc7574
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14410156

Change-Id: I18edaedd625862e41fb9e2e5122bd07e524c48cf
2021-05-04 05:36:10 +00: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
759a6a329d Merge "Update documentation of setUiccApplicationsEnabled" into sc-dev am: b9645629b1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14330929

Change-Id: I1da4d4c22f7089ba5cb611a99c5fc289f2a74841
2021-05-03 17:17:27 +00: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
9fbb74e0d5 Merge "Document access to device identifiers on managed devices" into sc-dev am: 84b3b6fb99
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14251404

Change-Id: If7656df1f2dcecb055c6ab5f68297f434e765ae2
2021-05-03 07:40:18 +00: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
4a442c371f Merge "Remove obsolete comments." into sc-dev am: 543b89ccf3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14392254

Change-Id: I27afd7025de193cacf87a928b4b8dbceeecb19cf
2021-05-01 00:38:28 +00:00
TreeHugger Robot
543b89ccf3 Merge "Remove obsolete comments." into sc-dev 2021-05-01 00:26:58 +00:00
Brad Ebinger
98416c0491 Merge "Clarify DelegateManagerCallback based on API review" am: 95fe9715bc am: 4678139c3b am: 8a42a47340 am: f902e408e3
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1690269

Change-Id: Ic1d697a8f9c211f93fa363dc2659d45651290a17
2021-05-01 00:15:40 +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