Home
last modified time | relevance | path

Searched refs:OsuHalExtn (Results 1 – 5 of 5) sorted by relevance

/hardware/nxp/secure_element/snxxx/OsuHal/src/
DOsuHalExtn.cpp42 OsuHalExtn::OsuApduMode OsuHalExtn::isOsuMode(const std::vector<uint8_t>& evt, in isOsuMode()
96 bool OsuHalExtn::isOsuMode(uint8_t type, uint8_t channel) { in isOsuMode()
134 void OsuHalExtn::checkAndUpdateOsuMode() { in checkAndUpdateOsuMode()
147 OsuHalExtn& OsuHalExtn::getInstance() { in getInstance()
148 static OsuHalExtn manager; in getInstance()
161 OsuHalExtn::OsuHalExtn() noexcept { in OsuHalExtn() function in OsuHalExtn
175 OsuHalExtn::~OsuHalExtn() {} in ~OsuHalExtn()
186 bool OsuHalExtn::isOsuMode() { return (isAppOSUMode || isJcopOSUMode); } in isOsuMode()
200 OsuHalExtn::OsuApduMode OsuHalExtn::checkTransmit( in checkTransmit()
202 OsuHalExtn::OsuApduMode halMode = NON_OSU_MODE; in checkTransmit()
[all …]
/hardware/nxp/secure_element/snxxx/OsuHal/inc/
DOsuHalExtn.h40 #define IS_OSU_MODE(...) (OsuHalExtn::getInstance().isOsuMode(__VA_ARGS__))
42 class OsuHalExtn {
61 static OsuHalExtn& getInstance();
66 virtual ~OsuHalExtn();
67 OsuHalExtn() noexcept;
/hardware/nxp/secure_element/snxxx/1.2/
DSecureElement.cpp106 phNxpEse_setWtxCountLimit(OsuHalExtn::getInstance().getOSUMaxWtxCount()); in init()
116 IS_OSU_MODE(OsuHalExtn::getInstance().INIT, 0); in init()
133 IS_OSU_MODE(OsuHalExtn::getInstance().INIT, 0); in init()
219 phNxpEse_setWtxCountLimit(OsuHalExtn::getInstance().getOSUMaxWtxCount()); in init_1_1()
229 IS_OSU_MODE(OsuHalExtn::getInstance().INIT, 0); in init_1_1()
245 IS_OSU_MODE(OsuHalExtn::getInstance().INIT, 0); in init_1_1()
275 (IS_OSU_MODE(OsuHalExtn::getInstance().GETATR))) { in getAtr()
349 OsuHalExtn::OsuApduMode mode = IS_OSU_MODE( in transmit()
350 data, OsuHalExtn::getInstance().TRANSMIT, &gsTxRxBuffer.cmdData); in transmit()
351 if (mode == OsuHalExtn::getInstance().OSU_BLOCKED_MODE) { in transmit()
[all …]
/hardware/nxp/secure_element/snxxx/aidl/
DSecureElement.cpp127 phNxpEse_setWtxCountLimit(OsuHalExtn::getInstance().getOSUMaxWtxCount()); in init()
137 IS_OSU_MODE(OsuHalExtn::getInstance().INIT, 0); in init()
153 IS_OSU_MODE(OsuHalExtn::getInstance().INIT, 0); in init()
182 (IS_OSU_MODE(OsuHalExtn::getInstance().GETATR))) { in getAtr()
267 OsuHalExtn::OsuApduMode mode = IS_OSU_MODE( in transmit()
268 data, OsuHalExtn::getInstance().TRANSMIT, &gsTxRxBuffer.cmdData); in transmit()
269 if (mode == OsuHalExtn::getInstance().OSU_BLOCKED_MODE) { in transmit()
274 } else if (mode == OsuHalExtn::getInstance().OSU_RST_MODE) { in transmit()
356 (IS_OSU_MODE(OsuHalExtn::getInstance().OPENLOGICAL))) { in openLogicalChannel()
555 IS_OSU_MODE(aid, OsuHalExtn::getInstance().OPENBASIC) == in openBasicChannel()
[all …]
/hardware/nxp/secure_element/snxxx/
DAndroid.bp30 srcs: ["OsuHal/src/OsuHalExtn.cpp"],