Home
last modified time | relevance | path

Searched refs:expected_tx (Results 1 – 2 of 2) sorted by relevance

/external/libese/apps/boot/tests/
Dese_app_boot_tests.cpp57 EXPECT_EQ(invocation.expected_tx.size(), tx_total); in EseTransceive()
60 EXPECT_EQ(0, memcmp(incoming.data(), invocation.expected_tx.data(), tx_total)); in EseTransceive()
71 std::vector<uint8_t> expected_tx; member
103 trans_.invocations[0].expected_tx.resize(kManageChannelOpenLength); in TEST_F()
104 memcpy(trans_.invocations[0].expected_tx.data(), kManageChannelOpen, in TEST_F()
111 trans_.invocations[1].expected_tx.resize(kSelectAppletLength); in TEST_F()
112 memcpy(trans_.invocations[1].expected_tx.data(), kSelectApplet, in TEST_F()
114 trans_.invocations[1].expected_tx[0] |= 0x01; // Channel in TEST_F()
128 trans_.invocations[0].expected_tx.resize(kManageChannelOpenLength); in TEST_F()
129 memcpy(trans_.invocations[0].expected_tx.data(), kManageChannelOpen, in TEST_F()
[all …]
/external/libese/libese-teq1/tests/
Dteq1_unittests.cpp435 EXPECT_EQ(invocation.expected_tx.size(), len); in EseHwTransmit()
436 int eq = memcmp(data, invocation.expected_tx.data(), len); in EseHwTransmit()
440 << "Expected: '" << to_hex(invocation.expected_tx) << "'"; in EseHwTransmit()
478 std::vector<uint8_t> expected_tx; member
527 wire_.invocations[0].expected_tx.resize(frame_size); in TEST_F()
528 memcpy(wire_.invocations[0].expected_tx.data(), &frame.val[0], frame_size); in TEST_F()
566 wire_.invocations[0].expected_tx.resize(frame_size); in TEST_F()
567 memcpy(wire_.invocations[0].expected_tx.data(), &frame.val[0], frame_size); in TEST_F()
568 wire_.invocations[1].expected_tx.resize(frame_size); in TEST_F()
569 memcpy(wire_.invocations[1].expected_tx.data(), &frame.val[0], frame_size); in TEST_F()
[all …]