Commit graph

15 commits

Author SHA1 Message Date
Dan Shi
ba4d532fee Suppress gtest error for tests without any instance
Bug: 162052785
Test: m -j vts
Change-Id: I8c1a48e6fbd7c8161137902b5332911fa0d7b8b3
2020-07-28 15:12:32 -07:00
Jack Yu
9995280b1b Add owner to secure element vts test
Bug: 154772240
Test: N/A
Exempt-From-Owner-Approval: test owner is not added
Merged-In: I87df98366b07ac26b971d80b27f8f600783d74d0
Change-Id: I87df98366b07ac26b971d80b27f8f600783d74d0
2020-07-24 13:26:38 +00:00
Jack Yu
e897da6940 Tag vts module VtsHalSecureElementV1_*TargetTest with secure element sim
Bug: 161745750
Test: build pass
Change-Id: I498b0f6eb4e6b9e6c679068cdfd9a044c41b1cc3
2020-07-23 10:18:51 +08:00
Jooyung Han
d610435ac4 update hidl .bp
HIDL libs are not necessarily part of VNDK now. Because some are
used by VNDK libs, they are still VNDK. But rest are now just
vendor-available.

.hidl_for_test files are also removed because they are used to exclude
test-purpose hidl libs from VNDK libs.

Instead, .hidl_for_system_ext files are added to tests/lazy to
distinguish them from others which are installed /system.

Bug: 143933769
Test: update-makefiles.sh && m com.android.vndk.current
Merged-In: Ia81312dda340b6b5cbdd7a3c21e1d323bda39a4a
Change-Id: Ia81312dda340b6b5cbdd7a3c21e1d323bda39a4a
(cherry picked from commit b0907a6bb8)
2020-07-07 16:22:36 +09:00
Dan Shi
ba894f81db Rename vts-core to vts
Bug: 151896491
Test: local build
Exempt-From-Owner-Approval: This CL update suite name vts-core to vts as
the suite name is updated. This CL won't change test logic or behavior.

Change-Id: I562b4dc50765e953800a814a8fd84a01c1b9352b
Merged-In: I562b4dc50765e953800a814a8fd84a01c1b9352b
2020-04-07 15:17:02 -07:00
Dan Shi
ac4058a721 Convert VtsHalSecureElementV1_*TargetTest to be parameterized test
Bug: 142397658
Test: atest VtsHalSecureElementV1_0TargetTest \
  VtsHalSecureElementV1_1TargetTest

Change-Id: Ied7b7b8ad53ac0f79cceb567257c14cd3bd221f1
2019-12-11 10:48:54 -08: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
Steven Moreland
a878aee9ab Update makefies: no 'types'
Bug: 123976090
Test: N/A
Change-Id: I30fb04c81889b62775e1b764b965fdb0f893de17
2019-03-04 11:27:17 -08:00
Keun Soo YIM
68ae05dd2d pack VTS cc_test binaries as general-tests
Test: make general-tests
Bug: 120093339
Merged-In: I363450d205868f900e4925ccff1430e2a569f2a4
Change-Id: I363450d205868f900e4925ccff1430e2a569f2a4
2018-12-07 10:49:56 -08:00
Ruchi Kandoi
44174ecbd0 Secure_element: vts: Modify openBasicChannel as per OMAPI standard
CHANNEL_NOT_AVAILABLE should be returned when opening basic channel
is not permitted on the secure element

Test: Test with SIM1 HAL
Bug: 110945797
Change-Id: I2dd4eafaf4c534b49a37690a9baadcc5ac93190c
2018-07-02 21:35:34 +00:00
Ruchi Kandoi
0845d32131 secure_element: vts: Fix openBasicChannel and transmit test case
Status Response for basic channel can be only 2 bytes as well.
Update the test to test for 2 or more bytes.
Basic Channel if opened successfully should be closed.

Transmit test case should specify the channel number in the command.

Test: atest VtsHalSecureElementV1_0TargetTest
Bug: 109833790
Change-Id: I91c943b4297067f6ae6872efb038f1295f92f5c8
Merged-In: I91c943b4297067f6ae6872efb038f1295f92f5c8
2018-06-07 21:51:50 +00:00
Ruchi Kandoi
c4352bdb21 secure_element: VTS: Remove MANAGE_CHANNEL commands in transmit
Use Dummy APDU and Android CTS AID for the test cases.

Test: Run VtsHalSecureElementV1_0TargetTest
Bug: 77296379
Change-Id: Id5397c9efb000a1737176ebacb6ded0837dc2d61
2018-03-29 18:19:30 -07:00
Ruchi Kandoi
fbcbc01d9c Add init() as a part of Secure Element VTS test
Test: run vts -m VtsHalSecureElementV1_0Target
Bug: 64881253
Change-Id: Ic93efdd3633f0dd3a5625e617dac0243d934ca77
2018-02-26 14:02:51 -08:00
Ruchi Kandoi
22a4d0e07e Add VTS Test for Secure Element HAL
Test: Run VTS test
Bug: 64881253
Change-Id: If77d87c88bd073409dce3d18aba8f15a1267a80e
2018-01-31 11:51:48 -08:00
Ruchi Kandoi
241e5aba9e Add SecureElement HAL interface
Test: Run VtsHalSecureElementV1_0TargetTest
Bug: 64881253
Change-Id: Ie37228e27356ac0958ab7469e2276253325c4e4f
2018-01-25 16:56:47 -08:00