/foundation/communication/nfc/interfaces/inner_api/tags/ |
H A D | iso15693_tag.cpp | 48 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 D | mifare_classic_tag.cpp | 136 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 D | mifare_ultralight_tag.cpp | 62 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 D | iso15693_tag.h | 50 * @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 D | mifare_ultralight_tag.h | 47 * @param hexRespData the hex response data for reading. 50 int ReadMultiplePages(uint32_t pageIndex, std::string &hexRespData);
|
H A D | basic_tag_session.h | 36 int SendCommand(std::string& hexCmdData, bool raw, std::string &hexRespData);
|
H A D | basic_tag_session.cpp | 134 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 D | mifareultralighttag_fuzzer.cpp | 94 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 D | iso15693tag_fuzzer.cpp | 86 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 D | host_card_emulation_manager_test.cpp | 148 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 D | hce_session_stub.cpp | 113 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 D | hce_session_stub.h | 49 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 D | hce_session.cpp | 91 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 D | hce_service.cpp | 76 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 D | hce_service.h | 39 int SendRawFrame(std::string hexCmdData, bool raw, std::string &hexRespData);
|
H A D | hce_session_proxy.h | 41 int SendRawFrame(std::string hexCmdData, bool raw, std::string &hexRespData) override;
|
H A D | hce_session_proxy.cpp | 68 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 D | hceservice_fuzzer.cpp | 84 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 D | hce_service_test.cpp | 93 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 D | mifare_ultralight_tag_test.cpp | 110 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 D | ihce_session.h | 47 * @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 D | nfc_napi_tag_mifare_ul.cpp | 64 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 D | hostcardemulationmanager_fuzzer.cpp | 182 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 D | hce_session_test.cpp | 96 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 D | basictagsession_fuzzer.cpp | 77 std::string hexRespData = NfcSdkCommon::UnsignedCharToHexString(data[2]); in FuzzSendCommand() local 78 basicTagSession.SendCommand(hexCmdData, raw, hexRespData); in FuzzSendCommand()
|