/external/libese/esed/pn81a/tests/ |
D | apdu_test.cpp | 31 const CommandApdu apdu{1, 2, 3, 4}; in TEST() local 33 ASSERT_EQ(expected.size(), apdu.size()); in TEST() 34 ASSERT_TRUE(std::equal(apdu.begin(), apdu.end(), expected.begin(), expected.end())); in TEST() 38 const CommandApdu apdu{4, 3, 2, 1, 0, 3}; in TEST() local 40 ASSERT_EQ(expected.size(), apdu.size()); in TEST() 41 ASSERT_TRUE(std::equal(apdu.begin(), apdu.end(), expected.begin(), expected.end())); in TEST() 45 const CommandApdu apdu{4, 3, 2, 1, 0, 256}; in TEST() local 47 ASSERT_EQ(expected.size(), apdu.size()); in TEST() 48 ASSERT_TRUE(std::equal(apdu.begin(), apdu.end(), expected.begin(), expected.end())); in TEST() 52 const CommandApdu apdu{5, 6, 7, 8, 0, 258}; in TEST() local [all …]
|
/external/libese/esed/pn81a/ |
D | utils.h | 106 ResponseApdu apdu{responseBuffer}; 107 if (!apdu.ok()) { 114 return handler(apdu); 125 T checkLength(const ResponseApdu& apdu, const size_t size) { in checkLength() argument 126 if (apdu.dataSize() != size) { in checkLength() 138 T checkNoErrorAndLength(const ResponseApdu& apdu, const size_t size) { in checkNoErrorAndLength() argument 139 if (apdu.isError()) { in checkNoErrorAndLength() 143 return checkLength<T, OK, FAILED>(apdu, size); in checkNoErrorAndLength()
|
D | Android.bp | 23 "apdu.cpp",
|
/external/libese/examples/ |
D | ese_nxp_sample.c | 101 const struct Apdu *apdu = kSessions[s]->apdus[apdu_index]; in main() local 102 printf("Sending APDU %u: %s\n", apdu_index, apdu->desc); in main() 103 printf("Sending %u bytes to card\n", apdu->length); in main() 105 for (i = 0; i < apdu->length; ++i) in main() 106 printf("%.2X ", apdu->bytes[i]); in main() 109 recvd = ese_transceive(&ese, (uint8_t *)apdu->bytes, apdu->length, rx_buf, in main()
|
/external/libese/libese-hw/tests/ |
D | ese_hw_echo_tests.cpp | 43 std::vector<uint8_t> apdu; in TEST_F() local 46 apdu.resize(apdu_len, 'A'); in TEST_F() 48 …EXPECT_EQ(apdu_len, ese_transceive(&ese_, apdu.data(), apdu_len, apdu_reply.data(), apdu_reply.siz… in TEST_F() 50 EXPECT_EQ(apdu, apdu_reply); in TEST_F()
|
/external/robolectric/v3/runtime/ |
D | android-all-5.1.1_r9-robolectric-1.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
D | android-all-5.0.0_r2-robolectric-1.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
D | android-all-4.4_r1-robolectric-1.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |