mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 05:49:27 +00:00
Add init() as a part of Secure Element VTS test
Test: run vts -m VtsHalSecureElementV1_0Target Bug: 64881253 Change-Id: Ic93efdd3633f0dd3a5625e617dac0243d934ca77
This commit is contained in:
@@ -92,6 +92,10 @@ class SecureElementHidlTest : public ::testing::VtsHalHidlTargetTestBase {
|
||||
|
||||
se_cb_ = new SecureElementHalCallback();
|
||||
ASSERT_NE(se_cb_, nullptr);
|
||||
se_->init(se_cb_);
|
||||
auto res = se_cb_->WaitForCallback(kCallbackNameOnStateChange);
|
||||
EXPECT_TRUE(res.no_timeout);
|
||||
EXPECT_TRUE(res.args->state_);
|
||||
}
|
||||
|
||||
sp<ISecureElement> se_;
|
||||
|
||||
Reference in New Issue
Block a user