Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/nfc/services/src/tag/
H A Disodep_card_handler.cpp50 static bool GetCheckApduFromJson(cJSON *json, cJSON *cardInfoEach, TransportCardInfo *cardInfoList,… in GetCheckApduFromJson() argument
52 … cJSON *checkApdus = cJSON_GetObjectItemCaseSensitive(cardInfoEach, KEY_APDU_CHECK_APDUS.c_str()); in GetCheckApduFromJson()
73 static bool GetBalanceApduFromJson(cJSON *json, cJSON *cardInfoEach, TransportCardInfo *cardInfoLis… in GetBalanceApduFromJson() argument
75 …cJSON *balanceApdus = cJSON_GetObjectItemCaseSensitive(cardInfoEach, KEY_APDU_BALANCE_APDUS.c_str(… in GetBalanceApduFromJson()
99 cJSON *cardInfoEach = nullptr; in GetEachCardInfoFromJson() local
101 cJSON_ArrayForEach(cardInfoEach, cardInfo) { in GetEachCardInfoFromJson()
106 cJSON *name = cJSON_GetObjectItemCaseSensitive(cardInfoEach, KEY_APDU_NAME.c_str()); in GetEachCardInfoFromJson()
113 cJSON *aid = cJSON_GetObjectItemCaseSensitive(cardInfoEach, KEY_APDU_AID.c_str()); in GetEachCardInfoFromJson()
120 if (!GetCheckApduFromJson(json, cardInfoEach, cardInfoList, index)) { in GetEachCardInfoFromJson()
125 if (!GetBalanceApduFromJson(json, cardInfoEach, cardInfoList, index)) { in GetEachCardInfoFromJson()
[all …]