Commit graph

1122 commits

Author SHA1 Message Date
Jack Yu
83d85178f1 Merge "Fixed the obsolete VTS owners" 2021-05-19 07:07:07 +00:00
Jack Yu
36b3af727d Fixed the obsolete VTS owners
Fix: 188209583
Test: None
Merged-In: I783cdedaad088ec1c52c2edfbea08f83c9b7a432
Change-Id: I783cdedaad088ec1c52c2edfbea08f83c9b7a432
(cherry picked from commit 879b3c0809)
2021-05-18 18:09:59 -07:00
Aaron Tsai
cbfd8e2d10 Fix emergencyDial tests in VTS 1.6
- Change to calling getVoiceRegistrationState_1_6() instead of getVoiceRegistrationState().
 - Fix incorrect voice registration state value

Bug: 187488263
Test: atest VtsHalRadioV1_6TargetTest
Change-Id: Iba5dcef20683bc6dca00b1c49899cfec5e1aac03
2021-05-19 00:40:14 +00:00
Treehugger Robot
9f7a1e8317 Merge "Adding 1s time gap between slot1 & slot2 setDataThrottling tests" 2021-05-14 06:13:08 +00:00
Aaron Tsai
845f0fbd1e Fix VTS crash for getAvailableNetworks in Radio 1.6
Bug: 187494016
Test: atest VtsHalRadioV1_6TargetTest -- --test-arg com.android.tradefed.testtype.GTest:native-test-flag:"--gtest_filter=*getAvailableNetworks/0_slot1"
Change-Id: I3a3b5a0121cc97fbf6782da863d0ff6226504ee8
2021-05-12 20:31:07 +00:00
Aaron Tsai
b10493e757 Adding 1s time gap between slot1 & slot2 setDataThrottling tests
Modem has restriction that it can not process back-to-back thermal actions.
  For DSDS device, after slot-1 test finished, a 1s delay is needed before start slot-2 test.

Bug: 187968151
Test: atest VtsHalRadioV1_6TargetTest -- --test-arg com.android.tradefed.testtype.GTest:native-test-flag:"--gtest_filter=*setDataThrottling*"
Change-Id: I052d0d9c7c0ccc86a7590204679295268973c6cf
2021-05-12 20:27:27 +00:00
Aaron Tsai
47e14e567f Adding 1s time gap between back-to-back calling setDataThrottling API
Modem has restriction that it can not process back-to-back thermal actions.
Adding 1s delay to prevent unexpected errors.

Bug: 181634712
Test: atest VtsHalRadioV1_6TargetTest -- --test-arg com.android.tradefed.testtype.GTest:native-test-flag:"--gtest_filter=*setDataThrottling/0_slot1"
Change-Id: I70a717cbc3a63d5b1abb4be9d3920d0ee3451b14
2021-04-23 02:35:23 +00:00
Jack Yu
91ce32adb9 Merge "radio: Add VTS test for OperatorInfo.operatorNumeric" 2021-04-21 20:13:56 +00:00
Sooraj Sasindran
0cb21f39ae Merge "Use 0 as link capacity estimate if device is not connected" 2021-04-21 19:05:36 +00:00
SongFerng Wang
9d38b91d8d Merge "modemReducedFeatureSet add PhysicalChannelConfig_1_6 item" 2021-04-21 17:32:27 +00:00
Sooraj Sasindran
6e9d3413e1 Use 0 as link capacity estimate if device is not connected
Use 0 as link capacity estimate if device is not connected instead of -1

Bug: 184663919
Change-Id: Id634c7e32200b5d94eed36cefbee6ba8babc8f26
Test: only documentation change
2021-04-21 10:10:15 -07:00
Treehugger Robot
251b679e22 Merge "Update documentation for secondary bandwidth" 2021-04-21 16:58:36 +00:00
Sooraj Sasindran
6985b64a95 Update documentation for secondary bandwidth
Update documentation for secondary bandwidth to indicate that
some modems do not support this feature

Test: build
Bug: 162373679
Change-Id: I03d4079e03817fe7c7b52eb18058c49e54302d6b
Merged-In: I03d4079e03817fe7c7b52eb18058c49e54302d6b
2021-04-21 16:46:50 +00:00
Treehugger Robot
92c127f961 Merge "[ANAPIC Review] Remove config 1.3 hal" 2021-04-21 16:03:35 +00:00
SongFerngWang
09a94cc486 modemReducedFeatureSet add PhysicalChannelConfig_1_6 item
Bug: 185925786
Test: build pass
Change-Id: I7d0c1b2534f50bbb445e2929b2807da0835d6bfe
Merged-In: I7d0c1b2534f50bbb445e2929b2807da0835d6bfe
2021-04-21 17:14:29 +08:00
Zoey Chen
a7ea6affd2 [ANAPIC Review] Remove config 1.3 hal
Bug: 183738012
Test: build
Change-Id: Ie0eec5576d08ddcd9a8f5ee1a1d9e2b32772653e
Merged-In: Ie0eec5576d08ddcd9a8f5ee1a1d9e2b32772653e
2021-04-21 17:07:05 +08:00
Zoey Chen
532dcfd48a [ANAPIC Review] Modify radio 1.6 based on ANAPIC comment
- setupDataCall_1_6, remove "same as 1.5" comment
 - sendSMSExpectMore to sendSmsExpectMore
 - getAllowedNetworkTypesBitmap should use int32_t
 - csiCqiReport uses uint8_t
 - cellBandwidthDownlinkKhz and cellBandwidthUplinkKhz
 - AccessTechnologySpecificInfo, remove these struct NgranRegistrationInfo and GeranRegistrationInfo

Bug: 183738486
Test: make
Change-Id: Icae28d68831bbd01836b8d464e8ece134a9aa63d
Merged-In: Icae28d68831bbd01836b8d464e8ece134a9aa63d
2021-04-21 05:12:17 +00:00
Luca Stefani
ee8e17f9a7 radio: Add VTS test for OperatorInfo.operatorNumeric
* QCOM likes to not follow the HAL definition
  by appending extra data with a "+"

Test: m
Change-Id: I40b3268a7de7a5e60ba0633e387d12a645895109
2021-04-15 19:48:47 +02:00
Treehugger Robot
be01266c63 Merge "Allow INVALID_STATE to be returned for setNrDualConnectivity" 2021-04-15 01:23:46 +00:00
Jack Yu
147f2d061f Explicitly require empty list when the device is idle
Added explicit comment for the PhysicalChannelConfig behavior
when device is in RRC idle.

Bug: 183379536
Test: Build
Change-Id: I12dedd8a2728fdb7aa91a1de65e0e0d78af14929
2021-04-13 00:39:22 +00:00
Sooraj Sasindran
149f4a3f94 Allow INVALID_STATE to be returned for setNrDualConnectivity
Allow INVALID_STATE to be returned for setNrDualConnectivity
as modem may disable NR NSA for some carriers

Bug: 184571795
Test: build
Change-Id: Ie99ac2dd4ee33180d5ae2fa8a74ab90f533d1df4
2021-04-12 15:07:48 -07:00
Treehugger Robot
4c912d9042 Merge "Fix setCarrierInfoForImsiEncryption in VTS 1.6" 2021-03-25 07:23:39 +00:00
Robert Greenwalt
3e9cb7bc7b Merge "Optimize SIM phonebook feature with new batch APIs" 2021-03-24 20:33:50 +00:00
Treehugger Robot
b1fe78fb63 Merge "Fix emergencyDial_1_6_withServices in VTS 1.6" 2021-03-24 19:03:46 +00:00
Mengjun Leng
48966f0583 Optimize SIM phonebook feature with new batch APIs
1. Declare new request and response for loading and updating SIM
contacts.
2. Add data dispatch function for new reponse and request APIs.

Bug: 23044962
Change-Id: I43d196c84558d7951d85bc938672091edeb378ec
2021-03-23 10:33:58 -07:00
Jack Nudelman
55091e2ab4 Merge "Allow REQUEST_NOT_SUPPORTED when requesting data throttling from modem." 2021-03-22 11:38:10 +00:00
Aaron Tsai
f1762ea817 Fix setCarrierInfoForImsiEncryption in VTS 1.6
Bug: 181635271
Test: atest VtsHalRadioV1_6TargetTest
Change-Id: I1297962c21e3e7f82cbe9bc9e28438f1fb9c8457
2021-03-22 11:03:24 +00:00
Aaron Tsai
60c0e06ec3 Fix emergencyDial_1_6_withServices in VTS 1.6
Bug: 181634738
Test: atest VtsHalRadioV1_6TargetTest
Change-Id: I66020bc8220a86bd08f595662f38a7cce8e07df4
2021-03-22 11:03:08 +00:00
Shuo Qian
b840a0cdd3 Merge "Fix emergencyDialResponse in VTS 1.6" 2021-03-16 19:42:56 +00:00
Shuo Qian
2b254862a7 Fix emergencyDialResponse in VTS 1.6
Test: vts
Bug: 182496282
Change-Id: Ifdd60210ec30dd0a576cb366ad49c9bfe1924938
2021-03-15 23:21:46 +00:00
Jack Nudelman
ace227242e Allow REQUEST_NOT_SUPPORTED when requesting data throttling from modem.
Test: make
Bug: 173806949
Change-Id: Icbf1febdc489e8b8cea91fcc4a149afafb01b1b9
2021-03-15 10:43:46 -07:00
Sooraj Sasindran
4b272a5b68 ALLOW REQUEST_NOT_SUPPORTED for nr dual connectivity config
ALLOW REQUEST_NOT_SUPPORTED for nr dual connectivity configuration
and query

Bug: 181648176
Test: build
Change-Id: Iaa64b018a07367ea9d68783ecec1ea1a616ad6b4
2021-03-12 13:34:48 -08:00
Amit Mahajan
ca2a225881 Simplify slicing related structs.
Test: atest VtsHalRadioV1_6TargetTest
Bug: 178075054
Merged-in: I6f711321ff8825e86b3d1da20ea985e81088eae0
Change-Id: I6f711321ff8825e86b3d1da20ea985e81088eae0
2021-03-11 18:23:04 +00:00
Rambo Wang
6e1ce4d3c9 Merge "Deprecates obsoleted radio hal interfaces" 2021-03-10 01:31:12 +00:00
Rambo Wang
5ccc4bbf45 Skip radio VTS test cases on deprecated interfaces
The following interfaces are deprecated:
- startLceService
- stopLceService
- pullLceData
- lceData
- setSimCardPower
- setIndicationFilter
- setupDataCall
- deactivateDataCall
- startNetworkScan
- startNetworkScan_1_2

All related VTS test cases will be skipped when testing with higher
version radio hal releases with REQUEST_NOT_SUPPORTED response.

Bug: 170288130
Test: atest VtsHalRadioV1_0TargetTest VtsHalRadioV1_1TargetTest
VtsHalRadioV1_2TargetTest

Change-Id: Ie905540d36a07b5557220ef00c4cb17d41cbe74b
2021-03-09 10:22:16 -08:00
Treehugger Robot
26629e8698 Merge "Get Radio Hal Capabilities in VTS" 2021-03-09 17:58:46 +00:00
SongFerng Wang
d24ac0c097 Merge "Rename AllowedNetworkType to AllowedNetworkTypes" 2021-03-09 12:44:22 +00:00
Rambo Wang
b6e354680f Deprecates obsoleted radio hal interfaces
Makes a ABI preserving change to radio hal by adding deprecation
comments for following interfaces:
- startLceService
- stopLceService
- pullLceData
- lceData
- setSimCardPower
- setIndicationFilter
- setupDataCall
- deactivateDataCall
- startNetworkScan
- startNetworkScan_1_2

Bug: 170288130
Test: make
Merged-In: I4563b7081dec6fa64b7faff7c8e3c2c3b1239880
Change-Id: I4563b7081dec6fa64b7faff7c8e3c2c3b1239880
(cherry picked from commit 1fd7cb029b)
2021-03-09 01:06:15 +00:00
Daniel Bright
2c0d2f175b Get Radio Hal Capabilities in VTS
* Created utility method in v1_6 HAL to access radio hal capabilities
* Created static library to support getting the capaiblities response
* Created RadioResponseWaiter to encapsulate the notify \ wait logic
  used when waiting for an asynchronous response from the HAL
* Usage: if (getRadioHalCapabilities().modemReducedFeatureSet1) { ... }

Bug: 181895757
Test: Accessed default hal capabilities
Change-Id: Ie0a727d4e9d268ad03cf3fa793aa456a95c89f5b
Merged-In: Ie0a727d4e9d268ad03cf3fa793aa456a95c89f5b
2021-03-08 13:56:05 -08:00
Shuo Qian
9ea18728f9 Change range of SS-RSRQ per 3gpp
Bug: 159761054
Test: VTS
Merged-In: I377ef00015876b706ffeb20d9255c1b1ebf66c15
Change-Id: I377ef00015876b706ffeb20d9255c1b1ebf66c15
(cherry picked from commit cd3fd87d47)
2021-03-04 01:17:27 +00:00
SongFerngWang
f92b61c2db Rename AllowedNetworkType to AllowedNetworkTypes
Reference the ag/q/topic:%22b_171791177%22+(status:open%20OR%20status:merged)
and ag/q/topic:"getAllowedNetworkTypeBitmap"+(status:open%20OR%20status:merged)

Bug: 161434786
Test: build pass
Change-Id: Iee919a40153f680d6a8b81dc88d8fa2bd1e8d343
Merged-In: Iee919a40153f680d6a8b81dc88d8fa2bd1e8d343
2021-03-04 00:21:25 +08:00
Sarah Chin
912e6062ab API updates for TrafficDescriptr fields
Bug: 179312227
Test: atest VtsHalRadioV1_6TargetTest
Change-Id: I33018ad413875f4fae1497ed5acc8ee50df7c942
Merged-In: I33018ad413875f4fae1497ed5acc8ee50df7c942
2021-03-02 17:28:10 -08:00
Sarah Chin
3c24b7500a Merge changes from topics "5g_slicing_hal_vts_on_aosp_1st_part", "5g_slicing_hal_vts_on_aosp_2nd_part"
* changes:
  Support SlicingConfig for 5G Slicing Configuration
  Update HAL 1.6 for 5G Slicing
2021-03-02 22:56:06 +00:00
Jack Yu
6c012ab219 Explictly disallow LTE_CA as a RAT type
LTE_CA is not an actual RAT type defined by 3GPP spec. Vendor
should use the proper APIs to report carrier aggregation.

Fix: 181385251
Test: Build
Change-Id: I72cd8dade73470e7315a21e32fff72b93c08f1f7
2021-02-27 00:44:45 -08:00
Rambo Wang
64f7fc8dde Merge "Format all Android.bp files with bpfmt to pass bpfmt buildin hook" 2021-02-26 20:57:53 +00:00
Hongbo Zeng
b1ea8dbc19 Support SlicingConfig for 5G Slicing Configuration
- add new HAL APIs getSlicingConfig() and getSlicingConfigResponse()
- create structs SlicingConfig, UrspRule, RouteSelectionDescriptor,
  RouteSelectionDescriptorParams, Nssais, and RejectedSliceInfo
- add SliceRejectionCause

Bug: 178075054
Test: run "atest VtsHalRadioV1_6TargetTest" and check the result for
      getSlicingConfig is PASSED
[3/13] PerInstance/RadioHidlTest_v1_6#getSlicingConfig/0_slot1: PASSED (15ms)

Change-Id: I5dc97d3c49d0bf4726975a5558360ebf9c09224b
Merged-In: I5dc97d3c49d0bf4726975a5558360ebf9c09224b
2021-02-26 16:19:49 +08:00
Hongbo Zeng
55487e1e79 Update HAL 1.6 for 5G Slicing
- add trafficDescriptor and matchAllRuleAllowed to setupDataCall
- add trafficDescriptors to SetupDataCallResult
- create structs TrafficDescriptor and OSAppId base on the
  definition in TS 24.526 Section 5.2
- add MATCH_ALL_RULE_NOT_ALLOWED and ALL_MATCHING_RULES_FAILED
  as DataCallFailCause

Bug: 178075054
Test: make VtsHalRadioV1_6TargetTest
Change-Id: Ibf6d92d50c8c2c3fce51522677d75bf33127320f
Merged-In: Ibf6d92d50c8c2c3fce51522677d75bf33127320f
2021-02-26 16:15:15 +08:00
Treehugger Robot
20a99acbfb Merge "IRadio 1.6: Public Key Type For IMSI Encryption" 2021-02-26 05:37:25 +00:00
Treehugger Robot
f93ea0d270 Merge "Specify which features the reduced feature set affects" 2021-02-26 04:03:22 +00:00
Treehugger Robot
89db74b504 Merge "Added javadoc to apn retry \ throttling related methods" 2021-02-22 16:43:56 +00:00