Commit graph

219 commits

Author SHA1 Message Date
sqian
153a84ef11 Add GENERIC_FAILURE error checks for some Radio BTSAP Apis which are
failing

Test: Vts
Bug: 35671595
Change-Id: Ie2ca86437283ce2f8e4b5cad21454a8d201e53ad
2017-05-05 15:58:28 -07:00
Jayachandran Chinnakkannu
1a8f5c3595 Merge "VTS: Fix IRadio.setAllowedCarriers and IRadio.nvResetConfig" into oc-dev
am: eca8d114bf

Change-Id: I33e926f4ecd0314b4554ca9d90104f8afda773eb
2017-05-05 22:29:14 +00:00
Jayachandran C
21e28b71da VTS: Fix IRadio.setAllowedCarriers and IRadio.nvResetConfig
1) IRadio.setAllowedCarriers
Fix IRadio.setAllowedCarriers to pass no restrictions.
Passing restrictions will block all other SIM cards until
a new IRadio.setAllowedCarriers with no restriction is
invoked. Even factory reset will not recover.

2) IRadio.nvResetConfig
IRadio.nvResetConfig with ResetNvType RELOAD causes radio restart.
All subsuquent scripts fail with cause RADIO_NOT_AVAILABLE.
Fix to use ResetNvType ERASE which does not restart the radio.

Test: VTS
Bug: 37946160

Change-Id: Ib671758414cc97e1a596358306f89eed13918c48
2017-05-04 17:01:27 -07:00
sqian
d90c324243 Fix Vts errors
- Add REQUEST_NOT_SUPPORT into General Errors
- Add a util function to check General Errors
- Add a util function to check OEM Errors
- Changes to RIL command api tests based on the QC provided pdf
  to see if the errors from vts-web can be fixed

Test: Manual
Bug: 35671595

(cherry picked from commit 01e7c6ee5f)
Merged-In: I9500c686a75539dab37f0272349bc2f965cc0a8f
Change-Id: I9500c686a75539dab37f0272349bc2f965cc0a8f
2017-04-27 16:11:38 -07:00
Shuo Qian
6ca560881c Merge "Fix Vts errors" into oc-dev
am: 93d5836949

Change-Id: I9c3b7db8e75cf15f3231c60379bf0b1808cea972
2017-04-26 23:58:44 +00:00
sqian
01e7c6ee5f Fix Vts errors
- Add REQUEST_NOT_SUPPORT into General Errors
- Add a util function to check General Errors
- Add a util function to check OEM Errors
- Changes to RIL command api tests based on the QC provided pdf
  to see if the errors from vts-web can be fixed

Test: Manual
Bug: 35671595
Change-Id: I9500c686a75539dab37f0272349bc2f965cc0a8f
2017-04-26 13:57:58 -07:00
Sanket Padawe
5c79ad2bf8 Fix test case for setSimCardPower radio api.
Bug: 35800570
Test: vts
Change-Id: I93e78c46971158cd14666931b527d8e268e0a39e
Merged-in: I93e78c46971158cd14666931b527d8e268e0a39e
2017-04-21 16:58:19 +00:00
Sanket Padawe
1e7a8135c7 Merge "Fix test case for setSimCardPower radio api." into oc-dev
am: c10abf09f7

Change-Id: I619a75a39881d7f7b93a0aa4d3a9e6d8c19095be
2017-04-19 03:07:27 +00:00
Sanket Padawe
f9723eef1f Fix test case for setSimCardPower radio api.
Bug: 35800570
Test: vts
Change-Id: I93e78c46971158cd14666931b527d8e268e0a39e
2017-04-17 17:07:32 -07:00
Amit Mahajan
ddeb776201 Merge "Add p2 option in OpenLogicalChannel" into oc-dev 2017-04-12 22:02:40 +00:00
Wileen Chiu
d87bd02d5a Add p2 option in OpenLogicalChannel
- Adding support for P2 parameter
- Needed to support OMAPI 3.0 defined
  by SIM Alliance

Test: Basic telephony sanity
Bug: 27360148
Merged-In: I6a274195065ab1ef8406849228f60859ee826e53
Change-Id: I88134eded001e14c12e1f2a18efd0a2b51bc22fe
2017-04-12 17:16:50 +00:00
Sanket Padawe
f7c337546a Merge "Update Radio and Sap service name in VTS." 2017-04-12 17:08:02 +00:00
Amit Mahajan
17053887d3 Merge "Add p2 option in OpenLogicalChannel" am: ca59e7f3ca am: c0e1a4d4e5
am: f94530dfd8

Change-Id: I6a274195065ab1ef8406849228f60859ee826e53
2017-04-11 21:50:24 +00:00
Sanket Padawe
bc959a5897 Update Radio and Sap service name in VTS.
Bug: 37164398
Test: VTS tests pass.
Change-Id: I71562e5b9709166695d08a96a04928027dcb4ee7
Merged-in: I71562e5b9709166695d08a96a04928027dcb4ee7
2017-04-11 11:07:25 -07:00
Sanket Padawe
807bc1546b Update Radio and Sap service name in VTS.
Bug: 37164398
Test: VTS tests pass.
Change-Id: I71562e5b9709166695d08a96a04928027dcb4ee7
2017-04-10 10:34:58 -07:00
Wileen Chiu
beb64d6721 Add p2 option in OpenLogicalChannel
- Adding support for P2 parameter
- Needed to support OMAPI 3.0 defined
  by SIM Alliance

Bug: 27360148
Change-Id: I88134eded001e14c12e1f2a18efd0a2b51bc22fe
2017-04-04 11:30:41 -07:00
Yuexi Ma
87bde3312a Change sytle of radio and sap tests to clang google
Test: make VtsHalRadioV1_0TargetTest, make VtsHalSapV1_0TargetTest
Change-Id: Ie13efe0d049ade7839881c14ed2904d8acd99b93
(cherry picked from commit bb96133731)
2017-04-01 00:18:32 +00:00
Yuexi Ma
bb96133731 Change sytle of radio and sap tests to clang google
Test: make VtsHalRadioV1_0TargetTest, make VtsHalSapV1_0TargetTest
Change-Id: Ie13efe0d049ade7839881c14ed2904d8acd99b93
2017-03-30 10:58:23 -07:00
Shuo Qian
eb245db746 Merge "Add VTS tests for Sap Apis." 2017-03-30 16:49:41 +00:00
Shuoq
9823fcd865 Add VTS tests for Sap Apis.
Bug: 32022332
Test: vts
Change-Id: I9a55978aa485a59510090f46a8e5edfb87bccc0e
2017-03-29 16:06:47 -07:00
Shuoq
ca02ad4c3a Add VTS tests for Sap Apis.
Bug: 32022332
Test: vts
Change-Id: I9a55978aa485a59510090f46a8e5edfb87bccc0e
2017-03-29 16:01:38 -07:00
Sanket Padawe
cae250ad67 Merge "Add VTS for couple of missing APIs and some cleanup for earlier APIs." am: 60449e68d1 am: 516a71e295
am: 0f8a067a04

Change-Id: Ifbdbf6c739e140eb10c8fafdeaa31b92f281a41b
2017-03-22 21:44:37 +00:00
Sanket Padawe
6f957ea5c5 Add VTS for couple of missing APIs and some cleanup for earlier APIs.
Bug: 32022332
Test: vts
Change-Id: I361af4a37985e5bc686a2d7302917afa134ebc24
2017-03-21 14:57:22 -07:00
Sanket Padawe
f8654facce Merge "Add VTS test for misc RIL apis." am: 69c546ba21 am: d9dabe6b57
am: 592ddbf04e

Change-Id: Iebeec166e521d2203fb01c75f2a4ae5b8c041477
2017-03-17 23:34:24 +00:00
Sanket Padawe
28fc10fba9 Add VTS test for misc RIL apis.
Bug: 32022332
Test: vts
Change-Id: Ic898cc536bd13dfa1443fd3a70aa1b4b21c9d108
2017-03-17 11:42:20 -07:00
Shuo Qian
8d35ec3009 Merge "Add initial target-side VTS tests for Data, Cell broadcast, STK, IMS radio telephony apis." am: 7a3bce0b7f am: 8dffcb06c9
am: 92bd1bf43b

Change-Id: If6aa28a7d2644aaa8efcf9ab58f484acfbb781ac
2017-03-17 17:12:50 +00:00
Shuoq
59bac4dba3 Add initial target-side VTS tests for Data, Cell broadcast, STK, IMS radio
telephony apis.

Bug: 32022332
Test: vts
Change-Id: Iad55b40f7349bcb8e34ffd275088dce0626beddf
2017-03-15 23:13:24 +00:00
Yuexi Ma
5e1e202bcc Merge "Change vts target base test class name" am: 4f4fdaf664 am: a8239094f4
am: 649a2c13d7

Change-Id: I376e83c09515ba50a7e033e3cb75e0c5f8a24ccf
2017-03-10 21:11:23 +00:00
Yuexi Ma
6b8720110b Change vts target base test class name
Test: make vts succeed, vts kernel tests and nfc hal tests passed
Change-Id: I38ae6cc940d0f17bb3352f360efdf9c70697c76b
2017-03-10 00:42:13 -08:00
Sanket Padawe
d161b1c446 Merge "Add VTS for voice telephony apis." am: 6b8077be1b am: 89f6259553
am: 452a9dff53

Change-Id: Ie2f973da848eae1b8adcef3efbe7fef2be6d3417
2017-03-09 22:09:24 +00:00
Sanket Padawe
fe7c7a3a69 Add VTS for voice telephony apis.
Bug: 32022332
Test: vts
Change-Id: I94f86f48d0c227f00c84051d14e6116d0bf2d1b3
2017-03-09 12:01:17 -08:00
Steven Moreland
b28099785a Add hidl_default and make modules use hidl_default. am: 691a455b9f am: 7c9f5c35d8
am: a6de4ca892

Change-Id: Ie4a219330792a194bef4a983b706c5f3191761a7
2017-03-09 02:09:52 +00:00
Steven Moreland
691a455b9f Add hidl_default and make modules use hidl_default.
find hardware/interfaces -type f -not -path "*/.git/*" \
-exec sed -i -e '/cc_[A-Za-z_]\+/ { N; s/$/\n    defaults:
\["hidl_defaults"\],/ }' {} \;
./hardware/interfaces/update-makefiles.sh

Test: no warnings
Bug: 35840847
Change-Id: I468b76893bf3f4b62ad610d1d9603bcb8797a702
2017-03-08 16:22:00 -08:00
Shuo Qian
e3d1b4215b Merge "Initial Target-side VTS tests for Short Message Service(SMS) Radio Hal Apis" am: bcfabe7cb4 am: e8b7bbd3cb
am: 6d41084d60

Change-Id: Ie98504fe4b055b5bfaca9b4e5bbdc99eee337511
2017-03-08 22:12:26 +00:00
Shuoq
064ee51e07 Initial Target-side VTS tests for Short Message Service(SMS) Radio Hal Apis
Test: adb shell data/local/tmp/VtsHalRadioV1_0TargetTest
Bug: 32022332

Change-Id: Ia630493e0501e75a5c327aab77d6a0af59587128
2017-03-07 19:24:23 +00:00
Jack Yu
8f79d9e36c Merge "Removed the deprecated screen state API" am: c438414190 am: 243047c574
am: 1fd613fedb

Change-Id: I11ddba206b9e2a56a9aa804878415f33c334d970
2017-03-07 02:49:13 +00:00
Jack Yu
df1a8ec04e Removed the deprecated screen state API
The screen state API was deprecated on O and should
not be added into the radio interace.

Test: Telephony sanity tests
bug: 32223897
Change-Id: Ieb2322113557be700aeae78346c969465e7a9dd3
2017-03-01 23:56:21 -08:00
Sanket Padawe
a366070fba Fix build warnings in radio vts. am: 77c3822d6d am: f681d777e8
am: f081319585

Change-Id: Iad31b13747d3b6d76927840bfdc96b4122ccf533
2017-03-01 21:13:30 +00:00
Sanket Padawe
77c3822d6d Fix build warnings in radio vts.
Test: tested that no warnings show up.
Bug: 32022332
Change-Id: I7ecc2955c13827769733976c2498d8f8484284ea
2017-03-01 10:52:30 -08:00
Sanket Padawe
34e4dbb3d3 Merge "VTS for icc radio hal Apis (patch 2)." am: 8d91af1096 am: 5b6e1c5bec
am: 631d2fc257

Change-Id: I0bc9e9d7631dad8a4828fab9ab5c6b5b50a14392
2017-03-01 18:08:35 +00:00
Sanket Padawe
1512edb314 VTS for icc radio hal Apis (patch 2).
Test: vts
Change-Id: I24a08f82bcca5bd48c268d72c75059e614931ea0
2017-02-28 18:00:49 -08:00
Yuexi Ma
2e632af420 Merge "Add columns to namespace for vts target base test invocation" am: 7d32288474 am: 1639a26255
am: d605f70f05

Change-Id: I39a4f2a99a52973193247340f1eae980a4e9bf8f
2017-02-28 21:51:29 +00:00
Yuexi Ma
93d2541aae Add columns to namespace for vts target base test invocation
Test: make vts
Change-Id: Ia0284fbc11eadef572dd510bb5847160852bd517
2017-02-28 20:49:00 +00:00
Yuexi Ma
087c2df356 Merge "change all vts hidl tests to use VtsHalHidlTargetBaseTest" am: 5fd2ce668d am: 3d0093b8e9
am: 93b79bd172

Change-Id: I971ce47c3d1a02ba7540c7076487be958cdf73b1
2017-02-28 18:25:17 +00:00
Yuexi Ma
178dfd5e29 change all vts hidl tests to use VtsHalHidlTargetBaseTest
Bug: 33385836
Test: mma
Change-Id: I660d6e0fce6422d87d4b227273a77c95d20ed3f2
2017-02-28 07:59:59 +00:00
Steven Moreland
1daad90b81 Remove viral dependency on libhwbinder. am: d28a3dce40 am: 444d759920
am: 5c605c8add

Change-Id: I54d6e5a0b38ef9eb507748fd38a8c508e0eb1948
2017-02-25 02:55:43 +00:00
Steven Moreland
d28a3dce40 Remove viral dependency on libhwbinder.
find hardware/interfaces -name Android.mk -exec sed -i -e '/libhwbinder
\\/d' {} \;
find hardware/interfaces -name Android.bp -exec sed -i -e
'/"libhwbinder"/d' {} \;
./hardware/interfaces/update-makefiles.sh

Test: everything links
Test: (sanity) booted marlin on internal master with these changes
Bug: 35710429
Change-Id: I6b0b5ae318422b7a9be17a19a79e039ffc0f9272
2017-02-24 12:01:06 -08:00
Tri Vo
cef9212a4a Remove .vts files. am: 7c04478044 am: 4ebeac1ee2
am: 242cb13104

Change-Id: I15b911d4ffd2af7dfe80cc11c74359bc14faa0d9
2017-02-22 20:51:00 +00:00
Tri Vo
7c04478044 Remove .vts files.
Test: mmma hardware/interfaces
Change-Id: I583aced174d4295cccfdf48b76502077fb16f9db
2017-02-22 10:50:59 -08:00
Tri Vo
f5672b61c0 Remove .vts spec files. am: 81f9968c71 am: bf4702ff68
am: adaf6869eb

Change-Id: I39871a4dea913f0d2165351037d049530a90ce5b
2017-02-22 03:13:54 +00:00
Tri Vo
81f9968c71 Remove .vts spec files.
Test: mmma hardware/interfaces
Change-Id: Iabbcd336d37ceb58ea4cc649ee5c104424494513
2017-02-21 15:55:00 -08:00
Tri Vo
386710e2f0 Update .vts files.
Test: make vts
Change-Id: Ie8526df051b631797b9f9b75acbeab8807f904d7
2017-02-21 13:53:10 -08:00
Zhuoyao Zhang
f6bf3484d4 Update the test binary and source file name. am: f7693eed97 am: a266d7bdeb
am: fbbf8ba2b1

Change-Id: I6b2b96b0f87e6fd960842f29cb1e800bd22418ca
2017-02-18 00:25:19 +00:00
Zhuoyao Zhang
f7693eed97 Update the test binary and source file name.
* To confirm with Vts naming convention.

Bug: 35273456
Test: mma
Change-Id: Ide6d9d15618e65d8cb74363f3a8acd52609cd0dd
2017-02-17 10:34:33 -08:00
Sanket Padawe
5af256b554 Merge "Fix build because of addition of new Radio API to VTS." am: 801f78cc05 am: c75e2f8d6b am: cde49bb624
am: f92167fbf4

Change-Id: Ied80223d77825eac6c18c55aafee26222eab4841
2017-02-17 04:38:21 +00:00
Sanket Padawe
680564a69f Fix build because of addition of new Radio API to VTS.
Test: Tested build success. mma over hardware/interfaces/radio/1.0/vts

Change-Id: Ie4258573367c7448b1689010492c34e03124384d
2017-02-16 18:13:10 -08:00
Treehugger Robot
aefd232011 Merge "Added the new RIL request to set SIM power state" 2017-02-17 01:13:26 +00:00
Sanket Padawe
71d78df1c5 Merge "Seed CL for radio VTS." am: 7d86d72356 am: d7814de27c am: 83e04fd3e9
am: 8833640eb3

Change-Id: Iadcaed5c0e456e1c4801ce18ec65c186c72ceec9
2017-02-16 23:58:51 +00:00
Jack Yu
a2118695d9 Added the new RIL request to set SIM power state
The new RIL request for powering up/down the SIM card.

Test: Telephony sanity tests
bug: 32224755
Merged-In: Ib4204b9612fd9bc02bd99baebabf5ed7120e89fe
Change-Id: Ib4204b9612fd9bc02bd99baebabf5ed7120e89fe
2017-02-16 22:02:08 +00:00
Sanket Padawe
e4c6323d08 Seed CL for radio VTS.
Test: VTS test succeeds
Bug: 32022332
Change-Id: I3127826cad4c97db9a8ff77bdb80ad1c848751c6
2017-02-16 13:47:46 -08:00
Jack Yu
d084d97f8f Added the new RIL request to set SIM power state
The new RIL request for powering up/down the SIM card.

Test: Telephony sanity tests
bug: 32224755
Change-Id: Ib4204b9612fd9bc02bd99baebabf5ed7120e89fe
2017-02-16 10:39:39 -08:00
Zhuoyao Zhang
3bef939f94 Update .vts files on master based on the latest .hal file and hidl-gen
Test: mma
Change-Id: I9558f300505db83e26f7c241c5cf729cd005a07b
2017-02-13 18:03:06 -08:00
Zhuoyao Zhang
8cf1b27b11 Merge "Update vts files on aosp." am: 248e3932fe am: 848e5db57f am: 832e7bd89a
am: 47497a0536

Change-Id: I2a66a8ef82ce6d93ad8ab274832dd3fdb15a0f95
2017-02-13 19:21:04 +00:00
Zhuoyao Zhang
65c99d7f08 Update vts files on aosp.
* Based on the latest hidl-gen and .hal files.

Test: mma
      make vts.

Change-Id: I4765450d985afd552fe720d91b9ab3422f5b7a47
2017-02-12 13:51:06 -08:00
Keun Soo Yim
7b9b6ca18f move VTS stub files and non-functional tests
Test: mma
Bug: 34976004
Change-Id: I20273bdc3a05e2986fcf921f65d2afd6d72781e4
2017-02-04 02:45:25 +00:00
Jack Yu
ac2aec9b0a HIDL change for Android O RIL update
1. Added two new API for screen state replacement.
2. Data call API refactoring work.

bug: 20125037, 32224135, 32223897, 32249926, 30282096, 30173958,
33653220
Test: Telephony sanity tests and unit tests

Change-Id: I6b266637914a85bd57c6a055c52c8ff4ced17e1f
2017-02-02 11:36:42 -08:00
Yuexi Ma
faad7891fb vts files for radio hal
Merged-In:I8bce0b3ce4874442638e4967b4b88fcd60497729
Test: mma
Change-Id: I8bce0b3ce4874442638e4967b4b88fcd60497729
(cherry picked from commit 689c6fb1b5)
2017-02-01 15:30:07 -08:00
Yuexi Ma
e98c0fa8aa vts test project init for radio hal
Test: ENABLE_TREBLE=true make vts BUILD_GOOGLE_VTS=true -j32 && vts-tradefed run commandAndExit vts --skip-all-system-status-check --primary-abi-only --skip-preconditions --module RadioHidlTest -l INFO
Change-Id: I794108d253bbdfa36a8aa6db336127721a51a017
2017-01-13 19:51:11 -08:00
Yuexi Ma
689c6fb1b5 vts files for radio hal
Test: mma
Change-Id: I8bce0b3ce4874442638e4967b4b88fcd60497729
2017-01-09 13:04:12 -08:00