Commit graph

7 commits

Author SHA1 Message Date
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
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