Searched refs:ese_ (Results 1 – 4 of 4) sorted by relevance
/external/libese/libese/tests/ |
D | ese_unittests.cpp | 26 EseInterfaceTest() : ese_(ESE_INITIALIZER(ESE_HW_FAKE)) { in EseInterfaceTest() 31 struct EseInterface ese_; member in EseInterfaceTest 39 EXPECT_STREQ("eSE Fake Hardware", ese_name(&ese_)); in TEST_F() 67 EXPECT_EQ(0, ese_open(&ese_, NULL)); in TEST_F() 86 EXPECT_EQ(0, ese_open(&ese_, NULL)); in TEST_F() 87 ese_close(&ese_); in TEST_F() 91 EXPECT_EQ(0, ese_open(&ese_, NULL)); in TEST_F() 92 ese_.ops->hw_transmit(&ese_, NULL, 0, 0); in TEST_F() 93 ese_close(&ese_); in TEST_F() 94 EXPECT_EQ(0, ese_open(&ese_, NULL)); in TEST_F() [all …]
|
/external/libese/libese-hw/tests/ |
D | ese_hw_echo_tests.cpp | 30 EseInterfaceTest() : ese_(ESE_INITIALIZER(ESE_HW_ECHO)) { in EseInterfaceTest() 34 ASSERT_EQ(0, ese_open(&ese_, NULL)); in SetUp() 37 ese_close(&ese_); in TearDown() 39 struct EseInterface ese_; member in EseInterfaceTest 48 …EXPECT_EQ(apdu_len, ese_transceive(&ese_, apdu.data(), apdu_len, apdu_reply.data(), apdu_reply.siz… in TEST_F()
|
/external/libese/apps/boot/tests/ |
D | ese_app_boot_tests.cpp | 84 EseOperationsWrapper::InitializeEse(&ese_, &trans_); in SetUp() 93 EseInterface ese_; member in BootAppTest 97 EXPECT_EQ(0, ese_open(&ese_, NULL)); in TEST_F() 118 EXPECT_EQ(ESE_APP_RESULT_OK, ese_boot_session_open(&ese_, &session)); in TEST_F() 122 EXPECT_EQ(0, ese_open(&ese_, NULL)); in TEST_F() 136 EXPECT_EQ(ESE_APP_RESULT_ERROR_COOLDOWN, ese_boot_session_open(&ese_, &session)); in TEST_F() 140 EXPECT_EQ(0, ese_open(&ese_, NULL)); in TEST_F() 161 EXPECT_EQ(ESE_APP_RESULT_ERROR_OS, ese_boot_session_open(&ese_, &session)); in TEST_F()
|
/external/libese/libese-teq1/tests/ |
D | teq1_unittests.cpp | 495 EseOperationsWrapper::InitializeEse(&ese_, &wire_); in SetUp() 497 TEQ1_INIT_CARD_STATE((struct Teq1CardState *)(&(ese_.pad[0]))); in SetUp() 506 EseInterface ese_; member in Teq1TransceiveTest 511 EXPECT_EQ(0, ese_open(&ese_, NULL)); in TEST_F() 543 EXPECT_EQ(0, ese_transceive(&ese_, payload, sizeof(payload), reply, sizeof(reply))); in TEST_F() 548 EXPECT_EQ(0, ese_open(&ese_, NULL)); in TEST_F() 589 EXPECT_EQ(0, ese_transceive(&ese_, payload, sizeof(payload), reply, sizeof(reply))); in TEST_F() 593 EXPECT_EQ(0, ese_open(&ese_, NULL)); in TEST_F() 670 EXPECT_EQ(0, ese_transceive(&ese_, payload, sizeof(payload), reply, sizeof(reply))); in TEST_F() 675 EXPECT_EQ(0, ese_open(&ese_, NULL)); in TEST_F() [all …]
|