Lines Matching refs:ese
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.";
109 LOG(ERROR) << "eSE response was invalid.";
128 LOG(ERROR) << "eSE response was the wrong length.";
141 LOG(ERROR) << "eSE operation failed";