Commit graph

1148 commits

Author SHA1 Message Date
sandeepjs
e4bee9de18 [Android T][MEP]: HAL changes for MEP feature
Test: build
Bug: 199559065
Change-Id: I533c73bed0235fe58a583f04ca66d4bc9e08ced0
2021-10-05 02:57:17 +00:00
Sarah Chin
719715821d Move IRadioConfig into IRadio
Test: build
Bug: 198331451
Change-Id: I884aab7c6d76ef9610e3d239e9fbfe9e6568bfff
2021-09-23 23:18:15 -07:00
Sarah Chin
bca4e6c104 Create IRadio modules
Test: build
Bug: 198331451
Change-Id: I6721498d5a0f535fa2fdfac7485765c740e82682
Merged-In: I6721498d5a0f535fa2fdfac7485765c740e82682
2021-09-23 03:54:28 +00:00
Serik Beketayev
c2117d0c68 [IRadioConfig] Generating AIDL definitions
Generated IRadioConfig.aidl and dependencies using tool
hidl2aidl.

Bug: 198331805
Test: m android.hardware.radio.config
Change-Id: I231f9b2eff50e7a0558dd79e85613b626c7cfb52
Merged-In: I231f9b2eff50e7a0558dd79e85613b626c7cfb52
2021-09-20 17:32:19 -07:00
Shuo Qian
5ecd476e5a Skip Slot 2 in Radio VTS 1.0 in single sim mode
Test: atest VtsHalRadioV1_0TargetTest
Bug: 199986032
Change-Id: If296df349aa7f87932f5bb24896f0a3fdd347f5d
Merged-In: If296df349aa7f87932f5bb24896f0a3fdd347f5d
(cherry picked from commit 6a56b7fa87)
2021-09-20 17:58:10 +00:00
Bob Badour
b8995451aa [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces
Added SPDX-license-identifier-Apache-2.0 to:
  bluetooth/1.0/default/test/fuzzer/Android.bp
  keymaster/4.0/support/fuzzer/Android.bp
  radio/aidl/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: Id9c8b253a2402a07637f96281bcdaffbf3afc3c3
2021-09-13 17:50:14 -07:00
Treehugger Robot
de1aba4e76 Merge "Allow not supported for setNrDualConenctivity" 2021-09-14 00:33:23 +00:00
Treehugger Robot
eb133de2e1 Merge "Sending SMS via 1.6 APIs in VTS 1.6" 2021-09-13 23:13:02 +00:00
Sarah Chin
e267570c60 API changes for IRadio AIDL conversion
Consider feedback from aosp/1740274 and API changes mentioned in the
design document.

Bug: 198331182
Test: build
Change-Id: I27da6dbec5f2d65873cbb84d363eebc8d57b116d
Merged-In: I27da6dbec5f2d65873cbb84d363eebc8d57b116d
2021-09-13 18:38:22 +00:00
Sooraj Sasindran
fad801b8a8 Allow not supported for setNrDualConenctivity
Allow not supported for setNrDualConenctivity

Bug: 193101785
Test: verified on 4G only device
Change-Id: I7c7e926819d305d210da988503716eb5d3c2e333
2021-09-10 10:11:35 -07:00
Aaron Tsai
b66cebd3a2 Sending SMS via 1.6 APIs in VTS 1.6
Bug: 195097899
Test: atest VtsHalRadioV1_6TargetTest -- --test-arg com.android.tradefed.testtype.GTest:native-test-flag:"--gtest_filter=*send*/0_slot1"
Change-Id: I19ead8a4e1ab2f1e4ddb3f55edacd4b51990f9cd
2021-09-10 09:23:35 +00:00
Sarah Chin
9cdc2a6c1a Create IRadio AIDL
Create IRadio AIDL from HIDL versions 1.0-1.6 using the hidl2aidl tool.
This is just a skeleton implementation to allow 1.7 APIs to be added to
the AIDL interface. Changes to the API surface and modularization to
come after this change is merged.

Test: build
Bug: 198331182
Change-Id: Ice71b7c159b98de8b36124f379167fb579a4ea2f
Merged-In: Ice71b7c159b98de8b36124f379167fb579a4ea2f
2021-09-08 10:32:27 -07:00
Hongbo Zeng
c39d782a95 move the fields in RouteSelectionDescriptorParams to RouteSelectionDescriptor
Bug: 178075054
Test: full build pass
Change-Id: I283514bd63cb3ae7c37d8e3d4740e38f7e79a09e
Merged-In: I283514bd63cb3ae7c37d8e3d4740e38f7e79a09e
2021-09-07 10:40:26 -07:00
Treehugger Robot
89c6a406e6 Merge "Backfill owner information for VTS module VtsHalSapV1_0TargetTest." 2021-09-04 04:57:24 +00:00
Yiming Pan
004cbc257a Backfill owner information for VTS module VtsHalSapV1_0TargetTest.
Each VTS module is required to have OWNERS file. The ownership is based on
go/vts-owners. For more information about ownership policy, please visit
go/xts-owners-policy.

Test: Tree Hugger
Bug: 143903671
Change-Id: I95b03cb4a8e97726fca23e25060c255b48ebb428
2021-08-30 12:53:46 -07:00
Treehugger Robot
7f23524b2c Merge "Add OWNERS for VTS module VtsHalRadioConfigV1_0TargetTest" 2021-08-23 17:27:11 +00:00
Yiming Pan
b2cbc2e737 Add OWNERS for VTS module VtsHalRadioConfigV1_0TargetTest
Each VTS module is required to have OWNERS file. The ownership is based on
go/vts-owners. For more information about ownership policy, please visit
go/xts-owners-policy.

Test: Tree Hugger
Bug: 143903671
Change-Id: I52ee70699013d0e1fa4283f7c7d0767aa83aa081
2021-08-20 16:21:53 -07:00
Aaron Tsai
772801bf8a Waiting 10s at the beginning of getBarringInfo test if not yet in-service.
If the previous setRadioPower_1_5_emergencyCall_cancelled test has just finished. Due to radio restarting, modem may need a little more time to acquire network service. Otherwise, the barring info will be empty.

Bug: 191866257
Test: atest VtsHalRadioV1_5TargetTest

Change-Id: I9ae4e7a07b9f47353554ffb63a23b6518aa344b7
Merged-In: I9ae4e7a07b9f47353554ffb63a23b6518aa344b7
2021-07-21 04:33:22 +00:00
Yomna Nasser
5645ff64b3 Adds VTS test for getAllowedNetworkTypesBitmap
Adds VTS test for the new HAL API getAllowedNetworkTypesBitmap

Bug: b/190398554
Test: atest VtsHalRadioV1_6TargetTest
Change-Id: Ida0aff8e239cad324627db83903f4a1adcc479d1
Merged-In: Ida0aff8e239cad324627db83903f4a1adcc479d1
2021-06-17 17:50:04 +00:00
Nazanin
75683b35dd add sim_err to vts test for setSimCardPower
Test: VTS
Bug: 191105273
Change-Id: I73ba86b4f0c93d6467d5af5c430e374cb01435bc
2021-06-16 20:29:24 -07:00
Yomna Nasser
079b9233b0 Adds VTS test for setAllowedNetworkTypesBitmap
Adds a VTS test for setAllowedNetworkTypesBitmap, the newly
defined HAL radio API.

Bug: b/190398554
Test: atest VtsHalRadioV1_6TargetTest

Change-Id: I1b7d85ddd70a2d116a3b54a10d168c20804f2524
Merged-In: I1b7d85ddd70a2d116a3b54a10d168c20804f2524
2021-06-07 22:21:54 +00:00
Sarah Chin
ecb916bae2 Merge "Update test to TEST_P" 2021-06-04 18:38:38 +00:00
Sarah Chin
9b261e0f77 Update test to TEST_P
VTS tests were moved to parameterized gtests (TEST_F -> TEST_P),
so update the test for getSimPhonebookRecords to prevent compile errors

Test: mm
Fix: 183964306
Change-Id: Ib35c3c06fbe3fa2205bdcd44f70bda805fcb8301
Merged-In: Ib35c3c06fbe3fa2205bdcd44f70bda805fcb8301
2021-06-03 17:09:12 -07:00
Aaron Tsai
ef8351b217 Allow REQUEST_NOT_SUPPORTED for HAL interface updateSimPhonebookRecords
Bug: 188309710
Test: atest VtsHalRadioV1_6TargetTest
Change-Id: I70fec63e495959272b3d95a97050723faee8b1c8
2021-06-03 20:22:21 +00:00
Jack Yu
cf76f68c92 Merge "Skip tests for single SIM devices" 2021-05-25 22:03:35 +00:00
Jack Yu
83d85178f1 Merge "Fixed the obsolete VTS owners" 2021-05-19 07:07:07 +00:00
Jack Yu
ef0d87afcb Skip tests for single SIM devices
When device is configured as single SIM device, skip
VTS on 2nd vendor radio service instance.

Fix: 187998097
Test: atest VtsHalRadioV1_6TargetTest
Merged-In: Ib634b22dd75f10e5059c9482764ca481184162be
Change-Id: Ib634b22dd75f10e5059c9482764ca481184162be
(cherry picked from commit efb934b15a)
2021-05-18 18:10:32 -07: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