Commit Graph

12183 Commits

Author SHA1 Message Date
Sandeep Jawalkar
1319ca53f4 Merge "Adding getSimApplicationState & getSimSlotMapping" 2021-11-25 06:48:12 +00:00
Jack Yu
ea4dd4464b Merge "Added data retry support" 2021-11-24 01:18:35 +00:00
Sandeep Jawalkar
3af224bbbb Merge "[MEP] Temporarily bypassing exception" 2021-11-23 15:38:15 +00:00
sandeepjs
1fb2b00c3a Adding getSimApplicationState & getSimSlotMapping
Adding getSimApplicationState & getSimSlotMapping API in TelphonyManager
Test: atest TelephonyManagerTest#getSimSlotMappingTestReadPermission
Test: atest TelephonyManagerTest#getSimCardStateTest
Test: atest TelephonyManagerTest#getSimSlotMappingTest
Bug: 206718882

Change-Id: I40ec6c8083d9e8718a300b119ceb089648b8dea4
2021-11-23 09:54:34 +00:00
sandeepjs
4b3d0ddd74 [MEP] Temporarily bypassing exception
Temporarily bypassing exceptions until refectoring deprecated callers.
Bug: 202110963
Test: Build

Change-Id: I43b0b06b6f77d59a6edb94a54a85db2207cf3c8e
2021-11-23 06:09:32 +00:00
Jordan Liu
3fec4d4fd7 Do not use portIndex API until implemented
Bug: 207384656
Bug: 207392528
Test: manual
Change-Id: Ief7a17a40abfc91447f5fdc669a263cd2c198ad7
2021-11-22 11:19:24 -08:00
Jack Yu
cc516a8fc1 Added data retry support
1. Support multiple retry interval.
2. Completed data retry manager.
3. Used Google Truth for data unit tests.

Test: Manual & atest DataRetryManagerTest
Bug: 196597630
Change-Id: I04cadac100040054d449892df50e30dc77954082
2021-11-20 13:15:59 -08:00
Jack Yu
69af77931e Added setup/tear down data support
1. Added setup data network support.
2. Hook validation status down to data stall recovery manager.
3. Prelimanary changes before removing TransportManager.
4. Added tear down network support.
5. Added initial attach APN support.
6. Added set data profiles at modem support.

Bug: 196597630
Test: atest DataNetworkControllerTest DataProfileManagerTest DataProfileTest DataNetworkTest
Change-Id: I837606d9e91339c66f2e2cff1a3a76d1029750c6
2021-11-19 21:06:23 -08:00
Jinyoung Jeong
2e8ec6384c Merge "IMS RCS API Improvements-DelegateRegistrationState" 2021-11-20 01:29:11 +00:00
Rambo Wang
75fd11ed81 Merge "Do not allow null signal thresholds in SignalStrengthUpdateRequest" am: b6aa5b7d37 am: 59cd9748a2 am: 14077cf279 am: 62cedb85b9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1894915

Change-Id: I2055309b555c2c42f69ecae9b585c27fce2ed252
2021-11-20 00:02:19 +00:00
Rambo Wang
62cedb85b9 Merge "Do not allow null signal thresholds in SignalStrengthUpdateRequest" am: b6aa5b7d37 am: 59cd9748a2 am: 14077cf279
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1894915

Change-Id: I8cc614be29038baebc2f0c42e66ced7d5d06107a
2021-11-19 23:49:58 +00:00
Rambo Wang
14077cf279 Merge "Do not allow null signal thresholds in SignalStrengthUpdateRequest" am: b6aa5b7d37 am: 59cd9748a2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1894915

Change-Id: I7fc547bcec6a9d16b2a3e148a4fbfaae50f66285
2021-11-19 23:37:50 +00:00
Rambo Wang
59cd9748a2 Merge "Do not allow null signal thresholds in SignalStrengthUpdateRequest" am: b6aa5b7d37
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1894915

Change-Id: I8d106c507913a9f1e0311ac47a5e1da5d34a6ee0
2021-11-19 23:21:26 +00:00
Rambo Wang
b6aa5b7d37 Merge "Do not allow null signal thresholds in SignalStrengthUpdateRequest" 2021-11-19 23:02:16 +00:00
TreeHugger Robot
78c4b345b9 Merge "Deprecate get/setLine1Number in favor of get/setPhoneNumber" 2021-11-19 21:37:49 +00:00
Meng Wang
8665b5105e Deprecate get/setLine1Number in favor of get/setPhoneNumber
Bug: 193539271
Test: make
Change-Id: I09bcdca9d44d6b6a6d4ca00b6d0bba4c45a39bac
2021-11-19 09:56:14 -08:00
Sarah Chin
3259069dc1 Merge "Revert "Add config to use lower of IPv4/IPv6 MTU values"" am: c4631dca14 am: e876040336 am: ae68643606 am: 31b94ebc39
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1891498

Change-Id: I856ae80a1cc9f34be66e116b1515ba04bded045a
2021-11-19 01:23:35 +00:00
Sarah Chin
31b94ebc39 Merge "Revert "Add config to use lower of IPv4/IPv6 MTU values"" am: c4631dca14 am: e876040336 am: ae68643606
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1891498

Change-Id: I31f63cfe7b34fdb932049fc2d5f963f439be5883
2021-11-19 01:12:14 +00:00
Sarah Chin
ae68643606 Merge "Revert "Add config to use lower of IPv4/IPv6 MTU values"" am: c4631dca14 am: e876040336
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1891498

Change-Id: I639b4abbe3c55be6803ba7c9fc2584d1aaf93c87
2021-11-19 00:47:35 +00:00
Sarah Chin
e876040336 Merge "Revert "Add config to use lower of IPv4/IPv6 MTU values"" am: c4631dca14
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1891498

Change-Id: Ib824a3c982a8dbfafb6b9770bad1a6a1859da568
2021-11-19 00:29:27 +00:00
Sarah Chin
c4631dca14 Merge "Revert "Add config to use lower of IPv4/IPv6 MTU values"" 2021-11-19 00:23:49 +00:00
Xin Li
10d9972786 Merge sc-qpr1-dev-plus-aosp-without-vendor@7810918
Bug: 205056467
Merged-In: I13199bc39e9445929195f3d15579cbffe94e92b0
Change-Id: I35fa3c6c2abf679c51033f1395a08d511ed8739f
2021-11-18 17:00:37 +00:00
Jordan Liu
6f98f06a96 Merge "Add portIndex for switch subscription API" 2021-11-17 21:32:52 +00:00
Gary Jian
2b333b992b Merge "Make KEY_VONR_SETTING_VISIBILITY_BOOL default to true" into sc-v2-dev am: 02183c88aa am: 823a1964d7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16253973

Change-Id: Ic0f753719f60c1ef863b4751ca98b9db3429b9db
2021-11-17 02:03:20 +00:00
Rambo Wang
511e11af60 Do not allow null signal thresholds in SignalStrengthUpdateRequest
SignalStrengthUpdateRequest is designed to not allow null nor empty
signal thresholds for public apps.

To support system privileged app (Bluetooth) which is only interested
in requiring to report system thresholds while idle. An exemption was
made (aosp/1569861) which was to allow empty thresholds but the null
thresholds was also allowed by mistake. This will cause Bluetooth
crash if no signal thresholds are set.

To fix the issue, we only allow Bluetooth to set EMPTY thresholds
but not null one.

Bug: 205585585
Test: atest SignalStrengthUpdateRequestTest
Change-Id: I245ecb87ab807a6005b32fa320c8820a2c0b1a9e
2021-11-16 17:51:34 -08:00
Gary Jian
823a1964d7 Merge "Make KEY_VONR_SETTING_VISIBILITY_BOOL default to true" into sc-v2-dev am: 02183c88aa
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16253973

Change-Id: I706ed856f6ad541e62e80d744405ecacc10bf244
2021-11-17 01:46:17 +00:00
Meng Wang
5caf17cea6 Merge "Add getPhoneNumber/setPhoneNumber API" 2021-11-17 00:36:15 +00:00
Jordan Liu
95c4643204 Add portIndex for switch subscription API
Bug: 205504646
Test: manual (builds, will not be functional until LPA implementation)
Change-Id: Ic289538f5df17c03b2f8da7f4966c583d4557586
2021-11-16 14:03:38 -08:00
Hunsuk Choi
bbd1c48986 Merge "Add ImsStateCallback" am: b636aacf1d am: 267ee57f27
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1892996

Change-Id: I54b90d5ecdd265279fca2503e5414fe0c31b2e54
2021-11-16 20:11:46 +00:00
Hunsuk Choi
b636aacf1d Merge "Add ImsStateCallback" 2021-11-16 19:26:16 +00:00
Meng Wang
0594b4f490 Add getPhoneNumber/setPhoneNumber API
Bug: 193539271
Test: make
Change-Id: Iac651f2ca4269f20a2c7e87c7b6edf1d6c992867
2021-11-16 11:16:10 -08:00
Chen Xu
d3fa0c2f19 Merge "[MEP] Platform initial support for eSim Multiple Enabled Profiles." am: e1e1bf599b am: a30c964449
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1893000

Change-Id: I8c97bf809445bc247f0f0a6935a032fad96a611c
2021-11-16 18:10:24 +00:00
Sandeep Jawalkar
89d29b89d1 Merge "[MEP] eSIM API refactor to support MEP" 2021-11-16 16:46:03 +00:00
Muralidhar Reddy
fb1b6a3056 [MEP] Platform initial support for eSim Multiple Enabled Profiles.
Port concept is introduced to support MEP feature. Refactoring UiccController, UiccCard, and
UiccProfile to add UiccPort between UiccCard and UiccProfile. Most of the UiccCard functioning is
moved to UiccPort.

Added default port index value of uicc card.

Bug: 199559346
Test: Manual
Change-Id: Iaf6af6d5573976a6f85a36570900fb03778e1909
Merged-In: Iaf6af6d5573976a6f85a36570900fb03778e1909
2021-11-16 13:42:26 +00:00
Hunsuk Choi
9725d66837 Add ImsStateCallback
registerImsStateCallback and unregisterImsStateCallback are
added to ImsMmTelManager, ImsRcsManager, and SipDelegateManager.
Those are used to receive updates about the connection state
of the underlying ImsService.

Bug: 178016400
Test: atest ImsStateCallbackTest

Change-Id: If547ce637725d4f98942b0b554187a0ba91f60de
Merged-In: If547ce637725d4f98942b0b554187a0ba91f60de
Merged-In: I3ac14cc3bcb28f5f966a1b3c215727784527e475
2021-11-16 01:55:41 +00:00
Hunsuk Choi
511be9a373 Merge "Update ITelephony#registerImsStateCallback" 2021-11-15 23:00:40 +00:00
Gary Jian
eaa09ebfab Make KEY_VONR_SETTING_VISIBILITY_BOOL default to true
Bug: 205809218
Test: make
Change-Id: I02ea3ad61a0dc1cd09f0bd541008de0e46e3d0ab
2021-11-15 19:26:34 +08:00
Sarah Chin
04f35340bf Revert "Add config to use lower of IPv4/IPv6 MTU values"
This reverts commit dc7260ad33.
AT&T MTU fix is live, so this change can be reverted now.

Bug: 169608987
Test: atest DataConnectionTest
Change-Id: I60a350960bb14242efd5dca1b93b633e395e7376
2021-11-12 17:31:19 -08:00
sandeepjs
177c4a4d02 [MEP] eSIM API refactor to support MEP
Newly added UiccPortInfo and UiccSlotMapping classes and introduced
UiccPortInfo as a port list in UiccCardInfo and UiccSlotInfo,
Deprecated some constructors and updated callers.
Test: build
Bug: 159354974
Change-Id: I71e4e1ef649b7301d126dde23d53783761de940f
2021-11-12 10:11:22 +00:00
Shivakumar Neginal
35995c0680 Fix NullPointerException during sip delegate creation.
SipDelegateAidlWrapper should be able to accept a null set of deniedTags
as per @Nullable tag. Detect the null condition and use empty set.

Bug: 204504765
Test: Manual
Change-Id: Ifadd47decabcad34cc4fcd542ad205f082babbd8
2021-11-12 03:37:39 +00:00
Gary Jian
6b576ad443 Merge "Added nr advanced calling settings support" am: ec84453381 am: c366188272
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1885736

Change-Id: I981d300ed36a522f6ba39bad485cabe7f71926a8
2021-11-12 02:39:05 +00:00
Gary Jian
ec84453381 Merge "Added nr advanced calling settings support" 2021-11-12 02:19:38 +00:00
TreeHugger Robot
ae0f5315ad Merge "Adds new configs to support 5g+4g opportunistic switching." into sc-v2-dev 2021-11-11 19:32:45 +00:00
Jack Nudelman
3f79d962ca Merge "Unhide Builder, getter, and constructor which includes radioAccessSpecifiers" am: 06fbb6a862 am: ea3aef4cd5 am: 431e03e68e am: e60821f82c am: e1d7e976be
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1873973

Change-Id: I62f65d07cd9eca33c098350ba26e7c5835d9e94f
2021-11-11 17:18:28 +00:00
Jack Nudelman
d9bcad571f Merge "Adds new configs to support 5g+4g opportunistic switching." am: 74b0f76048 am: ccfa8c625d am: 5feaf674ad am: 7bc259776e am: 2e9fa47e9c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1887096

Change-Id: I68562499beba089b34ebeb5dd7e5718611849ccc
2021-11-11 17:17:31 +00:00
Jack Nudelman
e1d7e976be Merge "Unhide Builder, getter, and constructor which includes radioAccessSpecifiers" am: 06fbb6a862 am: ea3aef4cd5 am: 431e03e68e am: e60821f82c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1873973

Change-Id: Ibc1463c7cc3c947ce14c10cfaf8e4b0d6403db61
2021-11-11 16:58:50 +00:00
Jack Nudelman
2e9fa47e9c Merge "Adds new configs to support 5g+4g opportunistic switching." am: 74b0f76048 am: ccfa8c625d am: 5feaf674ad am: 7bc259776e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1887096

Change-Id: I7d623a58a0fffbd27d98221ecd886f11e938841b
2021-11-11 16:58:19 +00:00
Jack Nudelman
e60821f82c Merge "Unhide Builder, getter, and constructor which includes radioAccessSpecifiers" am: 06fbb6a862 am: ea3aef4cd5 am: 431e03e68e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1873973

Change-Id: Iebe0a08423ee7e01e74c7acae27e14e8d1c66e0e
2021-11-11 16:42:25 +00:00
Jack Nudelman
7bc259776e Merge "Adds new configs to support 5g+4g opportunistic switching." am: 74b0f76048 am: ccfa8c625d am: 5feaf674ad
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1887096

Change-Id: I0e3b352174984f8f2dedf2718eff5104a0ba0edd
2021-11-11 16:41:51 +00:00
Jack Nudelman
06fbb6a862 Merge "Unhide Builder, getter, and constructor which includes radioAccessSpecifiers" 2021-11-11 16:02:01 +00:00