/external/libese/apps/weaver/ |
weaver.c | 17 #include "include/ese/app/weaver.h" 69 session->ese = NULL; 74 ESE_API EseAppResult ese_weaver_session_open(struct EseInterface *ese, 80 if (!ese || !session) { 81 ALOGE("Invalid |ese| or |session|"); 89 rx_len = ese_transceive(ese, kManageChannelOpen, sizeof(kManageChannelOpen), 91 if (ese_error(ese)) { 92 ALOGE("transceive error: code:%d message:'%s'", ese_error_code(ese), 93 ese_error_message(ese)); 115 session->ese = ese [all...] |
/external/libese/apps/boot/ |
boot.c | 17 #include "include/ese/app/boot.h" 61 session->ese = NULL; 66 ESE_API EseAppResult ese_boot_session_open(struct EseInterface *ese, 72 if (!ese || !session) { 73 ALOGE("Invalid |ese| or |session|"); 81 rx_len = ese_transceive(ese, kManageChannelOpen, sizeof(kManageChannelOpen), 83 if (ese_error(ese)) { 84 ALOGE("transceive error: code:%d message:'%s'", ese_error_code(ese), 85 ese_error_message(ese)); 107 session->ese = ese [all...] |
ese_boot_tool.cpp | 29 #include <ese/ese.h> 32 #include "include/ese/app/boot.h" 57 #define handle_error(ese, result) ; 59 void handle_error(struct EseInterface *ese, EseAppResult result) { 308 handle_error(session->ese, res); 317 handle_error(session->ese, res); 356 printf("Passing an unlockToken of length %d to the eSE\n", len - 1); 370 handle_error(session->ese, res); 399 handle_error(session->ese, res) 442 struct EseInterface ese = ESE_INITIALIZER(ESE_HW_NXP_PN80T_NQ_NCI); local [all...] |
/external/libese/apps/weaver/include/ese/app/ |
weaver.h | 20 #include "../../../../../libese/include/ese/ese.h" 21 #include "../../../../../libese/include/ese/log.h" 22 #include "../../../../../libese-sysdeps/include/ese/sysdeps.h" 24 #include "../../../../include/ese/app/result.h" 39 * res = ese_weaver_session_open(ese, &session); 48 struct EseInterface *ese; member in struct:EseWeaverSession 70 * channel on an already open |ese| object. 74 EseAppResult ese_weaver_session_open(struct EseInterface *ese, struct EseWeaverSession *session);
|
/external/libese/esed/ |
OemLock.cpp | 22 #include "../apps/boot/include/ese/app/boot.h" 40 ScopedEseConnection ese{mEse}; 41 ese.init(); 86 ScopedEseConnection ese{mEse}; 87 ese.init(); 124 ScopedEseConnection ese{mEse}; 125 ese.init(); 156 ScopedEseConnection ese{mEse}; 157 ese.init();
|
OemLock.h | 37 OemLock(EseInterface& ese) : mEse(ese) {}
|
Weaver.h | 36 Weaver(EseInterface& ese) : mEse(ese) {};
|
utils.h | 74 * Transceive a command with the eSE and perform common error checking. When the 76 * from the eSE was successful and that the response is in a valid format. 79 T transceive(::android::esed::EseInterface& ese, const CommandApdu& command, 84 const int ret = ese.transceive(command.vector(), responseBuffer); 86 // Check eSE communication was successful 88 std::string errMsg = "Failed to transceive data between AP and eSE"; 89 if (ese.error()) { 90 errMsg += " (" + std::to_string(ese.error_code()) + "): " + ese.error_message(); 101 LOG(ERROR) << "eSE response was longer than the buffer, check the buffer size." [all...] |
Weaver.cpp | 24 #include "../apps/weaver/include/ese/app/weaver.h" 42 ScopedEseConnection ese{mEse}; 43 ese.init(); 81 ScopedEseConnection ese{mEse}; 82 ese.init(); 125 ScopedEseConnection ese{mEse}; 126 ese.init();
|
/external/libese/libese-hw/tests/ |
ese_hw_echo_tests.cpp | 22 #include <ese/ese.h>
|
/external/libese/apps/boot/tests/ |
ese_app_boot_tests.cpp | 21 #include <ese/ese.h> 22 #include <ese/app/boot.h> 35 virtual int EseOpen(struct EseInterface *ese, void *data) { 38 virtual uint32_t EseHwReceive(struct EseInterface *ese, uint8_t *data, 40 virtual uint32_t EseHwTransmit(struct EseInterface *ese, const uint8_t *data, 42 virtual int EseReset(struct EseInterface *ese) { return -1; } 43 virtual int EsePoll(struct EseInterface *ese, uint8_t poll_for, float timeout, int complete) { 46 virtual void EseClose(struct EseInterface *ese) { } 48 virtual uint32_t EseTransceive(struct EseInterface *ese, const struct EseSgBuffer *tx_sg, uint32_t tx_nsg [all...] |
/external/libese/libese-teq1/ |
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, 122 ese->ops->hw_transmit(ese, frame->val, 132 int teq1_receive(struct EseInterface *ese, 137 int bytes_consumed = ese->ops->poll(ese, opts->host_address, timeout, 0) [all...] |
teq1_private.h | 108 int teq1_transmit(struct EseInterface *ese, 111 int teq1_receive(struct EseInterface *ese,
|
/external/libese/apps/boot/include/ese/app/ |
boot.h | 22 #include "../../../../../libese/include/ese/ese.h" 23 #include "../../../../../libese/include/ese/log.h" 24 #include "../../../../../libese-sysdeps/include/ese/sysdeps.h" 26 #include "../../../../include/ese/app/result.h" 41 * res = ese_boot_session_open(ese, &session); 50 struct EseInterface *ese; member in struct:EseBootSession 88 * channel on an already open |ese| object. 92 EseAppResult ese_boot_session_open(struct EseInterface *ese, struct EseBootSession *session);
|
/external/libese/libese-hw/nxp/pn80t/ |
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, 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, 208 struct NxpState *ns = NXP_PN80T_STATE(ese); 222 ese_set_error(ese, kNxpPn80tErrorReceiveSize); 229 ese_set_error(ese, kNxpPn80tErrorReceive) [all...] |
/external/libese/libese/tests/ |
ese_unittests.cpp | 17 #include <ese/ese.h> 39 EXPECT_STREQ("eSE Fake Hardware", ese_name(&ese_));
|
sg_unittests.cpp | 19 #include <ese/ese_sg.h>
|
bitspec_unittests.cpp | 19 #include <ese/bit_spec.h>
|
/external/libese/libese/include/ese/ |
ese_hw_api.h | 21 #include "../../../libese-sysdeps/include/ese/sysdeps.h" 71 * and receive an application payload to and from the eSE. Normally, this 152 /* Used to receive raw data from the ese. */ 154 /* Used to transmit raw data to the ese. */ 161 * application data to the eSE. By default, this may point to 194 void ese_set_error(struct EseInterface *ese, int code);
|
/external/libese/tools/ese_ls_provision/ |
ese_ls_provision.cpp | 26 #include <ese/ese.h> 181 LOG(DEBUG) << "Start of ESE provisioning";
|
/device/google/wahoo/ |
ueventd.hardware.rc | 101 # eSE device 102 /dev/pn81a 0660 ese ese
|
/external/libese/libese-teq1/tests/ |
teq1_unittests.cpp | 24 #include <ese/ese.h> 25 #include <ese/teq1.h> 27 #include <ese/log.h> 398 virtual int EseOpen(struct EseInterface *UNUSED(ese), void *UNUSED(data)) { 401 virtual int EseReset(struct EseInterface *UNUSED(ese)) { 408 virtual int EsePoll(struct EseInterface *UNUSED(ese), uint8_t UNUSED(poll_for), 412 virtual void EseClose(struct EseInterface *UNUSED(ese)) { }; 414 virtual uint32_t EseTransceive(struct EseInterface *ese, const struct EseSgBuffer *tx_sg, uint32_t tx_nsg, 417 return teq1_transceive(ese, &kTeq1Options, tx_sg, tx_nsg, rx_sg, rx_nsg) [all...] |
/external/libese/apps/weaver/tests/ |
weaver_test.cpp | 19 #include <include/ese/app/weaver.h> 37 std::string errMsg = "Failed to open connection to eSE";
|
/external/libese/libese-teq1/include/ese/ |
teq1.h | 24 #include "../../../libese/include/ese/ese.h" 25 #include "../../../libese/include/ese/bit_spec.h" 190 uint32_t teq1_transceive(struct EseInterface *ese,
|
/device/google/crosshatch/ |
device.mk | 416 vendor.ese.loader_script_path=/sys/firmware/devicetree/base/soc/i2c@88c000/nq@28/ese/loader_scripts_path 420 frameworks/native/data/etc/android.hardware.nfc.ese.xml:$(TARGET_COPY_OUT_VENDOR)/odm/etc/permissions/sku_G013B/android.hardware.nfc.ese.xml \ 422 frameworks/native/data/etc/android.hardware.nfc.ese.xml:$(TARGET_COPY_OUT_VENDOR)/odm/etc/permissions/sku_G013D/android.hardware.nfc.ese.xml [all...] |