Commit graph

185 commits

Author SHA1 Message Date
Jordan Liu
13d864a421 Do not assert CardState::PRESENT on sim power down
Bug: 203031664
Test: manual
Change-Id: I6c9cbad7cd4fd19eb0b77c55ff37298b97f32050
Merged-In: I6c9cbad7cd4fd19eb0b77c55ff37298b97f32050
2021-10-28 00:55:51 +00:00
Yomna Nasser
b1e7ca32c6 Merge "VTS fix for getAllowedNetworkTypesBitmap and setAllowedNetworkTypesBitmap" 2021-10-16 02:21:12 +00:00
Yomna Nasser
20aa01c238 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-04 21:55:12 +00:00
Treehugger Robot
bfeb55a6f4 Merge "Accept NONE as a response for setDataThrottling during VTS." am: 83398c025f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1839433

Change-Id: Ia202c31172b3858a641759999d581c0213a89c1a
2021-10-04 17:48:09 +00:00
Jack Nudelman
a784a1c963 Accept NONE as a response for setDataThrottling during VTS.
Bug: 199809900
Test: b/199809900
Change-Id: I3b71401c28eb2f06c020f549a28ef5970282c855
2021-09-28 14:22:20 -07:00
Treehugger Robot
aba41870f2 Merge "Allow not supported for setNrDualConenctivity" am: de1aba4e76
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1824213

Change-Id: I13735fe37dbf32ed734a60102926f83e57ce8634
2021-09-14 00:53:59 +00:00
Treehugger Robot
de1aba4e76 Merge "Allow not supported for setNrDualConenctivity" 2021-09-14 00:33:23 +00:00
Treehugger Robot
4d36e553a3 Merge "Sending SMS via 1.6 APIs in VTS 1.6" am: eb133de2e1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1784600

Change-Id: Ic019f11dec79bbffb17ac8b9bd5593b096cadd9a
2021-09-13 23:23:52 +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
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
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
Yomna Nasser
1fc98db347 Merge "Adds VTS test for getAllowedNetworkTypesBitmap" into sc-dev am: 8f1245a802
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/14925197

Change-Id: I4e909df81ee1e43a263152cd2e2f6069ff50be0b
2021-06-17 17:36:53 +00:00
Nazanin
e0a7a3fb79 add sim_err to vts test for setSimCardPower am: 75683b35dd am: cac2bbf9af
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1738793

Change-Id: I52e4df97a340191d04e10d18f7bb4330b72ac1a5
2021-06-17 16:49:07 +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
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
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
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
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
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
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
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
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
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