/foundation/communication/nfc/interfaces/inner_api/common/ |
H A D | taginfo.cpp | 45 bool TagInfo::IsTechSupported(KITS::TagTechnology tech)
in IsTechSupported() argument 48 if (n == static_cast<int>(tech)) {
in IsTechSupported() 60 std::string TagInfo::GetStringTech(int tech)
in GetStringTech() argument 62 switch (tech) {
in GetStringTech() 100 AppExecFwk::PacMap TagInfo::GetTechExtrasByTech(KITS::TagTechnology tech)
in GetTechExtrasByTech() argument 108 if (static_cast<int>(tech) == tagTechList_[i]) {
in GetTechExtrasByTech()
|
H A D | taginfo.h | 66 AppExecFwk::PacMap GetTechExtrasByTech(KITS::TagTechnology tech);
71 bool IsTechSupported(KITS::TagTechnology tech);
75 static std::string GetStringTech(int tech);
|
/foundation/communication/nfc/test/fuzztest/tags_test/taginfo/getstringtech_fuzzer/ |
H A D | getstringtech_fuzzer.cpp | 30 int tech = static_cast<int>(data[0]); in FuzzGetStringTech() local 31 NFC::KITS::TagInfo::GetStringTech(tech); in FuzzGetStringTech()
|
/foundation/communication/nfc/test/fuzztest/tags_test/taginfo/gettechextrasbytech_fuzzer/ |
H A D | gettechextrasbytech_fuzzer.cpp | 59 TagTechnology tech = static_cast<TagTechnology>(ConvertToUint32(data)); in FuzzGetTechExtrasByTech() local 66 tagInfo->GetTechExtrasByTech(tech); in FuzzGetTechExtrasByTech()
|
/foundation/communication/nfc/test/fuzztest/tags_test/taginfo/istechsupported_fuzzer/ |
H A D | istechsupported_fuzzer.cpp | 59 TagTechnology tech = static_cast<TagTechnology>(ConvertToUint32(data)); in FuzzIsTechSupported() local 66 tagInfo->IsTechSupported(tech); in FuzzIsTechSupported()
|
/foundation/communication/nfc/test/fuzztest/tags_test/taginfo/setconnectedtagtech_fuzzer/ |
H A D | setconnectedtagtech_fuzzer.cpp | 59 TagTechnology tech = static_cast<TagTechnology>(ConvertToUint32(data)); in FuzzGetTechExtrasByTech() local 66 tagInfo->SetConnectedTagTech(tech); in FuzzGetTechExtrasByTech()
|
/foundation/communication/nfc/services/src/nci_adapter/nci_native_default/src/ |
H A D | tag_nci_adapter_ntf.cpp | 430 uint32_t tech[MAX_NUM_TECHNOLOGY];
in GetTechFromData() local 432 tech[g_commonTechListIndex] = TagNciAdapterCommon::TARGET_TYPE_ISO14443_3A;
in GetTechFromData() 434 tech[g_commonTechListIndex] = TagNciAdapterCommon::TARGET_TYPE_ISO14443_3A;
in GetTechFromData() 437 tech[g_commonTechListIndex] = TagNciAdapterCommon::TARGET_TYPE_MIFARE_UL;
in GetTechFromData() 441 tech[g_commonTechListIndex] = TagNciAdapterCommon::TARGET_TYPE_ISO14443_3B;
in GetTechFromData() 446 tech[g_commonTechListIndex] = TagNciAdapterCommon::TARGET_TYPE_FELICA;
in GetTechFromData() 448 tech[g_commonTechListIndex] = TagNciAdapterCommon::TARGET_TYPE_ISO14443_4;
in GetTechFromData() 449 SetIsoDepFwt(activated, tech[g_commonTechListIndex]);
in GetTechFromData() 454 tech[g_commonTechListIndex] = TagNciAdapterCommon::TARGET_TYPE_ISO14443_3A;
in GetTechFromData() 457 tech[g_commonTechListInde in GetTechFromData() 511 GetTechPollForTypeB(tNFC_RF_TECH_PARAMS nfcRfTechParams, uint32_t tech) GetTechPollForTypeB() argument [all...] |
H A D | tag_nci_adapter.cpp | 893 DebugLog("SetTimeout timeout: %{public}d, tech: %{public}d", timeout, technology); in SetTimeout() 1253 uint32_t tech[MAX_NUM_TECHNOLOGY]; in GetTechFromData() local 1255 tech[techListIndex_] = TagHost::TARGET_TYPE_ISO14443_3A; in GetTechFromData() 1257 tech[techListIndex_] = TagHost::TARGET_TYPE_ISO14443_3A; in GetTechFromData() 1264 tech[techListIndex_] = TagHost::TARGET_TYPE_MIFARE_UL; in GetTechFromData() 1269 tech[techListIndex_] = TagHost::TARGET_TYPE_ISO14443_3B; in GetTechFromData() 1273 tech[techListIndex_] = TagHost::TARGET_TYPE_FELICA; in GetTechFromData() 1275 tech[techListIndex_] = TagHost::TARGET_TYPE_ISO14443_4; in GetTechFromData() 1284 SetTimeout(fwt, tech[techListIndex_]); in GetTechFromData() 1291 tech[techListIndex in GetTechFromData() 1350 GetTechPollForTypeB(tNFC_RF_TECH_PARAMS nfcRfTechParams, uint32_t tech) GetTechPollForTypeB() argument [all...] |
H A D | tag_host.cpp | 66 DebugLog("TagHost::Connect tech = %{public}d", technology); in Connect() 114 ErrorLog("TagHost::Reconnect invalid tech index"); in Reconnect() 294 void TagHost::RemoveTech(int tech) in RemoveTech() argument 460 DebugLog("TagHost::GetTechExtrasData, tech len.%{public}zu", tagTechList_.size()); in GetTechExtrasData() 534 // parse extras data for ndef tech. in FindNdefTech() 562 void TagHost::AddNdefTechToTagInfo(uint32_t tech, uint32_t discId, uint32_t actProto, AppExecFwk::PacMap pacMap) in AddNdefTechToTagInfo() argument 564 InfoLog("AddNdefTechToTagInfo: tech = %{public}d", tech); in AddNdefTechToTagInfo() 565 tagTechList_.push_back(tech); in AddNdefTechToTagInfo()
|
/foundation/communication/nfc/services/src/nci_adapter/nci_native_default/include/ |
H A D | tag_nci_adapter_ntf.h | 96 std::string GetTechPollForTypeB(tNFC_RF_TECH_PARAMS nfcRfTechParams, uint32_t tech);
97 std::string GetTechActForIsoDep(tNFA_ACTIVATED activated, tNFC_RF_TECH_PARAMS nfcRfTechParams, uint32_t tech) const;
106 bool SendReselectReqIfNeed(int protocol, int tech);
|
H A D | tag_host.h | 78 void RemoveTech(int tech); 108 void AddNdefTechToTagInfo(uint32_t tech, uint32_t discId, uint32_t actProto, AppExecFwk::PacMap pacMap);
|
H A D | tag_nci_adapter.h | 139 std::string GetTechPollForTypeB(tNFC_RF_TECH_PARAMS nfcRfTechParams, uint32_t tech); 140 std::string GetTechActForIsoDep(tNFA_ACTIVATED activated, tNFC_RF_TECH_PARAMS nfcRfTechParams, uint32_t tech) const; 156 bool SendReselectReqIfNeed(int protocol, int tech); 213 std::vector<std::string> tagActivatedBytes_ {}; // current tech list index 256 uint32_t techListIndex_ = 0; // current tech list index
|
/foundation/communication/nfc/services/src/ipc/tags/ |
H A D | tag_session_stub.cpp | 100 int tech = data.ReadInt32();
in HandleConnect() local 101 int statusCode = Connect(tagRfDiscId, tech);
in HandleConnect() 154 int tech = data.ReadInt32();
in HandleSetTimeout() local 156 int statusCode = SetTimeout(tagRfDiscId, timeout, tech);
in HandleSetTimeout() 171 int tech = data.ReadInt32();
in HandleGetTimeout() local 172 int statusCode = GetTimeout(tagRfDiscId, tech, timeout);
in HandleGetTimeout() 327 int tech = data.ReadInt32();
in HandleGetMaxTransceiveLength() local 328 int statusCode = GetMaxTransceiveLength(tech, maxSize);
in HandleGetMaxTransceiveLength()
|
/foundation/communication/nfc/interfaces/inner_api/tags/ |
H A D | basic_tag_session.h | 43 void SetConnectedTagTech(KITS::TagTechnology tech) const;
|
H A D | basic_tag_session.cpp | 167 void BasicTagSession::SetConnectedTagTech(KITS::TagTechnology tech) const in SetConnectedTagTech() 173 tagInfo_.lock()->SetConnectedTagTech(tech); in SetConnectedTagTech()
|
/foundation/communication/nfc/services/src/external_deps/ |
H A D | app_data_parser.cpp | 31 static const std::string KEY_TAG_TECH = "tag-tech"; 274 DebugLog("UpdateTagAppList from metadata, push tech %{public}s", data.value.c_str()); in UpdateTagAppList() 280 DebugLog("UpdateTagAppList from customizeData, push tech %{public}s", data.value.c_str()); in UpdateTagAppList() 287 // format example: "type": "tag-tech/NfcA" in UpdateTagAppList() 293 std::string tech = uri.type.substr(0, pos); in UpdateTagAppList() local 294 if (KEY_TAG_TECH.compare(tech) != 0) { in UpdateTagAppList() 295 ErrorLog("UpdateTagAppList KEY_TAG_TECH for %{public}s", tech.c_str()); in UpdateTagAppList() 301 DebugLog("UpdateTagAppList from skillUri, push tech %{public}s", nfcType.c_str()); in UpdateTagAppList() 313 tagAppTechInfo.tech = valueList; in UpdateTagAppList() 490 std::vector<std::string> vectorTech = (*iter).tech; in GetDispatchTagAppsByTech() [all...] |
H A D | app_data_parser.h | 51 std::vector<std::string> tech; member
|
/foundation/communication/nfc/frameworks/js/napi/tag/ |
H A D | nfc_napi_tag_sesstion.cpp | 67 napi_value tech; in GetTagInfo() local 68 napi_create_uint32(env, techList[i], &tech); in GetTagInfo() 69 napi_set_element(env, techValue, i, tech); in GetTagInfo()
|
H A D | nfc_napi_foreground_dispatch.cpp | 236 // set extrasData[i] empty if no tech matches to keep one-to-one mapping of techList and extras
in SetTagExtraData() 260 napi_value tech;
in CreateResult() local 261 napi_create_uint32(env, techList[i], &tech);
in CreateResult() 262 napi_set_element(env, techValue, i, tech);
in CreateResult()
|
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_multi_test/ |
H A D | net_conn_client_test.cpp | 1279 int32_t tech = 2; in HWTEST_F() local 1280 int32_t ret = NetConnClient::GetInstance().RegisterSlotType(supplierId, tech); in HWTEST_F() 1299 int32_t tech = 2; in HWTEST_F() local 1300 ret = NetConnClient::GetInstance().RegisterSlotType(supplierId, tech); in HWTEST_F()
|