Commit Graph

11887 Commits

Author SHA1 Message Date
Brad Ebinger
2114adb0b8 Merge "Remove the deprecated SipDelegate methods pertaining to Dialogs" am: e2540fd31f am: bebe46bfb0 am: 1cba9be5c8 am: 0a2f949f56
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1702026

Change-Id: I0832b3b9909a5ad115c07b54b738e45ae5299a99
2021-05-25 22:14:58 +00:00
Brad Ebinger
1cba9be5c8 Merge "Remove the deprecated SipDelegate methods pertaining to Dialogs" am: e2540fd31f am: bebe46bfb0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1702026

Change-Id: Ic5ac0f6a6468b8e4977edf3eef4785a417e57794
2021-05-25 21:26:13 +00:00
Brad Ebinger
e2540fd31f Merge "Remove the deprecated SipDelegate methods pertaining to Dialogs" 2021-05-25 20:48:31 +00:00
Treehugger Robot
df7fddd96e Merge "Should not try IMS or EMERGENCY APN for initial-attach." 2021-05-25 02:48:51 +00:00
James.cf Lin
3a2c53106a Add another OptionsBuilder constructor with the source type as one of its parameter.
Bug: 187620915
Test: atest RcsUceAdapterTest ImsServiceTest
Merged-In: I74c69800125f8c4a243e80ed47c5134eda8d5a78
Change-Id: I74c69800125f8c4a243e80ed47c5134eda8d5a78
2021-05-21 20:32:44 +08:00
Sarah Chin
d4a99869a8 Merge "Optimize SIM phonebook feature with new APIs" 2021-05-21 04:21:15 +00:00
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
Brad Ebinger
bd5ef43130 Merge "Clarify some UCE API docs" 2021-05-19 17:08:42 +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
7fc88ee1c5 Clarify some UCE API docs
Adds some clarifications for how UCE operates
in Android 12.

Bug: 188580687
Test: docs only change
Merged-In: I139455c286378ccfac876014656f8d3177bdba9d
Change-Id: I139455c286378ccfac876014656f8d3177bdba9d
2021-05-18 23:01: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
25eb471790 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
Merged-In: Ice0cc1cddc832b5ae0f272348503e28842fccbb6
2021-05-18 21:28:58 +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
f9a9696242 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
Test: manual
Change-Id: Ic5e449e514a996f90b815e56fe136ac1f453496e
Merged-In: Ic5e449e514a996f90b815e56fe136ac1f453496e
2021-05-17 19:55:06 +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
Hui Wang
fb0990fa0a Merge "Update the format of RCS provisioning config XML" 2021-05-11 20:18:26 +00: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
Brad Ebinger
f43e471124 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
Change-Id: I2675d3bd15199c75d70560b7ba529f267ac08970
2021-05-10 23:14:53 +00:00
Brad Ebinger
0ad0a88143 Merge "Add the REGISTRATION_TECH_NR Tech type" 2021-05-10 21:02:25 +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
Brad Ebinger
500397d3e8 Add the REGISTRATION_TECH_NR Tech type
Adds the new NR registration technology for devices
that support IMS over NR so that the APIs can report
this technology.

Bug: 179724463
Test: atest CtsTelephonyTestCases
Merged-In: I4b0f9882dcf36e2ff7151778cbadb8e83513df5a
Change-Id: I4b0f9882dcf36e2ff7151778cbadb8e83513df5a
2021-05-07 19:08:37 +00: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