/external/libese/esed/ |
H A D | esed.cpp | 45 EseInterfaceImpl ese; local 46 ese.init(); 47 if (ese.open() < 0) { 49 if (ese.error()) { 50 errMsg += " (" + std::to_string(ese.error_code()) + "): " + ese.error_message();
|
/external/libese/tools/ese_relay/ |
H A D | ese_relay_fake.c | 19 #include <ese/ese.h> 27 void ese_relay_init(struct EseInterface *ese) { ese_init(ese, ESE_HW_FAKE); } argument
|
H A D | ese_relay_pn80t_nq_nci.c | 18 #include <ese/ese.h> 32 void ese_relay_init(struct EseInterface *ese) { argument 33 ese_init(ese, ESE_HW_NXP_PN80T_NQ_NCI);
|
H A D | ese_relay_pn80t_spidev.c | 18 #include <ese/ese.h> 19 #include <ese/hw/nxp/pn80t/boards/hikey-spidev.h> 33 void ese_relay_init(struct EseInterface *ese) { argument 34 ese_init(ese, ESE_HW_NXP_PN80T_SPIDEV);
|
H A D | ese_relay.c | 28 #define LOG_TAG "ese-relay" 29 #include <ese/ese.h> 30 #include <ese/log.h> 35 void ese_relay_init(struct EseInterface *ese); 74 struct EseInterface ese; local 75 ese_relay_init(&ese); 101 if (ese_open(&ese, kEseOpenData)) { 103 if (ese_error(&ese)) 104 ALOGE("eSE error (%d): %s", ese_error_code(&ese), [all...] |
/external/libese/esed/pn81a/ |
H A D | utils.h | 78 T transceive(::android::esed::EseInterface& ese, const CommandApdu& command, argument 83 const int ret = ese.transceive(command.vector(), responseBuffer); 88 if (ese.error()) { 89 errMsg += " (" + std::to_string(ese.error_code()) + "): " + ese.error_message();
|
/external/libese/libese/ |
H A D | ese.c | 17 #include "include/ese/ese.h" 18 #include "include/ese/log.h" 30 API const char *ese_name(const struct EseInterface *ese) { argument 31 if (!ese) { 34 if (ese->ops->name) { 35 return ese->ops->name; 40 API int ese_open(struct EseInterface *ese, void *hw_opts) { argument 41 if (!ese) { 44 ALOGV("opening interface '%s'", ese_name(ese)); 51 ese_error_message(const struct EseInterface *ese) argument 55 ese_error_code(const struct EseInterface *ese) argument 59 ese_error(const struct EseInterface *ese) argument 61 ese_set_error(struct EseInterface *ese, int code) argument 84 ese_transceive(struct EseInterface *ese, const uint8_t *tx_buf, uint32_t tx_len, uint8_t *rx_buf, uint32_t rx_max) argument 108 ese_close(struct EseInterface *ese) argument [all...] |
/external/libese/examples/ |
H A D | ese_nxp_sample.c | 24 #include <ese/ese.h> 84 struct EseInterface ese = ESE_INITIALIZER(ESE_HW_NXP_PN80T_NQ_NCI); local 91 if (ese_open(&ese, ese_hw_open_data) < 0) { 93 if (ese_error(&ese)) 94 printf("eSE error (%d): %s\n", ese_error_code(&ese), 95 ese_error_message(&ese)); 109 recvd = ese_transceive(&ese, (uint8_t *)apdu->bytes, apdu->length, rx_buf, 111 if (ese_error(&ese)) { 112 printf("An error (%d) occurred: %s", ese_error_code(&ese), [all...] |
/external/libese/libese-hw/nxp/pn80t/ |
H A D | common.c | 19 #include "include/ese/hw/nxp/pn80t/common.h" 54 int nxp_pn80t_open(struct EseInterface *ese, void *board) { argument 57 if (sizeof(ese->pad) < sizeof(struct NxpState *)) { 59 ALOGE("Pad size too small to use NXP HW (%zu < %zu)", sizeof(ese->pad), 63 platform = ese->ops->opts; 72 ns = NXP_PN80T_STATE(ese); 73 TEQ1_INIT_CARD_STATE((struct Teq1CardState *)(&ese->pad[0])); 77 ese_set_error(ese, kNxpPn80tErrorPlatformInit); 99 int nxp_pn80t_reset(struct EseInterface *ese) { argument 100 const struct Pn80tPlatform *platform = ese 114 nxp_pn80t_poll(struct EseInterface *ese, uint8_t poll_for, float timeout, int complete) argument 150 nxp_pn80t_transceive(struct EseInterface *ese, const uint8_t *const tx_buf, uint32_t tx_len, uint8_t *rx_buf, uint32_t rx_len) argument 157 nxp_pn80t_send_cooldown(struct EseInterface *ese) argument 174 nxp_pn80t_close(struct EseInterface *ese) argument [all...] |
H A D | nq_nci.c | 26 * also appears to do the same which keeps the ese data available 47 #include "../include/ese/hw/nxp/pn80t/common.h" 102 uint32_t nq_transmit(struct EseInterface *ese, const uint8_t *buf, uint32_t len, argument 104 struct NxpState *ns = NXP_PN80T_STATE(ese); 105 const struct Pn80tPlatform *platform = ese->ops->opts; 109 ese_set_error(ese, kNxpPn80tErrorTransmitSize); 122 ese_set_error(ese, kNxpPn80tErrorTransmit); 132 uint32_t nq_receive(struct EseInterface *ese, uint8_t *buf, uint32_t len, argument 134 const struct Pn80tPlatform *platform = ese->ops->opts; 135 struct NxpState *ns = NXP_PN80T_STATE(ese); [all...] |
H A D | linux_spidev.c | 30 #include "../include/ese/hw/nxp/pn80t/common.h" 31 #include "../include/ese/hw/nxp/spi_board.h" 177 uint32_t spidev_transmit(struct EseInterface *ese, const uint8_t *buf, argument 179 struct NxpState *ns = NXP_PN80T_STATE(ese); 193 ese_set_error(ese, kNxpPn80tErrorTransmitSize); 199 ese_set_error(ese, kNxpPn80tErrorTransmit); 206 uint32_t spidev_receive(struct EseInterface *ese, uint8_t *buf, uint32_t len, argument 208 struct NxpState *ns = NXP_PN80T_STATE(ese); 222 ese_set_error(ese, kNxpPn80tErrorReceiveSize); 229 ese_set_error(ese, kNxpPn80tErrorReceiv [all...] |
/external/libese/libese-hw/ |
H A D | ese_hw_echo.c | 23 #include "../libese-teq1/include/ese/teq1.h" 24 #include "../libese/include/ese/ese.h" 25 #include "../libese/include/ese/log.h" 34 #define ECHO_STATE(ese) (*(struct EchoState **)(&ese->pad[1])) 36 static int echo_open(struct EseInterface *ese, void *hw_opts) { argument 39 if (sizeof(ese->pad) < sizeof(struct EchoState *)) { 41 ALOGE("Pad size too small to use Echo HW (%zu < %zu)", sizeof(ese->pad), 45 es_ptr = &ECHO_STATE(ese); 57 echo_close(struct EseInterface *ese) argument 67 echo_receive(struct EseInterface *ese, uint8_t *buf, uint32_t len, int complete) argument 90 echo_transmit(struct EseInterface *ese, const uint8_t *buf, uint32_t len, int complete) argument 112 echo_poll(struct EseInterface *ese, uint8_t poll_for, float timeout, int complete) argument 155 echo_transceive(struct EseInterface *ese, const uint8_t *const tx_buf, uint32_t tx_len, uint8_t *rx_buf, uint32_t rx_len) argument [all...] |
H A D | ese_hw_fake.c | 19 #include "../libese/include/ese/ese.h" 42 static int fake_open(struct EseInterface *ese, argument 44 ese->pad[0] = 1; /* rx complete */ 45 ese->pad[1] = 1; /* tx complete */ 49 static void fake_close(struct EseInterface *ese) { argument 50 if (!ese->pad[0] || !ese->pad[1]) { 51 /* Set by caller. ese->error.is_error = 1; */ 52 ese_set_error(ese, kEseFakeHwErrorEarlyClos 57 fake_receive(struct EseInterface *ese, uint8_t *buf, uint32_t len, int complete) argument 74 fake_transmit(struct EseInterface *ese, const uint8_t *buf, uint32_t len, int complete) argument 91 fake_poll(struct EseInterface *ese, uint8_t poll_for, float timeout, int complete) argument 110 fake_transceive(struct EseInterface *ese, const uint8_t *tx_buf, uint32_t tx_len, uint8_t *rx_buf, uint32_t rx_len) argument [all...] |
/external/libese/libese-teq1/ |
H A D | teq1.c | 17 #include "include/ese/teq1.h" 18 #include "../libese/include/ese/ese.h" 19 #include "../libese/include/ese/log.h" 99 int teq1_transmit(struct EseInterface *ese, argument 122 ese->ops->hw_transmit(ese, frame->val, 132 int teq1_receive(struct EseInterface *ese, argument 137 int bytes_consumed = ese->ops->poll(ese, opt 546 teq1_transceive(struct EseInterface *ese, const struct Teq1ProtocolOptions *opts, const uint8_t *const tx_buf, uint32_t tx_len, uint8_t *rx_buf, uint32_t rx_len) argument [all...] |
/external/guice/extensions/struts2/lib/ |
H A D | ant-1.6.5.jar | META-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/tools/ org/apache/tools/ant/ ... |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ |
H A D | ant.jar | META-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/tools/ org/apache/tools/ant/ ... |
/external/jarjar/lib/ |
H A D | apache-ant-1.9.4.jar | META-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/tools/ org/apache/tools/ant/ ... |
/external/owasp/sanitizer/tools/findbugs/lib/ |
H A D | ant.jar | META-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/tools/ org/apache/tools/ant/ ... |