Merge "Temporary disable one of the transmit checks" into main am: 59107ad386 am: b872dab9f2 am: c3e18f1ef7

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2757990

Change-Id: Id058c712ea628ded250f97e430ddfdc1774b7d00
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Alisher Alikhodjaev 2023-09-21 02:38:12 +00:00 committed by Automerger Merge Worker
commit 700919225e

View file

@ -293,11 +293,13 @@ TEST_P(SecureElementAidl, transmit) {
std::vector<uint8_t> response;
LogicalChannelResponse logical_channel_response;
/* Temporaly disable this check to clarify Basic Channel behavior (b/300502872)
// Note: no channel is opened for this test
// transmit() will return an empty response with the error
// code CHANNEL_NOT_AVAILABLE when the SE cannot be
// communicated with.
EXPECT_ERR(secure_element_->transmit(kDataApdu, &response));
*/
EXPECT_OK(secure_element_->openLogicalChannel(kSelectableAid, 0x00, &logical_channel_response));
EXPECT_GE(logical_channel_response.selectResponse.size(), 2u);