Commit graph

20 commits

Author SHA1 Message Date
Jordan Liu
fb4367c319 Merge "Add VTS for setSimCardPower_1_6" 2020-12-01 22:23:25 +00:00
Sarah Chin
f69abcf78e Create getSystemSelectionChannel API
Test: atest TelephonyManagerTest
Test: atest VtsHalRadioV1_6TargetTest
Bug: 152813408
Change-Id: I6f3f70b7ff1b876ec98086431ed5c557875fca85
Merged-In: I6f3f70b7ff1b876ec98086431ed5c557875fca85
2020-11-30 14:40:01 -08:00
Jordan Liu
8ca952efb9 Add VTS for setSimCardPower_1_6
Bug: 171433370
Test: make vts
Change-Id: I94e265d31c4077f0c06bc9bb47471e1a838f48d4
2020-11-24 13:13:17 -08:00
Jack Nudelman
5cd9414268 HAL changes for ThermalMitigation API.
go/telephony-thermal-mitigation

Bug: 158872959
Test: make, vts

Change-Id: I914993a6e80305732564e0507ca6a74b1c296439
Merged-In: I914993a6e80305732564e0507ca6a74b1c296439
2020-11-21 00:49:48 +00:00
Daniel Bright
3c72fbafce Added pdu session id to setupDataCall
The pdu session id needs to be passed to setup data call on handover

(clean cherry-pick)

Test: Tested that handover still worked with logs.  IWlan -> Cell + Cell -> IWlan
Bug: 161572859
Merged-In: I0e11c8997674cdaad4bb82491d818ca85ee197d1
Change-Id: I0e11c8997674cdaad4bb82491d818ca85ee197d1
2020-11-20 12:22:08 -08:00
Sooraj Sasindran
43e5220d23 Provide secondary link capacity estimation
Provide intrface to get secondary link capacity estimation

Bug: 162373679
Test: build
merged-In: I371f1f8ad820f8b20c972c3310ebe82b3790a577
Change-Id: I371f1f8ad820f8b20c972c3310ebe82b3790a577
2020-11-11 22:20:27 -08:00
Sooraj Sasindran
e9525fdd5f Rename enableNrDualConnectivity
Rename enableNrDualConnectivity to setNrDualConnectivityState

Bug: 162373679
Test: build
Merged-In: Ie8722b82cd235557c47528c2529cbc177e025135
Change-Id: Ie8722b82cd235557c47528c2529cbc177e025135
2020-11-11 22:20:08 -08:00
Daniel Bright
7bfe3131a6 Merge "Allows APN to be unthrottled through an indication" 2020-11-06 05:04:14 +00:00
Daniel Bright
95db21de18 Allows APN to be unthrottled through an indication
* Exposed new radio indication that can unthrottle an APN

Test: N/a
Bug: 167434852
Change-Id: Ic7f0aac140049feac08902458d797388a807bab0
2020-11-05 05:07:24 +00:00
Thiébaud Weksteen
5ae16f33f3 Add setAllowedNetworkTypeBitmap
There are currently two methods that cover the network family types:
setPreferredNetworkType and setPreferredNetworkTypeBitmap. They both
serve a similar purpose and have been previously interpreted as a
suggestion to the modem on the type of networks requested by the OS.

This change introduces a new method (setAllowedNetworkTypeBitmap) which
will coexist with these methods. This new method must be interpreted as
a strict set of Radio Access Technology (RAT) that should be accepted by
the modem.

For instance, one may first use setAllowedNetworkTypeBitmap to exclude
2G technology from the list of usable RAT. Then, they may use
setPreferredNetworkType to describe their preference for 4G.

Test: mm
Bug: 171791177
Change-Id: I7f5fdf9bf5a80c47e9ad838b740b2d6e40ffea60
Merged-In: I7f5fdf9bf5a80c47e9ad838b740b2d6e40ffea60
2020-11-04 10:46:08 +01:00
Jordan Liu
db43f1926e Merge "Update CardState HAL and make setSimPower synchronous" 2020-11-02 23:39:04 +00:00
Daniel Bright
15cc34ae2c Add HAL for pdu session id support
* Add in HAL support for AOSP allocating pdu session ids from modem
* Add in HAL support that notifies modem when a handover has begun and was cannceled
(clean cherry pick)

Test: N/A
Bug: 161572859
Change-Id: I2771b4773381ba68f482a80e743bdbb05a8e59d1
Merged-In: I2771b4773381ba68f482a80e743bdbb05a8e59d1
2020-10-30 12:26:08 -07:00
Jordan Liu
e4f5f02726 Update CardState HAL and make setSimPower synchronous
Bug: 171433370
Test: make; make vts
Change-Id: I0d298209a00f5f194547b0d6e368baa44b0c18ec
Merged-In: I0d298209a00f5f194547b0d6e368baa44b0c18ec
2020-10-30 17:42:48 +00:00
Sooraj Sasindran
a9d461b931 Ability to configure NR dual connectivity
Provide ability to configure EUTRANR dual
connectivity

Bug: 162373679
Test: build
Merged-In: I628edc2d6157ab2db279c2f32deb57798f2dd9ce
Change-Id: I628edc2d6157ab2db279c2f32deb57798f2dd9ce
2020-10-26 00:02:31 -07:00
Tim Lin
e29df60bdc add new RadioError
Support RadioError:RF_HARDWARE_ISSUE and RadioError:NO_RF_CALIBRATION_INFO for
setRadioPowerResponse_1_6().

Bug: 170938075
Test: build. VTS on Cuttlefish.
Change-Id: Iaf582c31f439810db34693c61e58ff1f4dfd19fd
2020-10-23 00:59:16 +00:00
allenwtsu
1c3dcd3289 [SMS] Define new SMS error code in HAL 1.6
Define 3 SMS failure causes.
SIMULTANEOUS_SMS_AND_CALL_NOT_ALLOWD
ACCESS_BARRED
BLOCKED_DUE_TO_CALL

Test: build pass
Bug: 162364146
Change-Id: I3b8b3f238821f2a516f8590f90cba4d603d3783b
Merged-In: I3b8b3f238821f2a516f8590f90cba4d603d3783b
2020-10-16 14:03:03 +08:00
Jayachandran Chinnakkannu
0ba3a5e2e5 Merge "Add indication APIs to expose QOS from LTE and NR bearers" 2020-08-17 22:02:52 +00:00
Jayachandran C
9bc276b2c3 Add indication APIs to expose QOS from LTE and NR bearers
Add indication APIs to expose Quality Of Service (QOS) information
from LTE and NR default as well as dedicated bearers. The QOS is
added to the existing SetupDataCallResult structure so that the
baseband can notify whenever there is a change in QoS on a PDN.

The baseband vendor shall notify the {@link Qos} of the default
bearer at the time of setup data call success. The dedicated bearer
QOS shall be notified whenever network establishes or modfies a
dedicated bearer using dataCallListChanged() API. When network tears
down the dedicated bearer, vendor shall update the same with a empty
{@link QosSession} for the particular data call.

Bug: 158315614
Test: make, VTS
Change-Id: I58cd3fd2cf354de8916aeed1292cd7071e79e184
2020-08-14 14:58:20 -07:00
Dan Shi
ba4d532fee Suppress gtest error for tests without any instance
Bug: 162052785
Test: m -j vts
Change-Id: I8c1a48e6fbd7c8161137902b5332911fa0d7b8b3
2020-07-28 15:12:32 -07:00
Jayachandran C
262b606c1b Create IRadio 1.6 folder, empty files and VTS framework
Bug: 158315614
Test: build
Change-Id: I5d7f7205933ea1b0e4bd70fa6ae006dacb67954f
2020-07-23 11:10:16 -07:00