mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Temporary disable one of the transmit checks
The transmit without openning a channel passes on some platforms, because a basic channel can be opened by external applications and the state is maintained in the HAL. Bug: 300502872 Test: run vts -m VtsHalSecureElementTargetTest Change-Id: If727c613e8575802b99604f7242e16cf85fc97a0
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user