diff options
author | Ruchi Kandoi <kandoiruchi@google.com> | 2018-07-02 13:20:34 -0700 |
---|---|---|
committer | Ruchi Kandoi <kandoiruchi@google.com> | 2018-07-02 21:35:34 +0000 |
commit | 44174ecbd0afd2b2eb78ac817c48d85c07249a31 (patch) | |
tree | 054777bd76e7a4dac15951c1bddac9994bc24ddf /secure_element | |
parent | a086c5c3a9c67b7da884c7532bd2e94add5422db (diff) | |
download | android_hardware_interfaces-44174ecbd0afd2b2eb78ac817c48d85c07249a31.tar.gz android_hardware_interfaces-44174ecbd0afd2b2eb78ac817c48d85c07249a31.tar.bz2 android_hardware_interfaces-44174ecbd0afd2b2eb78ac817c48d85c07249a31.zip |
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
Diffstat (limited to 'secure_element')
-rw-r--r-- | secure_element/1.0/vts/functional/VtsHalSecureElementV1_0TargetTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/secure_element/1.0/vts/functional/VtsHalSecureElementV1_0TargetTest.cpp b/secure_element/1.0/vts/functional/VtsHalSecureElementV1_0TargetTest.cpp index 3ea3e8dca..671923a61 100644 --- a/secure_element/1.0/vts/functional/VtsHalSecureElementV1_0TargetTest.cpp +++ b/secure_element/1.0/vts/functional/VtsHalSecureElementV1_0TargetTest.cpp @@ -173,7 +173,7 @@ TEST_F(SecureElementHidlTest, openBasicChannel) { se_->closeChannel(0); return; } - EXPECT_EQ(SecureElementStatus::UNSUPPORTED_OPERATION, statusReturned); + EXPECT_EQ(SecureElementStatus::CHANNEL_NOT_AVAILABLE, statusReturned); } /* |