Home
last modified time | relevance | path

Searched refs:hexRespData (Results 1 - 25 of 44) sorted by relevance

12

/foundation/communication/nfc/interfaces/inner_api/tags/
H A Diso15693_tag.cpp48 int Iso15693Tag::ReadSingleBlock(uint32_t flag, uint32_t blockIndex, std::string &hexRespData) in ReadSingleBlock() argument
63 return SendCommand(sendCommand, false, hexRespData); in ReadSingleBlock()
82 std::string hexRespData; in WriteSingleBlock() local
83 return SendCommand(sendCommand, false, hexRespData); in WriteSingleBlock()
102 std::string hexRespData; in LockSingleBlock() local
103 return SendCommand(sendCommand, false, hexRespData); in LockSingleBlock()
106 int Iso15693Tag::ReadMultipleBlock(uint32_t flag, uint32_t blockIndex, uint32_t blockNum, std::string &hexRespData) in ReadMultipleBlock() argument
120 return SendCommand(sendCommand, false, hexRespData); in ReadMultipleBlock()
140 std::string hexRespData; in WriteMultipleBlock() local
141 return SendCommand(sendCommand, false, hexRespData); in WriteMultipleBlock()
[all...]
H A Dmifare_classic_tag.cpp136 std::string hexRespData; in AuthenticateSector() local
137 return SendCommand(hexCmd, false, hexRespData); in AuthenticateSector()
140 int MifareClassicTag::ReadSingleBlock(uint32_t blockIndex, std::string &hexRespData) in ReadSingleBlock() argument
154 return SendCommand(hexCmd, false, hexRespData); in ReadSingleBlock()
176 std::string hexRespData; in WriteSingleBlock() local
177 return SendCommand(hexCmd, false, hexRespData); in WriteSingleBlock()
199 std::string hexRespData; in IncrementBlock() local
200 return SendCommand(hexCmd, false, hexRespData); in IncrementBlock()
222 std::string hexRespData; in DecrementBlock() local
223 return SendCommand(hexCmd, false, hexRespData); in DecrementBlock()
240 std::string hexRespData; TransferToBlock() local
258 std::string hexRespData; RestoreFromBlock() local
[all...]
H A Dmifare_ultralight_tag.cpp62 int MifareUltralightTag::ReadMultiplePages(uint32_t pageIndex, std::string &hexRespData) in ReadMultiplePages() argument
72 return SendCommand(sendCommand, false, hexRespData); in ReadMultiplePages()
89 std::string hexRespData; in WriteSinglePage() local
90 return SendCommand(sendCommand, false, hexRespData); in WriteSinglePage()
H A Diso15693_tag.h50 * @param hexRespData the hex response data read.
53 int ReadSingleBlock(uint32_t flag, uint32_t blockIndex, std::string &hexRespData);
80 * @param hexRespData the hex response data read.
83 int ReadMultipleBlock(uint32_t flag, uint32_t blockIndex, uint32_t blockNum, std::string &hexRespData);
H A Dmifare_ultralight_tag.h47 * @param hexRespData the hex response data for reading.
50 int ReadMultiplePages(uint32_t pageIndex, std::string &hexRespData);
H A Dbasic_tag_session.h36 int SendCommand(std::string& hexCmdData, bool raw, std::string &hexRespData);
H A Dbasic_tag_session.cpp134 bool raw, std::string &hexRespData) in SendCommand()
141 return tagSession->SendRawFrame(GetTagRfDiscId(), hexCmdData, raw, hexRespData); in SendCommand()
133 SendCommand(std::string& hexCmdData, bool raw, std::string &hexRespData) SendCommand() argument
/foundation/communication/nfc/test/fuzztest/tags_test/mifareultralighttag/mifareultralighttag_fuzzer/
H A Dmifareultralighttag_fuzzer.cpp94 std::string hexRespData = NfcSdkCommon::BytesVecToHexString(data, size); in FuzzReadMultiplePages() local
95 mifareUltralightTag->ReadMultiplePages(pageIndex, hexRespData); in FuzzReadMultiplePages()
110 std::string hexRespData = NfcSdkCommon::BytesVecToHexString(data, size); in FuzzWriteSinglePage() local
111 mifareUltralightTag->WriteSinglePage(pageIndex, hexRespData); in FuzzWriteSinglePage()
/foundation/communication/nfc/test/fuzztest/tags_test/iso15693tag/iso15693tag_fuzzer/
H A Diso15693tag_fuzzer.cpp86 std::string hexRespData = NfcSdkCommon::BytesVecToHexString(data, size); in FuzzReadSingleBlock() local
87 iso15693Tag->ReadSingleBlock(uint32Array[0], uint32Array[1], hexRespData); in FuzzReadSingleBlock()
133 std::string hexRespData = NfcSdkCommon::BytesVecToHexString(data, size); in FuzzReadMultipleBlock() local
135 iso15693Tag->ReadMultipleBlock(uint32Array[0], uint32Array[1], uint32Array[2], hexRespData); in FuzzReadMultipleBlock()
/foundation/communication/nfc/test/unittest/services/host_card_emulation_manager_test/
H A Dhost_card_emulation_manager_test.cpp148 std::string hexRespData = ""; in HWTEST_F() local
152 bool sendHostApduData = hostCardEmulationManager->SendHostApduData(hexCmdData, raw, hexRespData, callerToken); in HWTEST_F()
168 std::string hexRespData = ""; in HWTEST_F() local
172 bool sendHostApduData = hostCardEmulationManager->SendHostApduData(hexCmdData, raw, hexRespData, callerToken); in HWTEST_F()
/foundation/communication/nfc/services/src/ipc/card_emulation/
H A Dhce_session_stub.cpp113 std::string hexRespData; in HandleSendRawFrame() local
114 int statusCode = SendRawFrame(hexCmdData, raw, hexRespData); in HandleSendRawFrame()
115 reply.WriteString(hexRespData); in HandleSendRawFrame()
257 int HceSessionStub::SendRawFrame(std::string hexCmdData, bool raw, std::string &hexRespData) in SendRawFrame() argument
259 return SendRawFrameByToken(hexCmdData, raw, hexRespData, IPCSkeleton::GetCallingTokenID()); in SendRawFrame()
H A Dhce_session_stub.h49 virtual int SendRawFrameByToken(std::string hexCmdData, bool raw, std::string& hexRespData,
72 int SendRawFrame(std::string hexCmdData, bool raw, std::string& hexRespData) override;
H A Dhce_session.cpp91 int HceSession::SendRawFrameByToken(std::string hexCmdData, bool raw, std::string &hexRespData, in SendRawFrameByToken() argument
98 bool success = ceService_.lock()->SendHostApduData(hexCmdData, raw, hexRespData, callerToken); in SendRawFrameByToken()
/foundation/communication/nfc/interfaces/inner_api/cardEmulation/
H A Dhce_service.cpp76 int HceService::SendRawFrame(std::string hexCmdData, bool raw, std::string &hexRespData) in SendRawFrame() argument
84 return hceSession->SendRawFrame(hexCmdData, raw, hexRespData); in SendRawFrame()
H A Dhce_service.h39 int SendRawFrame(std::string hexCmdData, bool raw, std::string &hexRespData);
H A Dhce_session_proxy.h41 int SendRawFrame(std::string hexCmdData, bool raw, std::string &hexRespData) override;
H A Dhce_session_proxy.cpp68 int HceSessionProxy::SendRawFrame(std::string hexCmdData, bool raw, std::string &hexRespData) in SendRawFrame() argument
86 hexRespData = reply.ReadString(); in SendRawFrame()
/foundation/communication/nfc/test/fuzztest/services_test/cardemulation_test/hceservice/hceservice_fuzzer/
H A Dhceservice_fuzzer.cpp84 std::string hexRespData = NfcSdkCommon::BytesVecToHexString(data, size); in FuzzSendRawFrame() local
85 HceService::GetInstance().SendRawFrame(hexCmdData, raw, hexRespData); in FuzzSendRawFrame()
/foundation/communication/nfc/test/unittest/services/hce_service_test/
H A Dhce_service_test.cpp93 std::string hexRespData = ""; in HWTEST_F() local
94 int ret = HceService::GetInstance().SendRawFrame(hexCmdData, true, hexRespData); in HWTEST_F()
/foundation/communication/nfc/test/unittest/services/tags_test/
H A Dmifare_ultralight_tag_test.cpp110 std::string hexRespData; in HWTEST_F() local
112 int result = mifareUltralight->ReadMultiplePages(pageIndex, hexRespData); in HWTEST_F()
123 const std::string hexRespData; in HWTEST_F() local
125 int result = mifareUltralight->WriteSinglePage(pageIndex, hexRespData); in HWTEST_F()
/foundation/communication/nfc/interfaces/inner_api/common/
H A Dihce_session.h47 * @param hexRespData: response data
50 virtual int SendRawFrame(std::string hexCmdData, bool raw, std::string &hexRespData) = 0;
/foundation/communication/nfc/frameworks/js/napi/tag/
H A Dnfc_napi_tag_mifare_ul.cpp64 std::string hexRespData; in NativeReadMultiplePages() local
65 context->errorCode = nfcMifareUlTagPtr->ReadMultiplePages(context->pageIndex, hexRespData); in NativeReadMultiplePages()
66 context->value = hexRespData; in NativeReadMultiplePages()
/foundation/communication/nfc/test/fuzztest/services_test/hostcardemulationmanager_test/hostcardemulationmanager/hostcardemulationmanager_fuzzer/
H A Dhostcardemulationmanager_fuzzer.cpp182 std::string hexRespData = NfcSdkCommon::BytesVecToHexString(data, size); in FuzzSendHostApduData() local
184 manager->SendHostApduData(hexCmdData, raw, hexRespData, callerToken); in FuzzSendHostApduData()
196 std::string hexRespData = NfcSdkCommon::BytesVecToHexString(data, size); in FuzzSendHostApduData1() local
198 manager->SendHostApduData(hexCmdData, raw, hexRespData, callerToken); in FuzzSendHostApduData1()
/foundation/communication/nfc/test/unittest/services/hce_session_test/
H A Dhce_session_test.cpp96 std::string hexRespData = ""; in HWTEST_F() local
99 int sendRawFrame = hceSession->SendRawFrameByToken(hexCmdData, raw, hexRespData, callerToken); in HWTEST_F()
114 std::string hexRespData = ""; in HWTEST_F() local
117 int sendRawFrame = hceSession->SendRawFrameByToken(hexCmdData, raw, hexRespData, callerToken); in HWTEST_F()
/foundation/communication/nfc/test/fuzztest/tags_test/basictagsession/basictagsession_fuzzer/
H A Dbasictagsession_fuzzer.cpp77 std::string hexRespData = NfcSdkCommon::UnsignedCharToHexString(data[2]); in FuzzSendCommand() local
78 basicTagSession.SendCommand(hexCmdData, raw, hexRespData); in FuzzSendCommand()

Completed in 11 milliseconds

12