Commit graph

1051 commits

Author SHA1 Message Date
Treehugger Robot
b3b0b11de3 Merge "Update docs that pdu session id default is 0" 2021-01-13 23:28:38 +00:00
Daniel Bright
a786319a56 Update docs that pdu session id default is 0
Bug: 177387230
Test: N/A
Change-Id: I07eab03934cc0890236a12cfeec5802a75da4abd
2021-01-13 13:18:52 -08:00
Shuo Qian
80b03d7bf2 Gate gsm/cdma radio feature only for emergency dial
Test: vts
Bug: 176862267
Change-Id: I73a6920a94f2f703dc6ae19ad9a511673c9d035d
2021-01-11 22:39:09 +00:00
Treehugger Robot
a3cc90b1c3 Merge "Fixed incorrect retry timer value type" 2021-01-11 18:54:53 +00:00
Shuo Qian
e0a858b1d5 Merge "Skip emergency dialing VTS if device doesn't support radio" 2021-01-08 19:24:47 +00:00
Jack Yu
fd8ff812b3 Fixed incorrect retry timer value type
Since negative values indicates network did not suggest
data retry timer, the type should be signed instead of
unsigned.

Test: Manual
Fix: 159672248
Change-Id: Ibda126c7db6b7e1fef9323d4b2aace37ca13ebc1
2021-01-07 23:21:46 -08:00
Shuo Qian
628a335326 Skip emergency dialing VTS if device doesn't support radio
Test: vts
Bug: 176862267
Change-Id: I9e72ba5cf6cb118cd68f753355f4119d33fe0019
2021-01-07 18:56:25 +00:00
Thiébaud Weksteen
a07d055654 Merge "Add getAllowedNetworkTypesBitmap HAL API" 2020-12-15 12:39:51 +00:00
Yomna Nasser
e8bfa9c4e1 Add getAllowedNetworkTypesBitmap HAL API
Adds corresponding query API getAllowedNetworkTypesBitmap to
existing setAllowedNetworkTypeBitmap.

Test: atest
Bug: 171791177
Change-Id: Ib8f0075dda41d4876a14f7223a067e34626a4675
Merged-In: Ib8f0075dda41d4876a14f7223a067e34626a4675
2020-12-11 21:18:31 +00:00
Shinsuke Ishioka
ede1e95b6c Receive forwarded number from Modem
Adds forwarded number to Call information

Update 1.6 HAL:
- Added Call
- Added getCurrentCalls_1_6
- Added getCurrentCallsResponse_1_6

Test: Build pass.
Bug: 29063067

Change-Id: I8e43439e5638b7820d156d8fc6fe963cf1edf6f0
2020-12-07 11:46:46 +09:00
Mingming Cai
2682ae4273 Merge "Update Hal 1.6 for updated SignalStength" 2020-12-05 02:15:08 +00:00
Treehugger Robot
c8bf0854a4 Merge "Change setDataThrottling window parameter to a long millisecond." 2020-12-04 21:25:08 +00:00
Mingming Cai
20a2f420fb Update Hal 1.6 for updated SignalStength
Update Hal IRadio, IRadioResponse, and IRadioIndiction
for the updated SignalSterength.
Move radio_responce#getSignalStrengthResponse_1_4 to the right block

Bug: 174775680
Test: atest VtsHalRadioV1_6TargetTest
Change-Id: If61ff4f72b44ac5482acd1823153633d5f9bfce9
2020-12-03 13:05:29 -08:00
Jack Nudelman
3f76554417 Change setDataThrottling window parameter to a long millisecond.
As requested by Android Council review of API.

Test: vts

Change-Id: I1f633856c31623ef95f459b2195743f53b5d85fc
Merged-In: I1f633856c31623ef95f459b2195743f53b5d85fc
2020-12-03 19:41:36 +00:00
Mingming Cai
da0d98305d Add CQI and CQI Table Index to Hal 1.6
LteSignalStrength, NrSignalStrength, LteSignalStrength, NrSignalStrength,
CellInfo, and NetworkScanResult are updated accordingly.

Bug: 170771377
Test: make VtsHalRadioV1_6Target, aosp_cf_x86_64_phone-userdebug
Change-Id: If966d5e0c6f505c64cf523c032f6e282c2d24424
2020-12-02 17:17:45 -08:00
Hui Wang
fb202506bb Add VoNR network feature support information
Define data structures for VoNR network feature support information,
and update RegStateResult to allow the information to be reported
through the response of getVoiceRegistrationStateResponse and
getDataRegistrationStateResponse.

Bug: 167991878
Test: make, VTS
Change-Id: I098bd1b6c86cd38be6fbc086b8ebd7b1bb2408fa
2020-12-02 20:10:39 +00:00
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
Jack Yu
78843c1e4f Added global retry support
The retry timer suggested by the network will persist
accross network requests. Also changed the retry timer
to a 64-bit value to be consistent with types used in
Android time APIs.

(clean cherry-pick)

Test: FrameworksTelephonytests
Fix: 159672248
Merged-In: I763afdf34378512c60c0838830cb84875b1c66f0
Change-Id: I763afdf34378512c60c0838830cb84875b1c66f0
2020-11-18 21:32:22 -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
Thiébaud Weksteen
2df6ba0ac2 Merge "Add setAllowedNetworkTypeBitmap" 2020-11-05 19:32:59 +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
Malcolm Chen
f72c5c861e Skip togglingUiccApplicationsSimPresent if it's eSIM empty profile.
Bug: 169802419
Test: run vts on dsds device.
Change-Id: I2319aa6fe86bfc415b1d1ea0aaefb80f4c7ddff3
Merged-In: I2319aa6fe86bfc415b1d1ea0aaefb80f4c7ddff3
2020-11-03 14:07:29 -08: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
Daniel Bright
f8e858b478 Merge "Add Handover Failure Mode to Radio Hal" 2020-10-22 21:38:58 +00:00
Daniel Bright
64c8da6fa0 Add Handover Failure Mode to Radio Hal
On a handover request failure, the modem can now determine
whether or not to fallback.  There is also the option to revert
to the legacy logic.  Following the legacy logic is the default
behavior.

Test: FrameworkTelephonyTests
Bug: 161572465
Change-Id: Iad778e83ffc264ee25f57f54ff58532d6a8c5cbf
Merged-In: Iad778e83ffc264ee25f57f54ff58532d6a8c5cbf
2020-10-21 13:44:26 -07: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
Dan Shi
ea77824cce Fix bad test config for VtsHalRadioV1_4TargetTest
Bug: none
Test: build
Change-Id: Ie0c4895dd201735cc3a441e2e9bd3ac2290833b0
2020-09-14 15:58:10 -07:00
Xin Li
36dcf1a404 Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709)
Bug: 166295507
Merged-In: I6502829205ede2de914b27e6c2c5c42916af2b39
Change-Id: I7cb06511e43bd1fffd5f80a11dbdf5b1314cfe8e
2020-08-28 13:05:04 -07:00
Shuo Qian
721fecbaaf Check emergency dialing result in DSDS or TSTS only if slot is in service or emergency only.
Test: vts
Bug: 156525817
Change-Id: Ic4c735e6d920fc3df28eda7bc3f0b958782bf42d
Merged-In: Ic4c735e6d920fc3df28eda7bc3f0b958782bf42d
(cherry picked from commit 3381ce1f9a2c3ad06b59288e5ba359aa7a89de4e)
2020-08-26 17:00:44 +00: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
Howard Chen
3fec2daf23 Merge "Move HIDL interfaces not included in mainline_system.mk to system_ext" 2020-08-04 02:26:11 +00:00
Howard Chen
a831d6495a Move HIDL interfaces not included in mainline_system.mk to system_ext
Test: aosp_wembley-userdebug
Bug: 161688072
Change-Id: If5f9419697bbd89d35dcd0220b1a80355835a3d1
2020-08-01 16:12:29 +08:00
Sarah Chin
44fde6386b Update language to comply with Android's inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for
reference

Test: build
Bug: 161896447
Change-Id: I3c0d02e1ee94c575c3a18291d438b464d7396463
Merged-In: I3c0d02e1ee94c575c3a18291d438b464d7396463
2020-07-30 21:24:53 +00: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 Chinnakkannu
ea1a77442f Merge "Create IRadio 1.6 folder, empty files and VTS framework" 2020-07-24 01:31:34 +00: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
Sarah Chin
96f358efda Update VTS tests to use GeranBands P900 and 850 instead
Also call stopNetworkScan to prevent DEVICE_IN_USE error

Test: run vts VtsHalRadioV1_4Target, VtsHalRadioV1_5Target
Bug: 159582104
Change-Id: If27cb00fe9eb5cf3ce2e73107ed6463c1ebb7cfd
Merged-In: If27cb00fe9eb5cf3ce2e73107ed6463c1ebb7cfd
2020-07-22 16:00:42 -07:00
Shuo Qian
32a90a06f4 Merge "Change range of SS-RSRQ per 3gpp" 2020-07-15 17:43:24 +00:00