Commit graph

837 commits

Author SHA1 Message Date
sqian
1ade5556c8 Hang up EmergencyDial after Trigger in VTS
am: 8c9947de8d

Change-Id: Ieeb5e62c4709c4288ebf956631851124caf90867
2019-07-03 18:39:05 -07:00
sqian
8c9947de8d Hang up EmergencyDial after Trigger in VTS
The whole test case run emergencyDial.RadioHidlTest_v1_4 first and then
 come after startNetworkScan.RadioHidlTest_v1_4 test case immediately
 (within ~3 secs) the NWscan failure is device in emergency call in
 progress/connected while doing emergencyDial.RadioHidlTest_v1_4 test

Although emergencyDial.RadioHidlTest_v1_4 only care about command/response
 is successful or not and don't care call is established or not, modem do
 care about call condition is in idle/progress/connected state before it
 can do NWscan

When there's dedicated channel established, modem can not perform AP
 request NWscan in parallel as we are single HW modem restriction.

Test: run vts
Bug: 135595082
Change-Id: Iecba54b93b96d33b57bc59e00f082ff133d2e57b
Merged-In: Iecba54b93b96d33b57bc59e00f082ff133d2e57b
(cherry picked from commit 07a53471c4)
2019-07-01 17:37:24 -07:00
terrycrhuang
6e470f1755 Merge "VTS: stop network scan once trigger network scan success" into qt-dev
am: 6a660a6d7b

Change-Id: I20ea717cdfdefb3ec67a1c8cae80b57ea9937217
2019-06-19 23:47:55 -07:00
terrycrhuang
a2affa6636 VTS: stop network scan once trigger network scan success
For some vendors do not supports independent radios, if
there is one manual search ongoing, another manual search
on other SIM is not supported. So sending stop network scan
request once trigger network scan completed to exclude this
modem limitation.

Bug: 135005200
Test: atest RadioHidlTest_v1_2#startNetworkScan

Change-Id: Iacfd59ac2ad4d44e763ee03697c1f8f57162ce38
2019-06-19 00:53:29 +00:00
Tim Lin
d391e404ed Fix RadioConfig 1.1 vts test
am: 9c93b3500a

Change-Id: Ic8ed4d3324987d6d95b9153f19db60152ab0bc3c
2019-06-13 22:30:18 -07:00
Tim Lin
9c93b3500a Fix RadioConfig 1.1 vts test
Bug: 134645639
Test: VtsHalRadioConfigV1_0Target
      VtsHalRadioConfigV1_1Target
      VtsHalRadioConfigV1_2Target

Change-Id: I0c3171bf50de4f320b53d73962a4a5013a9c72e4
2019-06-12 16:44:07 +08:00
Jordan Liu
9fd14fbaa4 Add radio config 1.2 VTS tests
am: 15df27e428

Change-Id: I00e7f4c88ca2b37d5490fcaa0fa2bab65738d837
2019-05-31 20:35:25 -07:00
Jordan Liu
15df27e428 Add radio config 1.2 VTS tests
Bug: 122730535
Test: run vts -m VtsHalRadioConfigV1_2Target
Change-Id: Ib4fc17ea9f76caaf0cb0d4a2914595b7cfb7b041
2019-05-31 17:20:47 +00:00
Pengquan Meng
58e3fabb24 Merge "Send LTE|LTE_CA to modem in vts" into qt-dev
am: db5118bdad

Change-Id: Ibfdbc047bff2c8aca15fc04d6b01ff373306f012
2019-05-23 19:33:36 -07:00
Pengquan Meng
db5118bdad Merge "Send LTE|LTE_CA to modem in vts" into qt-dev 2019-05-24 01:28:16 +00:00
Pengquan Meng
529ec065f8 Merge "Add Vts to enforce radioConfig is existed" into qt-dev
am: 2317d2e960

Change-Id: Ibb8267db9f0d44e8bc11479af597531d994c5a62
2019-05-23 18:09:09 -07:00
Pengquan Meng
2b3d7740fb Send LTE|LTE_CA to modem in vts
Bug: 132057161
Test: vts
Change-Id: I963933aff316318053546b54ca680cb65e6a290a
2019-05-23 21:56:59 +00:00
Pengquan Meng
2317d2e960 Merge "Add Vts to enforce radioConfig is existed" into qt-dev 2019-05-23 21:44:21 +00:00
Pengquan Meng
806591aac8 Add Vts to enforce radioConfig is existed
This vts enforce IRadioConfig is existed when IRadio service is supported.
We didn't add IRadioConfigV1.2, so in this test IRadioConfigV1.1 will be
checked.

Bug: 132379735
Test: atest VtsHalRadioV1_4TargetTest
Change-Id: I2062ed6b191193d9a8af4f25059fed6cc8dc09d8
2019-05-22 15:03:32 -07:00
Nathan Harold
1999cba432 Merge changes I94874f53,I90133555 into qt-dev
am: 1d957da30b

Change-Id: I64ca48b5863d454d9f623845344b081b32050b2f
2019-05-22 14:17:19 -07:00
Nathan Harold
81c811b895 Enable incremental scans for interval checks
Currently tests that check for incremental scan interval
range-checking have incremental scans disabled.
This CL turns on incremental scans for tests where the
invalid interval range checks are being validated.

Bug: 112486807
Test: atest RadioHidlTest_v1_2#startNetworkScan_InvalidPeriodicity1;
      atest RadioHidlTest_v1_2#startNetworkScan_InvalidPeriodicity2;
Merged-In: I94874f538d2df70a72913b489d9298f8d1cf9b56
Change-Id: I94874f538d2df70a72913b489d9298f8d1cf9b56
(cherry picked from commit f56b9a41dd)
2019-05-22 11:31:48 -07:00
Nathan Harold
beb15ccb08 Allow impls to ignore incremental scan interval
When incremental results are disabled for network scans,
update the API documentation to allow implementations to
ignore range checking for the incremental scan interval.

Bug: 112486807
Test: compilation - docstring-only change
Merged-In: I901335550b4b8c2cf75f91b39fd031f03ffae982
Change-Id: I901335550b4b8c2cf75f91b39fd031f03ffae982
(cherry picked from commit 944efca78d)
2019-05-22 11:31:33 -07:00
Nathan Harold
1d957da30b Merge changes I94874f53,I90133555 into qt-dev
* changes:
  Enable incremental scans for interval checks
  Allow impls to ignore incremental scan interval
2019-05-22 18:30:39 +00:00
Nathan Harold
f56b9a41dd Enable incremental scans for interval checks
Currently tests that check for incremental scan interval
range-checking have incremental scans disabled.
This CL turns on incremental scans for tests where the
invalid interval range checks are being validated.

Bug: 112486807
Test: atest RadioHidlTest_v1_2#startNetworkScan_InvalidPeriodicity1;
      atest RadioHidlTest_v1_2#startNetworkScan_InvalidPeriodicity2;
Change-Id: I94874f538d2df70a72913b489d9298f8d1cf9b56
2019-05-22 10:07:11 -07:00
Nathan Harold
944efca78d Allow impls to ignore incremental scan interval
When incremental results are disabled for network scans,
update the API documentation to allow implementations to
ignore range checking for the incremental scan interval.

Bug: 112486807
Test: compilation - docstring-only change
Change-Id: I901335550b4b8c2cf75f91b39fd031f03ffae982
2019-05-22 10:07:11 -07:00
Jordan Liu
121384541d Merge "Fix RadioConfig 1.0 vts test" into qt-dev
am: e7a523a89c

Change-Id: Ifdb2560f89b10679395f88d777e97743b330828e
2019-05-22 02:36:00 -07:00
Jordan Liu
bdebb008a1 Fix RadioConfig 1.0 vts test
Bug: 122730535
Test: VtsHalRadioConfigV1_0Target
Change-Id: Ib3843e9ce727f97972f76e69cf9b450124f7afae
2019-05-21 17:41:20 +00:00
Treehugger Robot
c957851584 Merge "Add INVALID_STATE to list of errors for when there is only one modem available" 2019-05-21 15:27:12 +00:00
Nazanin Bakhshi
1e71c4b93a Merge "Add INVALID_STATE to list of errors for when there is only one modem available" into qt-dev
am: ef4abb83b3

Change-Id: I68db51926d33021bb942c235e8b09847a2c5a935
2019-05-20 21:20:28 -07:00
Nazanin Bakhshi
8aadb38c74 Add INVALID_STATE to list of errors for when there is only one modem
available

Bug: b/132818184
Test: VTS
Change-Id: I2b57ab99a376bcab26012d08f00284d65f915bc3
Merged-In: I2b57ab99a376bcab26012d08f00284d65f915bc3
(cherry picked from commit 52b3503064)
2019-05-20 20:34:38 -07:00
Nazanin Bakhshi
ef4abb83b3 Merge "Add INVALID_STATE to list of errors for when there is only one modem available" into qt-dev 2019-05-21 03:29:51 +00:00
Nazanin Bakhshi
52b3503064 Add INVALID_STATE to list of errors for when there is only one modem
available

Bug: b/132818184
Test: VTS
Change-Id: I2b57ab99a376bcab26012d08f00284d65f915bc3
2019-05-20 14:27:30 -07:00
Youming Ye
bb560adb22 Merge "Add mnc and mcc string check" 2019-05-16 17:27:35 +00:00
Youming Ye
b386096472 Merge "Add mnc and mcc string check" into qt-dev
am: 82dc3faca0

Change-Id: Ia26b3e5e6ba7331b906bb8bbe6a56c03fd693a02
2019-05-15 21:15:38 -07:00
TreeHugger Robot
82dc3faca0 Merge "Add mnc and mcc string check" into qt-dev 2019-05-16 02:49:01 +00:00
Youming Ye
8a9e5a645b Add mnc and mcc string check
Use the same resolution as 1.0 to check for invalid mnc and mcc values.

Bug: 130206359
Test: Vts
Change-Id: Iff766014ecfbe2d77db6771eda04fd4d9c84df14
2019-05-15 16:52:09 -07:00
Youming Ye
27227fd1b0 Add mnc and mcc string check
Use the same resolution as 1.0 to check for invalid mnc and mcc values.

Bug: 130206359
Test: Vts
Change-Id: Iff766014ecfbe2d77db6771eda04fd4d9c84df14
2019-05-15 16:35:40 -07:00
Nazanin Bakhshi
7ce975d03e VTS: add NOT_SUPPORTED to enableModem
Bug: 130190479
Test: VTS
Change-Id: Ie5851929287f461f20ee6a7b979f15133755b2b3
Merged-In: Ie5851929287f461f20ee6a7b979f15133755b2b3
(cherry picked from commit 3b3ffacd25)
2019-05-14 15:17:19 -07:00
Nazanin Bakhshi
b93815668c Merge "VTS: add NOT_SUPPORTED to enableModem" into qt-dev
am: bf756fb66e

Change-Id: Idfa70f1b2c97ebbd201b010dbd8e54ffd3ca7db6
2019-05-14 13:23:26 -07:00
Nazanin Bakhshi
bf756fb66e Merge "VTS: add NOT_SUPPORTED to enableModem" into qt-dev 2019-05-14 19:56:35 +00:00
Nathan Harold
1ff574dc63 Use Widely Supported GSM Channels for NetworkScan
Change the network scan tests to use the P900 and 850
GSM bands, which are commonly (nearly universally) supported
bands.

Bug: 132076611
Test: atest RadioHidlTest_v1_2
Merged-In: Ia682f022d35c481876c49c9c8802d7c39722be0e
Change-Id: Ia682f022d35c481876c49c9c8802d7c39722be0e
(cherry picked from commit 2ea2a64bc7)
2019-05-13 20:21:23 +00:00
Nathan Harold
1b9c3e719a Use Widely Supported GSM Channels for NetworkScan am: 2ea2a64bc7
am: b4c02291ef

Change-Id: I77edc80d1681ef00a1923b5999270cbacc0d4cf8
2019-05-10 17:50:20 -07:00
Nathan Harold
6285c00bbf Revert "Use Widely Supported GSM Channels for NetworkScan" am: e678690efa
am: 26bf375ca0

Change-Id: I40345c19f97a9c6b9ef1994fc6dd124ed7137386
2019-05-10 17:50:04 -07:00
Nazanin Bakhshi
3b3ffacd25 VTS: add NOT_SUPPORTED to enableModem
Bug: 130190479
Test: VTS
Change-Id: Ie5851929287f461f20ee6a7b979f15133755b2b3
2019-05-10 16:42:15 -07:00
Nathan Harold
2ea2a64bc7 Use Widely Supported GSM Channels for NetworkScan
Change the network scan tests to use the P900 and 850
GSM bands, which are commonly (nearly universally) supported
bands.

Bug: 132076611
Test: atest RadioHidlTest_v1_2
Change-Id: Ia682f022d35c481876c49c9c8802d7c39722be0e
2019-05-10 14:11:14 -07:00
Nathan Harold
e678690efa Revert "Use Widely Supported GSM Channels for NetworkScan"
This reverts commit 92bb3ae7b9.

There is an issue with the bands used for P900... the chosen
bands were for PCS1900. Quick fix coming.
2019-05-10 14:08:35 -07:00
Nathan Harold
cea6ff4385 Merge "Use Widely Supported GSM Channels for NetworkScan" am: 6f337cc82b
am: 5fc45aab2a

Change-Id: I01260ad8ee6d7d97feb400476e91744767656809
2019-05-10 11:38:22 -07:00
Nathan Harold
92bb3ae7b9 Use Widely Supported GSM Channels for NetworkScan
Change the network scan tests to use the P900 and 850
GSM bands, which are commonly (nearly universally) supported
bands.

Bug: 132076611
Test: atest RadioHidlTest_v1_2
Change-Id: Icb4dc47360a5753b9697f74aec19045155ee27fc
2019-05-09 18:45:23 -07:00
Youming Ye
62e4045a47 Merge "Add comment to track setSystemSelectionChannels api test" into qt-dev
am: 9aed459ace

Change-Id: I4a7ad4c302e240ee2f2a25cfb23548fa77b3a1b4
2019-04-23 15:18:46 -07:00
Youming Ye
d620a2984d Add comment to track setSystemSelectionChannels api test
Since the system API for the hal is not implemented in Q, we disable the
vts test. Adding corresponding comments on the test.

Bug: 130254624
Test: Build
Change-Id: I777961aeaf8fb2baa28cee47cf3df4015a6ee0f0
2019-04-23 11:12:13 -07:00
Steven Moreland
6d494b2346 Merge "Update hidl makefiles for bpfmt" am: ff0bd741ca
am: 96f40f7b02

Change-Id: Idbf030e4993067bdb8181321bca2de00c9b6f7ef
2019-04-18 14:34:45 -07:00
Steven Moreland
1ae4615d9f Update hidl makefiles for bpfmt
hidl-generated makefiles are now generated such that bpfmt(file) == file.

Bug: 67417008
Test: enable bpfmt hook
Change-Id: I1f69d292bc23a7cc293a66110cb02d597e1019ad
2019-04-17 09:38:50 -07:00
Amruth Ramachandran
019d89b77f Add VTS test for getDataRegistrationState am: 7c06193d09 am: af32ed1e54
am: 139f8bd942

Change-Id: I210493d3dfe019b347d8fa1228e386f5d9bb0d25
2019-04-01 18:35:47 -07:00
Amruth Ramachandran
139f8bd942 Add VTS test for getDataRegistrationState am: 7c06193d09
am: af32ed1e54

Change-Id: Iab26a52f254f95ec705491ad9dfe91e019b414db
2019-04-01 18:32:16 -07:00
Jack Yu
8829f93e09 Added VTS tests for setDataProfile and setInitialAttachApn am: 7885653276
am: cefbec0e9b

Change-Id: I9b3b6541878bf0e058b6dd8343efb7dc08ef40e8
2019-04-01 12:45:40 -07:00