commit | ecdec18c73624378928c3a8ab3cf1dd61218d299 | [log] [tgz] |
---|---|---|
author | Ruchi Kandoi <kandoiruchi@google.com> | Mon Jul 02 13:20:34 2018 -0700 |
committer | Keun Soo Yim <yim@google.com> | Tue Aug 28 22:30:29 2018 +0000 |
tree | 87eb81ab7556047a4b21f58ef1f3918befdf5ce4 | |
parent | 0b1461687f42b36e0ee281e48981abf2a51eec63 [diff] |
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 Merged-In: I2dd4eafaf4c534b49a37690a9baadcc5ac93190c Change-Id: I2dd4eafaf4c534b49a37690a9baadcc5ac93190c (cherry picked from commit ec5aa6af4d8b330af6c8599830942e29294aa688)
diff --git a/secure_element/1.0/vts/functional/VtsHalSecureElementV1_0TargetTest.cpp b/secure_element/1.0/vts/functional/VtsHalSecureElementV1_0TargetTest.cpp index 3ea3e8d..671923a 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 @@ se_->closeChannel(0); return; } - EXPECT_EQ(SecureElementStatus::UNSUPPORTED_OPERATION, statusReturned); + EXPECT_EQ(SecureElementStatus::CHANNEL_NOT_AVAILABLE, statusReturned); } /*