Home
last modified time | relevance | path

Searched refs:atr (Results 1 – 18 of 18) sorted by relevance

/hardware/interfaces/secure_element/1.0/vts/functional/
DVtsHalSecureElementV1_0TargetTest.cpp164 std::vector<uint8_t> atr; in TEST_P() local
165 se_->getAtr([&atr](std::vector<uint8_t> atrReturned) { in TEST_P()
166 atr.resize(atrReturned.size()); in TEST_P()
168 atr[i] = atrReturned[i]; in TEST_P()
171 if (atr.size() == 0) { in TEST_P()
174 EXPECT_GE((unsigned int)32, atr.size()); in TEST_P()
175 EXPECT_LE((unsigned int)1, atr.size()); in TEST_P()
/hardware/st/secure_element2/secure_element/1.0/esehal/src/
Diso7816_t1.h60 uint8_t atr[32]; /* ISO7816 defines ATR with a maximum of 32 bytes */ member
101 int isot1_get_atr(struct t1_state *t1, void *atr, size_t n);
Diso7816_t1.c354 const uint8_t *atr = t1->atr; in parse_atr() local
359 tck = y = (n > 0 ? atr[0] : 0); in parse_atr()
363 c = atr[j]; in parse_atr()
407 if (buf[2] <= sizeof(t1->atr)) { in parse_response()
410 memcpy(t1->atr, buf + 3, t1->atr_length); in parse_response()
798 isot1_get_atr(struct t1_state *t1, void *atr, size_t n) in isot1_get_atr() argument
807 memcpy(atr, t1->atr, r); in isot1_get_atr()
Dlibse-gto.c162 se_gto_reset(struct se_gto_ctx *ctx, void *atr, size_t r) in se_gto_reset() argument
172 err = isot1_get_atr(&ctx->t1, atr, r); in se_gto_reset()
/hardware/st/secure_element2/secure_element/1.0/esehal/src/se-gto/
Dlibse-gto.h164 int se_gto_reset(struct se_gto_ctx *ctx, void *atr, size_t r);
/hardware/ril/librilutils/proto/
Dsap-api.options20 RIL_SIM_SAP_TRANSFER_ATR_RSP.atr type:FT_POINTER
Dsap-api.proto214 optional bytes atr = 2; //must be present on SUCCESS field
/hardware/interfaces/radio/1.0/vts/functional/
Dsap_hidl_hal_utils.h66 const ::android::hardware::hidl_vec<uint8_t>& atr);
/hardware/st/secure_element2/secure_element/1.0/
DSecureElement.h52 uint8_t atr[32]; member
DSecureElement.cpp70 n = se_gto_reset(ctx, atr, sizeof(atr)); in resetSE()
74 dump_bytes("ATR: ", ':', atr, n, stdout); in resetSE()
152 memcpy(&response[0], atr, atr_size); in getAtr()
/hardware/ril/libril/
Dsap_service.cpp158 hidl_vec<uint8_t> atr; in sendFailedResponse() local
160 atr); in sendFailedResponse()
839 if (transferAtrRsp->atr != NULL && transferAtrRsp->atr->size > 0) { in processResponse()
840 transferAtrRspVec.setToExternal(transferAtrRsp->atr->bytes, in processResponse()
841 transferAtrRsp->atr->size); in processResponse()
/hardware/st/secure_element2/secure_element/1.1/
DSecureElement.h55 uint8_t atr[32]; member
DSecureElement.cpp70 n = se_gto_reset(ctx, atr, sizeof(atr)); in resetSE()
74 dump_bytes("ATR: ", ':', atr, n, stdout); in resetSE()
180 memcpy(&response[0], atr, atr_size); in getAtr()
/hardware/st/secure_element2/secure_element/1.2/
DSecureElement.h56 uint8_t atr[32]; member
DSecureElement.cpp75 n = se_gto_reset(ctx, atr, sizeof(atr)); in resetSE()
79 dump_bytes("ATR: ", ':', atr, n, stdout); in resetSE()
185 memcpy(&response[0], atr, atr_size); in getAtr()
/hardware/interfaces/radio/config/1.0/
Dtypes.hal48 string atr;
/hardware/interfaces/radio/1.0/
DISapCallback.hal74 * @param atr Answer to Reset from the subscription module. Included only if no error occurred,
77 oneway transferAtrResponse(int32_t token, SapResultCode resultCode, vec<uint8_t> atr);
/hardware/interfaces/radio/1.2/
Dtypes.hal354 string atr;