Home
last modified time | relevance | path

Searched refs:checkApdus (Results 1 - 2 of 2) sorted by relevance

/foundation/communication/nfc/services/src/tag/
H A Disodep_card_handler.cpp52 cJSON *checkApdus = cJSON_GetObjectItemCaseSensitive(cardInfoEach, KEY_APDU_CHECK_APDUS.c_str()); in GetCheckApduFromJson() local
53 if (checkApdus == nullptr || !cJSON_IsArray(checkApdus)) { in GetCheckApduFromJson()
54 ErrorLog("json param not array, or has no field \"checkApdus\", index = %{public}d", index); in GetCheckApduFromJson()
57 int checkApduArraySize = cJSON_GetArraySize(checkApdus); in GetCheckApduFromJson()
63 cJSON *value = cJSON_GetArrayItem(checkApdus, i); in GetCheckApduFromJson()
68 cardInfoList[index].checkApdus.push_back(value->valuestring); in GetCheckApduFromJson()
198 for (uint8_t i = 0; i < cardInfoVec_[cardIndex].checkApdus.size(); ++i) { in MatchCity()
199 checkCmdApdu = cardInfoVec_[cardIndex].checkApdus[i]; in MatchCity()
/foundation/communication/nfc/services/include/
H A Disodep_card_handler.h30 std::vector<std::string> checkApdus; member
47 static const std::string KEY_APDU_CHECK_APDUS = "checkApdus";

Completed in 2 milliseconds