/ohos5.0/foundation/communication/nfc/test/unittest/services/hce_session_test/ |
H A D | hce_session_test.cpp | 63 std::shared_ptr<HCE::HceSession> hceSession = std::make_shared<HCE::HceSession>(nfcService); 80 std::shared_ptr<HCE::HceSession> hceSession = std::make_shared<HCE::HceSession>(nfcService); 97 std::shared_ptr<HCE::HceSession> hceSession = std::make_shared<HCE::HceSession>(nfcService); 115 std::shared_ptr<HCE::HceSession> hceSession = std::make_shared<HCE::HceSession>(nfcService); 131 std::shared_ptr<HCE::HceSession> hceSession = std::make_shared<HCE::HceSession>(nfcService); 146 std::shared_ptr<HCE::HceSession> hceSession = std::make_shared<HCE::HceSession>(nfcService); 162 std::shared_ptr<HCE::HceSession> hceSession = std::make_shared<HCE::HceSession>(nfcService); 176 std::shared_ptr<HCE::HceSession> hceSession = std::make_shared<HCE::HceSession>(nfcService); 191 std::shared_ptr<HCE::HceSession> hceSession = std::make_shared<HCE::HceSession>(nfcService); 207 std::shared_ptr<HCE::HceSession> hceSession = std::make_shared<HCE::HceSession>(nfcService); [all …]
|
/ohos5.0/docs/zh-cn/application-dev/connectivity/nfc/ |
H A D | nfc-hce-guide.md | 1 # HCE卡模拟开发指南 7 应用程序模拟NFC卡片,和NFC读卡器通信完成NFC刷卡业务。从使用场景上,可以分成HCE应用前台刷卡,和HCE应用后台刷卡。 8 - HCE应用前台刷卡<br> 10 - HCE应用后台刷卡<br> 11 后台刷卡是指不打开特定的HCE应用程序,电子设备触碰NFC读卡器后,根据NFC读卡器选择的应用ID(AID)匹配到HCE应用程序,并自动和匹配的HCE应用程序通信完成刷卡交易。如果匹配到多个HCE应… 12 - HCE应用刷卡的约束条件<br> 13 1、不管是HCE应用前台还是后台刷卡,能够完成HCE应用程序NFC刷卡的条件是电子设备需要亮屏解锁。 21 完成HCE卡模拟功能,可能使用到下面的接口。 32 ### HCE应用前台刷卡 37 5. 订阅HCE APDU数据的接收。 [all …]
|
H A D | Readme-CN.md | 3 - [HCE卡模拟开发指南](nfc-hce-guide.md)
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-connectivity-kit/ |
H A D | js-apis-cardEmulation.md | 3 本模块主要提供NFC卡模拟业务,包括判断支持哪种卡模拟类型,HCE卡模拟的业务实现等。 10 ## HCE卡模拟和AID列表的声明定义 71 | HCE | 0 | HCE 卡模拟。 | 126 判断设备是否支持HCE卡模拟功能。 138 | boolean | true: 支持HCE, false: 不支持HCE。 | 220 提供HCE卡模拟的实现,主要包括接收对端读卡设备的APDU数据,并响应APDU数据到对端读卡设备。使用HCE相关接口前,必须先判断设备是否支持HCE卡模拟能力。 226 启动HCE业务功能。包括设置当前应用为前台优先,动态注册AID列表。 245 | boolean | true: 启动HCE功能或HCE已启动, false: 启动失败。 | 251 启动HCE业务功能。包括设置当前应用为前台优先,动态注册AID列表。 294 | boolean | true: 禁用HCE功能或HCE已禁用, false: 禁用失败。 | [all …]
|
H A D | js-apis-cardEmulation-sys.md | 3 本模块主要提供NFC卡模拟业务,包括判断支持哪种卡模拟类型,HCE卡模拟的业务实现等。 4 HCE(Host Card Emulation),称为基于主机的卡模拟,表示不依赖安全单元芯片,应用程序模拟NFC卡片,可以通过NFC服务和NFC读卡器通信。 22 获取所有支付类型的服务列表。如果应用程序声明支持HCE功能,并且声明了"payment-aid",则会包含在列表里面,参考[HCE卡模拟和AID列表的声明定义](js-apis-cardEmulat…
|
/ohos5.0/foundation/communication/nfc/interfaces/inner_api/cardEmulation/ |
H A D | hce_service.cpp | 49 OHOS::sptr<HCE::IHceSession> hceSession = GetHceSessionProxy(); in RegHceCmdCallback() 59 OHOS::sptr<HCE::IHceSession> hceSession = GetHceSessionProxy(); in StopHce() 69 OHOS::sptr<HCE::IHceSession> hceSession = GetHceSessionProxy(); in IsDefaultService() 79 OHOS::sptr<HCE::IHceSession> hceSession = GetHceSessionProxy(); in SendRawFrame() 89 OHOS::sptr<HCE::IHceSession> hceSession = GetHceSessionProxy(); in GetPaymentServices() 100 OHOS::sptr<HCE::IHceSession> hceSession = GetHceSessionProxy(); in StartHce() 107 OHOS::sptr<HCE::IHceSession> HceService::GetHceSessionProxy() in GetHceSessionProxy() 112 hceSessionProxy_ = new HCE::HceSessionProxy(iface); in GetHceSessionProxy()
|
H A D | hce_service.h | 44 OHOS::sptr<HCE::IHceSession> GetHceSessionProxy(); 47 OHOS::sptr<HCE::IHceSession> hceSessionProxy_;
|
H A D | cardEmulation.cpp | 43 case HCE: { in IsSupported()
|
H A D | hce_cmd_callback_stub.h | 28 namespace HCE {
|
H A D | hce_session_proxy.h | 28 namespace HCE {
|
/ohos5.0/docs/en/application-dev/connectivity/nfc/ |
H A D | nfc-hce-guide.md | 1 # HCE Development 8 - HCE foreground mode 12 - HCE background mode 28 The following table describes the APIs for implementing HCE. 39 ### HCE Foreground Mode 44 5. Subscribe to the reception of HCE APDU data. 45 6. Receive and send APDU data for HCE card swiping. 143 // Subscribe to the reception of HCE APDU data. 166 ### HCE Background Mode 170 4. Subscribe to the reception of HCE APDU data. [all …]
|
H A D | Readme-EN.md | 3 - [HCE Development](nfc-hce-guide.md)
|
/ohos5.0/foundation/communication/nfc/test/unittest/services/hce_cmd_callback_stub_test/ |
H A D | hce_cmd_callback_stub_test.cpp | 64 HCE::HceCmdCallbackStub& hceCmdCallbackStub = HCE::HceCmdCallbackStub::GetInstance(); 80 HCE::HceCmdCallbackStub& hceCmdCallbackStub = HCE::HceCmdCallbackStub::GetInstance();
|
/ohos5.0/docs/en/application-dev/reference/apis-connectivity-kit/ |
H A D | js-apis-cardEmulation.md | 10 ## HCE and AID Declaration 12 Before developing an application related to HCE, you must declare NFC-related attributes in the **m… 71 | HCE | 0 | HCE.| 116 let isHceSupported: boolean = cardEmulation.isSupported(cardEmulation.FeatureType.HCE); 118 console.log('this device is not supported for HCE, ignore it.'); 126 Checks whether the device supports HCE. 138 | boolean | Returns **true** if HCE is supported; returns **false** otherwise.| 220 …HCE, including receiving Application Protocol Data Units (APDUs) from the peer card reader and sen… 245 | boolean | Returns **true** if HCE is started or has been started; returns **false** otherwise.| 294 | boolean | Returns **true** is HCE is stopped; returns **false** otherwise.| [all …]
|
H A D | js-apis-cardEmulation-sys.md | 3 …this module to determine the card emulation type supported and implement Host Card Emulation (HCE). 4 HCE provides card emulation that does not depend on a secure element. It allows an application to e… 22 …the support for the HCE feature and **payment-aid**, the application is contained in the payment s…
|
/ohos5.0/foundation/communication/nfc/test/fuzztest/cardemulation_test/hcesessionstub/hcesessionstub_fuzzer/ |
H A D | hcesessionstub_fuzzer.cpp | 30 using namespace OHOS::NFC::HCE; 79 …std::shared_ptr<NFC::HCE::HceSession> hceSession = std::make_shared<NFC::HCE::HceSession>(nfcServi… in DoHceSessionStubFuzzTest()
|
/ohos5.0/foundation/communication/nfc/services/src/ipc/card_emulation/ |
H A D | hce_cmd_death_recipient.h | 26 explicit HceCmdDeathRecipient(sptr<HCE::HceSessionStub> hceSession, 32 sptr<HCE::HceSessionStub> hceSession_ = nullptr;
|
H A D | hce_session_stub.h | 27 namespace HCE { 28 class HceSessionStub : public OHOS::IRemoteStub<OHOS::NFC::HCE::IHceSession> {
|
H A D | hce_cmd_callback_proxy.h | 26 namespace HCE {
|
H A D | hce_cmd_death_recipient.cpp | 24 sptr<HCE::HceSessionStub> hceSession, in HceCmdDeathRecipient()
|
H A D | hce_cmd_callback_proxy.cpp | 23 namespace HCE { namespace
|
/ohos5.0/foundation/communication/nfc/test/fuzztest/services_test/hcecmdcallback_test/hcecmdcallbackstub/hcecmdcallbackstub_fuzzer/ |
H A D | hcecmdcallbackstub_fuzzer.cpp | 47 … NFC::HCE::HceCmdCallbackStub &hceCmdCallbackStub = NFC::HCE::HceCmdCallbackStub::GetInstance(); in FuzzOnRemoteRequest()
|
/ohos5.0/docs/zh-cn/application-dev/connectivity/ |
H A D | Readme-CN.md | 12 - [HCE卡模拟开发指南](nfc/nfc-hce-guide.md)
|
/ohos5.0/foundation/communication/nfc/interfaces/inner_api/common/ |
H A D | ihce_session.h | 27 namespace HCE {
|
/ohos5.0/docs/en/application-dev/connectivity/ |
H A D | Readme-EN.md | 12 - [HCE Development](nfc/nfc-hce-guide.md)
|