Merge "Add init() as a part of Secure Element VTS test"

am: 196fbbc1a6

Change-Id: I9594c8b599265f820f165a980febc9d678b76538
This commit is contained in:
Ruchi Kandoi
2018-02-28 18:53:00 +00:00
committed by android-build-merger

View File

@@ -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_;