Commit graph

800 commits

Author SHA1 Message Date
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
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
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
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
Nazanin Bakhshi
3b3ffacd25 VTS: add NOT_SUPPORTED to enableModem
Bug: 130190479
Test: VTS
Change-Id: Ie5851929287f461f20ee6a7b979f15133755b2b3
2019-05-10 16:42:15 -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
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
Amit Mahajan
371da1503e Updated comment for enableModem(). am: 60bc204c1d am: 20f0dc449c
am: 5dbbaec6dd

Change-Id: I713b45fc808fc51e0c4d70c90c95caeae2628b65
2019-03-04 11:37:35 -08:00
Steven Moreland
a878aee9ab Update makefies: no 'types'
Bug: 123976090
Test: N/A
Change-Id: I30fb04c81889b62775e1b764b965fdb0f893de17
2019-03-04 11:27:17 -08:00
Amit Mahajan
89dee330f2 Adding new APN type for Mission Critical Services. am: f72bb5d556 am: 4fefa70956
am: fdcda6f74d

Change-Id: Ifde43a009f485647ae3548dc14b615780e2fa8d0
2019-03-04 11:10:24 -08:00
Amit Mahajan
60bc204c1d Updated comment for enableModem().
Test: build
Bug: 124771128
Change-Id: I9ddd679daa9b806b8c8677b9d4ef54dacb40d242
2019-03-04 10:28:27 -08:00
Michele
a31d000865 VTS test cases for IRadio 1.4 API for carrier restrictions
Introduction of VTS test cases for setAllowedCarriers_1_4 and
getAllowedCarriers_1_4.

Bug: 124015822
Test: compilation, VTS execution on cuttlefish
Change-Id: Ie1e737d413e6d3559d7a52170bff197eb709c7ca
2019-03-01 18:18:25 -08:00
Amit Mahajan
f72bb5d556 Adding new APN type for Mission Critical Services.
Test: build
Bug: 124447962
Change-Id: I499c81140d2e4300f5bb81a0815b92f276c9167c
2019-03-01 16:48:35 -08:00
Xiangyu/Malcolm Chen
d6245c05d1 Merge "Add vts tests on CBRS related HAL APIs" 2019-02-28 23:48:12 +00:00
Treehugger Robot
183665d248 Merge "Fix doc on getModemStackStatus" 2019-02-28 23:31:46 +00:00
Xiangyu/Malcolm Chen
4b4876a414 Merge "Add vts tests on CBRS related HAL APIs" 2019-02-28 22:18:24 +00:00
Pengquan Meng
31e63d4b53 Add VTS for get/setPreferredNetworkBitmap am: 8d6c1de16e am: 101a6c28ff
am: 2442cdfcb0

Change-Id: I5ea4ed9cdda1abf46f82191b2ed2bf6d4bebeaf0
2019-02-28 00:09:57 -08:00
Pengquan Meng
8d6c1de16e Add VTS for get/setPreferredNetworkBitmap
Bug: 121345980
Test: make vts -j32
Change-Id: I94b48f974e7244e1acbace26af8c00e05bee28e1
2019-02-27 18:58:32 -08:00
Malcolm Chen
5d51ea67e2 Add vts tests on CBRS related HAL APIs
Bug: 121345298
Test: vts
Change-Id: I011f052fdaa07dcd571d2357865486c7708f797a
Merged-In: I011f052fdaa07dcd571d2357865486c7708f797a
2019-02-28 01:16:30 +00:00
Malcolm Chen
ad6bdaac7b Add vts tests on CBRS related HAL APIs
Bug: 121345298
Test: vts
Change-Id: I011f052fdaa07dcd571d2357865486c7708f797a
2019-02-27 17:16:17 -08:00
Nazanin Bakhshi
22df069a0a Fix doc on getModemStackStatus
Bug: 123958093
Test: build
Change-Id: I9ed735df7acd704144f3d399b09f80973e6ff4ab
Merged-In: I9ed735df7acd704144f3d399b09f80973e6ff4ab
(cherry picked from commit 68eef0850c)
2019-02-27 23:13:27 +00:00
Nazanin Bakhshi
68eef0850c Fix doc on getModemStackStatus
Bug: 123958093
Test: build
Change-Id: I9ed735df7acd704144f3d399b09f80973e6ff4ab
2019-02-27 10:10:29 -08:00
Annie Meng
0b9fb5125b Merge "Revert "Fix doc on getModemStackStatus"" 2019-02-27 15:17:27 +00:00
Annie Meng
f6729eff5d Revert "Fix doc on getModemStackStatus"
This reverts commit 0d74a22d26.

Reason for revert: Broke presubmit

Change-Id: I3052889863c1d750f3e916a575c4e412a5395d49
2019-02-27 11:22:21 +00:00
Nazanin Bakhshi
6a70170295 Merge "Fix doc on getModemStackStatus" 2019-02-27 06:17:53 +00:00
paulye
2b26cd695b Add vts for getSignalStrength_1_4 am: 7042a1aa9d am: 19048c28e9
am: 2f22dfa363

Change-Id: Ida14340b2722b13233cbe98d78769a000b50fea7
2019-02-26 20:18:03 -08:00
paulye
7042a1aa9d Add vts for getSignalStrength_1_4
Test: VTS
Bug: 124013054
Change-Id: Ia23391970d2c333b128ab8d2990d231e62748789
2019-02-26 15:34:34 -08:00
Nazanin Bakhshi
0d74a22d26 Fix doc on getModemStackStatus
Bug: 123958093
Test: build
Change-Id: I29eec2851b08c79463fe55788ffa3bc83c204863
2019-02-26 12:55:48 -08:00
sqian
8b41848ecd Modify the documentation of 'Routing' am: 0446c2ec68 am: e4eef2cabd
am: 9989c96727

Change-Id: I03aef2e746fb03984613f4f4a7f7ede380ae7e53
2019-02-26 00:16:59 -08:00