Home
last modified time | relevance | path

Searched refs:tech (Results 1 - 20 of 20) sorted by relevance

/foundation/communication/nfc/interfaces/inner_api/common/
H A Dtaginfo.cpp45 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 Dtaginfo.h66 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 Dgetstringtech_fuzzer.cpp30 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 Dgettechextrasbytech_fuzzer.cpp59 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 Distechsupported_fuzzer.cpp59 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 Dsetconnectedtagtech_fuzzer.cpp59 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 Dtag_nci_adapter_ntf.cpp430 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 Dtag_nci_adapter.cpp893 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 Dtag_host.cpp66 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 Dtag_nci_adapter_ntf.h96 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 Dtag_host.h78 void RemoveTech(int tech);
108 void AddNdefTechToTagInfo(uint32_t tech, uint32_t discId, uint32_t actProto, AppExecFwk::PacMap pacMap);
H A Dtag_nci_adapter.h139 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 Dtag_session_stub.cpp100 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 Dbasic_tag_session.h43 void SetConnectedTagTech(KITS::TagTechnology tech) const;
H A Dbasic_tag_session.cpp167 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 Dapp_data_parser.cpp31 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 Dapp_data_parser.h51 std::vector<std::string> tech; member
/foundation/communication/nfc/frameworks/js/napi/tag/
H A Dnfc_napi_tag_sesstion.cpp67 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 Dnfc_napi_foreground_dispatch.cpp236 // 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 Dnet_conn_client_test.cpp1279 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()

Completed in 17 milliseconds