Commit graph

822 commits

Author SHA1 Message Date
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
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
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
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
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
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
Amruth Ramachandran
7c06193d09 Add VTS test for getDataRegistrationState
Bug:112194535
Test: VTS test

Change-Id: I32b335c8407a6884216aa1b80216a87e94b6cba6
2019-04-01 10:17:07 -07:00
Jack Yu
7885653276 Added VTS tests for setDataProfile and setInitialAttachApn
Test: VTS
Bug: 121345833

Merged-In: Ia7a260f5bbf9463c96b53656bcbe031af5208cbb
Change-Id: Ia7a260f5bbf9463c96b53656bcbe031af5208cbb
(cherry picked from commit 7948a04d01)
2019-04-01 10:05:23 -07:00
sqian
16e12d10c6 Merge "Sleep one second after connect." into pie-vts-dev am: e1704f3fd6 am: e3c3d56907
am: ed62130b14

Change-Id: Ib08c6a74d398987440408fd7db7e46f59295624e
2019-03-13 12:32:58 -07:00
sqian
ed62130b14 Merge "Sleep one second after connect." into pie-vts-dev am: e1704f3fd6
am: e3c3d56907

Change-Id: Ic8322a888f04dfa29bca109f5dc43f6978021da5
2019-03-13 10:02:48 -07:00
sqian
b2aa43ae94 Sleep one second after connect.
Modem side need time for connect to finish.

Test: Sanity (encountered by partner)
Bug: 122442056
Change-Id: Ib688b968730fcf604ef3807db9b6bd817594cad6
2019-03-11 16:07:49 -07:00
Jack Yu
7b66803fda Merge "Added 1.4 setDataProfile and setInitialAttachApn" am: b6990823f9 am: 3ae436ce52
am: 62f6566bf1

Change-Id: I023d45fb81ef3d7cbdacf53663751a1875377791
2019-03-07 20:06:58 -08:00
Michele Berionne
498c5d31e0 Merge "Fix documentation for carrier lock APIs in IRadio 1.4" am: caec5406ae am: 8987bebd33
am: a26bed9cc4

Change-Id: I5fa329ff4dee3e9fa57e650431f18613730e3d7b
2019-03-07 20:06:28 -08:00
Jack Yu
b6990823f9 Merge "Added 1.4 setDataProfile and setInitialAttachApn" 2019-03-08 01:38:47 +00:00
Michele
ef3207a43f Fix documentation for carrier lock APIs in IRadio 1.4
Update documentation of getAllowedCarriers_1_4 to indicate correct
response function.
Update documentation of setAllowedCarriers_1_4 to indicate correct
response function.

Bug: 127331162
Test: compilation
Change-Id: I56b63a7d7a71a62aea14a45b6e3b903a0cb2f5bf
2019-03-07 09:24:46 -08:00
Jack Yu
f666f42415 Added 1.4 setDataProfile and setInitialAttachApn
Added cuttlefish support for setDataProfile and
setInitialAttachApn v1.4 support

Test: vts-tradefed run vts -m VtsHalRadioV1_4Target
Bug: 121345833
Change-Id: Ie6acc8756f93ae16963cf9e05e0cf94d9039cb10
2019-03-06 15:22:25 -08:00
Jack Yu
7948a04d01 Added VTS tests for setDataProfile and setInitialAttachApn
Test: VTS
Bug: 121345833
Change-Id: Ia7a260f5bbf9463c96b53656bcbe031af5208cbb
2019-03-05 01:36:16 -08:00
Steven Moreland
7f4e21adda Merge "Update makefies: no 'types'" am: 4ee5ec1469 am: bab622f6a6
am: 7224bc9bcf

Change-Id: I434939e0770afa436c532a945542fce30a71ef7d
2019-03-04 16:05:59 -08:00
Treehugger Robot
4ee5ec1469 Merge "Update makefies: no 'types'" 2019-03-04 22:56:10 +00:00
Michele Berionne
bccd81c6a1 Merge "VTS test cases for IRadio 1.4 API for carrier restrictions" am: 0be84989e5 am: 2cafc87f9a
am: 93be02888e

Change-Id: I43742859e92da4874436afd24cb534cbd5a23584
2019-03-04 14:00:21 -08:00
Michele Berionne
0be84989e5 Merge "VTS test cases for IRadio 1.4 API for carrier restrictions" 2019-03-04 21:30:54 +00:00