Commit graph

1269 commits

Author SHA1 Message Date
Jordan Liu
3c3b6410e8 Do not assert CardState::PRESENT on sim power down
Bug: 203031664
Test: manual
Change-Id: I6c9cbad7cd4fd19eb0b77c55ff37298b97f32050
Merged-In: I6c9cbad7cd4fd19eb0b77c55ff37298b97f32050
2021-10-28 00:56:21 +00:00
Treehugger Robot
3802da9b0a Merge "VtsHalRadioV1_4Target.setPreferredNetworkTypeBitmap" into android10-tests-dev am: 620eeefa43 am: 7c54196967
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1136701

Change-Id: Ie8ef97de3380d7aa9afb3fba0fb2bb7d068d3cb6
2021-10-20 02:18:56 +00:00
Yomna Nasser
86493c563e VTS fix for getAllowedNetworkTypesBitmap and setAllowedNetworkTypesBitmap
Fix VTS for getAllowedNetworkTypesBitmap and
setAllowedNetworkTypesBitmap, which should not rely on
getRadioHalCapabilities.

Bug: b/199809900
Test: atest VtsHalRadioV1_6TargetTest
Change-Id: I0b50e7e6c0d406a62f7a1e2ea8ac9bc3a71d8aeb
2021-10-19 00:24:22 +00:00
Jack Nudelman
d2eb4019c4 Accept NONE as a response for setDataThrottling during VTS.
Bug: 199809900
Test: b/199809900
Change-Id: I3b71401c28eb2f06c020f549a28ef5970282c855
(cherry picked from commit a784a1c963)
2021-10-08 21:14:46 +00:00
Shuo Qian
c6a7143b1d Skip slot 2 for other radio modules in single sim mode
Bug: 199986032
Test: atest
Change-Id: Idc115954c8ccb26a6127a80d466f22559be641d2
2021-10-01 00:22:55 +00:00
Aaron Tsai
121ff3c5ef 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"

Ignore-AOSP-First: cherry-pick from AOSP
Change-Id: I19ead8a4e1ab2f1e4ddb3f55edacd4b51990f9cd
Merged-In: I19ead8a4e1ab2f1e4ddb3f55edacd4b51990f9cd
2021-09-23 04:12:54 +00:00
Sooraj Sasindran
9a7de0696a Allow not supported for setNrDualConenctivity
Allow not supported for setNrDualConenctivity

Bug: 193101785
Test: verified on 4G only device
Merged-In: I7c7e926819d305d210da988503716eb5d3c2e333
Change-Id: I7c7e926819d305d210da988503716eb5d3c2e333
2021-09-20 17:58:14 +00:00
Shuo Qian
6a56b7fa87 Skip Slot 2 in Radio VTS 1.0 in single sim mode
Test: atest VtsHalRadioV1_0TargetTest
Bug: 199986032
Change-Id: If296df349aa7f87932f5bb24896f0a3fdd347f5d
2021-09-17 23:53:21 +00:00
Aaron Tsai
db3c830bc8 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
2021-07-21 04:33:28 +00:00
Yomna Nasser
126ae7c316 Adds VTS test for getAllowedNetworkTypesBitmap
Adds VTS test for the new HAL API getAllowedNetworkTypesBitmap

Bug: b/190398554
Test: atest VtsHalRadioV1_6TargetTest
Change-Id: Ida0aff8e239cad324627db83903f4a1adcc479d1
2021-06-14 21:36:15 +00:00
Yomna Nasser
b0bd8ad47e Merge "Adds VTS test for setAllowedNetworkTypesBitmap" into sc-dev 2021-06-07 20:41:42 +00:00
Yomna Nasser
c3d2bd4c56 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
2021-06-07 17:36:28 +00:00
Aaron Tsai
c0490422cf Allow REQUEST_NOT_SUPPORTED for HAL interface updateSimPhonebookRecords
Bug: 188309710
Test: atest VtsHalRadioV1_6TargetTest

Merged-In: Iad9c88582ddcd7f460be4276286fd5005cd9ae29
Merged-In: I75486da2210340980229e752f9bc2d93cedaa8c5
Merged-In: I7fc7667f9a2c0c52511febe2ca8061b0bab7ce7b
Change-Id: Ia7f2a3983664ab4fcd16123026de87095a39f18e
2021-06-06 18:30:09 +00:00
Aaron Tsai
77e2a67536 Fix emergencyDial tests in VTS 1.6
cherry-pick from aosp/1708089

 - Change to calling getVoiceRegistrationState_1_6() instead of getVoiceRegistrationState().
 - Fix incorrect voice registration state value


Bug: 187488263
Test: atest VtsHalRadioV1_6TargetTest

Merged-In: Iebf32061c7944104a8d4a0297af9204ca214e627
Merged-In: Ic2745c48b3d3451e5065a77054d9e7b930ea4ce5
Merged-In: I787ead62a70acd69a4676d5e53509fe2ff6b0fd8
Change-Id: I0a04238f03c7d4fe1eae00c33c18d6dd9da610a8
2021-05-23 09:06:35 +00:00
Jack Yu
a039c59a6c Merge "Skip tests for single SIM devices" into sc-dev 2021-05-14 19:19:51 +00:00
TreeHugger Robot
9122068452 Merge "Fixed the obsolete VTS owners" into sc-dev 2021-05-14 19:18:40 +00:00
Jack Yu
879b3c0809 Fixed the obsolete VTS owners
Fix: 188209583
Test: None
Change-Id: I783cdedaad088ec1c52c2edfbea08f83c9b7a432
2021-05-14 19:18:29 +00:00
Treehugger Robot
76a507f2a2 Merge "Adding 1s time gap between slot1 & slot2 setDataThrottling tests" am: 9f7a1e8317 am: 898f676017 am: 5145be25fb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1705149

Change-Id: Iff420e3c34498623078cab14452ca62b88cc452a
2021-05-14 07:10:18 +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
36dbe44529 Merge "Fix VTS crash for getAvailableNetworks in Radio 1.6" am: 058de98e44 am: 90f0c0e3be am: 63f6d9bb3a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1699825

Change-Id: I9b26440107d6213c405683204a656406c59f0d92
2021-05-14 04:39:38 +00:00
Jack Yu
efb934b15a 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
Change-Id: Ib634b22dd75f10e5059c9482764ca481184162be
2021-05-13 15:01:49 -07: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
0cedaf1c27 Adding 1s time gap between back-to-back calling setDataThrottling API am: 47e14e567f am: 4579f048c4 am: 9df8b9cbfb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1675558

Change-Id: I6a1e36475b87da650cb8467b5ed63be9ca1a673d
2021-04-23 04:49:39 +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
TreeHugger Robot
cea055758e Merge "Fix QC vts test failure" into sc-dev 2021-04-21 21:34:42 +00:00
Grace Jia
8e485cc67e Fix QC vts test failure
The test is a value-parameterized test, so use TEST_P
instead of TEST_F to prevent compile error.

Bug: 184609812
Test: vts test
Change-Id: I8a54568e1f109f8d9c748584ab50b195001d8218
2021-04-21 21:30:35 +00:00
Jack Yu
8d1f23e305 Merge "radio: Add VTS test for OperatorInfo.operatorNumeric" am: 91ce32adb9 am: 268e49a42c am: abf63ec724
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1673211

Change-Id: I0cfaf924c2615a52e5e5a64034f7c95a09f181ea
2021-04-21 20:54:24 +00:00
Sooraj Sasindran
2cb137d087 Merge "Use 0 as link capacity estimate if device is not connected" am: 0cb21f39ae am: be5e58dfec am: bfbdb289f5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1682230

Change-Id: Ica16bfb0e53a3d9c839ba99d41f2d7f59a872892
2021-04-21 20:20:27 +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
SongFerng Wang
5917ca8eb7 Merge "modemReducedFeatureSet add PhysicalChannelConfig_1_6 item" into sc-dev 2021-04-21 07:29:33 +00: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
SongFerngWang
0f2a75b4f8 modemReducedFeatureSet add PhysicalChannelConfig_1_6 item
Bug: 185925786
Test: build pass
Change-Id: I7d0c1b2534f50bbb445e2929b2807da0835d6bfe
2021-04-21 04:36:11 +08:00
TreeHugger Robot
23b90ac400 Merge "[ANAPIC Review] Modify radio 1.6 based on ANAPIC comment" into sc-dev 2021-04-19 17:19:50 +00:00
Zoey Chen
c181c27916 [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
2021-04-19 10:58:57 +08:00
Jack Yu
25649f1c4d Merge "Revert "[ANAPIC Review] Modify radio 1.6 based on ANAPIC comment"" into sc-dev 2021-04-16 21:06:07 +00:00
Jack Yu
31d8bc6e42 Revert "[ANAPIC Review] Modify radio 1.6 based on ANAPIC comment"
Revert "[ANAPIC Review] Change the type of List by ANAPIC review"

Revert "[ANAPIC Review] Modify radio 1.6 based on ANAPIC comment..."

Revert "[ANAPIC Review] Modify radio 1.6 in telephony side"

Revert submission 14098561-ANAPIC_1_6

Reason for revert: broke the builds
Reverted Changes:
Ibcbdc0cac:[ANAPIC Review] Change the type of List by ANAPIC ...
Ie8d40439e:[ANAPIC Review] Modify radio 1.6 in telephony side...
I24106cba4:[ANAPIC Review] Modify radio 1.6 based on ANAPIC c...
I71b0d0014:[ANAPIC Review] Modify radio 1.6 based on ANAPIC c...

Change-Id: I47274308a2e453ebf666aff160a8fa0c02fdc3fb
2021-04-16 21:00:36 +00:00
Zoey Chen
c6287caf54 Merge "[ANAPIC Review] Modify radio 1.6 based on ANAPIC comment" into sc-dev 2021-04-16 16:50:16 +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
Zoey Chen
c837d1291e [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: I24106cba4db5c6e564459675426f5eea9670a6c2
2021-04-15 12:39:58 +08:00
Treehugger Robot
fe7eed56df Merge "Allow INVALID_STATE to be returned for setNrDualConnectivity" am: be01266c63 am: 5068a9fec7 am: 3aac369037
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1673549

Change-Id: Ic2780b825dddd9fecd136ba52040bd0f2a24cd38
2021-04-15 03:36:02 +00:00
Treehugger Robot
a829266a05 Merge "Explicitly require empty list when the device is idle" am: f676c47ee7 am: c9ee5dd615 am: 26bf51ebe6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1673628

Change-Id: I81609dcea10bea24fbe1984cc630e7852be671de
2021-04-15 03:35:51 +00:00