Home
last modified time | relevance | path

Searched refs:HceService (Results 1 – 20 of 20) sorted by relevance

/ohos5.0/foundation/communication/nfc/interfaces/inner_api/cardEmulation/
H A Dhce_service.cpp30 HceService::HceService() in HceService() function in OHOS::NFC::KITS::HceService
35 HceService::~HceService() in ~HceService()
40 HceService &HceService::GetInstance() in GetInstance()
42 static HceService instance; in GetInstance()
46 ErrorCode HceService::RegHceCmdCallback(const sptr<IHceCmdCallback> &callback, const std::string &t… in RegHceCmdCallback()
56 ErrorCode HceService::StopHce(ElementName &element) in StopHce()
66 ErrorCode HceService::IsDefaultService(ElementName &element, const std::string &type, bool &isDefau… in IsDefaultService()
76 int HceService::SendRawFrame(std::string hexCmdData, bool raw, std::string &hexRespData) in SendRawFrame()
86 int HceService::GetPaymentServices(std::vector<AbilityInfo> &abilityInfos) in GetPaymentServices()
97 KITS::ErrorCode HceService::StartHce(const ElementName &element, const std::vector<std::string> &ai… in StartHce()
[all …]
H A Dhce_service.h29 class HceService final {
31 explicit HceService();
32 ~HceService();
34 static HceService &GetInstance();
/ohos5.0/foundation/communication/nfc/test/unittest/services/hce_service_test/
H A Dhce_service_test.cpp81 int ret = HceService::GetInstance().RegHceCmdCallback(callback, "hceCmd");
94 int ret = HceService::GetInstance().SendRawFrame(hexCmdData, true, hexRespData);
106 int ret = HceService::GetInstance().GetPaymentServices(abilityInfos);
120 int ret = HceService::GetInstance().IsDefaultService(element, type, isDefaultService);
132 int ret = HceService::GetInstance().StopHce(element);
/ohos5.0/foundation/communication/nfc/test/fuzztest/services_test/cardemulation_test/hceservice/hceservice_fuzzer/
H A Dhceservice_fuzzer.cpp59 HceService::GetInstance().RegHceCmdCallback(callback, type); in FuzzRegHceCmdCallback()
67 HceService::GetInstance().StopHce(element); in FuzzStopHce()
77 HceService::GetInstance().IsDefaultService(element, type, isDefaultService); in FuzzIsDefaultService()
85 HceService::GetInstance().SendRawFrame(hexCmdData, raw, hexRespData); in FuzzSendRawFrame()
/ohos5.0/foundation/communication/nfc/frameworks/js/napi/cardEmulation/
H A Dnfc_napi_cardEmulation_adapter.cpp76 HceService hceService = HceService::GetInstance(); in IsDefaultService()
130 HceService hceService = HceService::GetInstance(); in GetPaymentServices()
H A Dnfc_napi_hce_adapter.cpp239 HceService hceService = HceService::GetInstance(); in RegHceCmdCallbackEvents()
298 HceService hceService = HceService::GetInstance(); in UnregisterHceEvents()
406 HceService hceService = HceService::GetInstance(); in NativeTransmit()
503 HceService hceService = HceService::GetInstance(); in StartHCE()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-connectivity-kit/
H A Djs-apis-cardEmulation.md218 ## HceService<sup>8+</sup>
356 let hceService: cardEmulation.HceService = new cardEmulation.HceService();
441 let hceService: cardEmulation.HceService = new cardEmulation.HceService();
488 let hceService: cardEmulation.HceService = new cardEmulation.HceService();
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta5/
H A Djs-apidiff-communication.md52 |新增|NA|类名:HceService<br>方法or属性:start(elementName: ElementName, aidList: string[]): void|@ohos.nfc.c…
53 |新增|NA|类名:HceService<br>方法or属性:stop(elementName: ElementName): void|@ohos.nfc.cardEmulation.d.ts|
54 |新增|NA|类名:HceService<br>方法or属性:transmit(response: number[]): Promise<void>;|@ohos.nfc.cardEmulation…
55 |新增|NA|类名:HceService<br>方法or属性:transmit(response: number[], callback: AsyncCallback<void>): void;|@…
80HceService<br>方法 or 属性:startHCE(aidList: string[]): boolean;<br>废弃版本:N/A|类名:HceService<br>方法 or 属性…
81HceService<br>方法 or 属性:stopHCE(): boolean;<br>废弃版本:N/A|类名:HceService<br>方法 or 属性:stopHCE(): boolea…
82HceService<br>方法 or 属性:sendResponse(responseApdu: number[]): void;<br>废弃版本:N/A|类名:HceService<br>方法…
/ohos5.0/docs/zh-cn/application-dev/connectivity/nfc/
H A Dnfc-hce-guide.md84 let hceService: cardEmulation.HceService;
124 hceService = new cardEmulation.HceService();
220 let hceService: cardEmulation.HceService;
261 hceService = new cardEmulation.HceService();
/ohos5.0/docs/en/application-dev/reference/apis-connectivity-kit/
H A Djs-apis-cardEmulation.md218 ## HceService<sup>8+</sup>
356 let hceService: cardEmulation.HceService = new cardEmulation.HceService();
441 let hceService: cardEmulation.HceService = new cardEmulation.HceService();
488 let hceService: cardEmulation.HceService = new cardEmulation.HceService();
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta5/
H A Djs-apidiff-communication.md52 |Added|NA|Class name: HceService<br>Method or attribute name: start(elementName: ElementName, aidLi…
53 |Added|NA|Class name: HceService<br>Method or attribute name: stop(elementName: ElementName): void|…
54 |Added|NA|Class name: HceService<br>Method or attribute name: transmit(response: number[]): Promise…
55 |Added|NA|Class name: HceService<br>Method or attribute name: transmit(response: number[], callback…
80HceService<br>Method or attribute name: startHCE(aidList: string[]): boolean;<br>Deprecated versio…
81HceService<br>Method or attribute name: stopHCE(): boolean;<br>Deprecated version: N/A|Class name:…
82HceService<br>Method or attribute name: sendResponse(responseApdu: number[]): void;<br>Deprecated …
/ohos5.0/docs/en/application-dev/connectivity/nfc/
H A Dnfc-hce-guide.md91 let hceService: cardEmulation.HceService;
131 hceService = new cardEmulation.HceService();
227 let hceService: cardEmulation.HceService;
268 hceService = new cardEmulation.HceService();
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-communicate.md155 | ohos.nfc.cardEmulation | HceService | sendResponse(responseApdu: number[]): void; | 新增 |
156 | ohos.nfc.cardEmulation | HceService | on(type: "hceCmd", callback: AsyncCallback\<number[]>): voi…
157 | ohos.nfc.cardEmulation | HceService | stopHCE(): boolean; | 新增 |
158 | ohos.nfc.cardEmulation | HceService | startHCE(aidList: string[]): boolean; | 新增 |
/ohos5.0/docs/en/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-communicate.md155 | ohos.nfc.cardEmulation | HceService | sendResponse(responseApdu: number[]): void; | Added|
156 | ohos.nfc.cardEmulation | HceService | on(type: "hceCmd", callback: AsyncCallback\<number[]>): voi…
157 | ohos.nfc.cardEmulation | HceService | stopHCE(): boolean; | Added|
158 | ohos.nfc.cardEmulation | HceService | startHCE(aidList: string[]): boolean; | Added|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-Release/
H A Djs-apidiff-communication.md512 |新增|NA|类名:HceService;<br>方法or属性:start(elementName: ElementName, aidList: string[]): void|@ohos.nfc.…
513 |新增|NA|类名:HceService;<br>方法or属性:stop(elementName: ElementName): void|@ohos.nfc.cardEmulation.d.ts|
514 |新增|NA|类名:HceService;<br>方法or属性:transmit(response: number[]): Promise\<void>;|@ohos.nfc.cardEmulati…
515 |新增|NA|类名:HceService;<br>方法or属性:transmit(response: number[], callback: AsyncCallback\<void>): void;…
1316HceService;<br>方法or属性:startHCE(aidList: string[]): boolean;<br>旧版本信息:|类名:HceService;<br>方法or属性:sta…
1317HceService;<br>方法or属性:stopHCE(): boolean;<br>旧版本信息:|类名:HceService;<br>方法or属性:stopHCE(): boolean;<b…
1318HceService;<br>方法or属性:sendResponse(responseApdu: number[]): void;<br>旧版本信息:|类名:HceService;<br>方法or…
/ohos5.0/docs/en/release-notes/api-diff/v3.2-Release/
H A Djs-apidiff-communication.md512 |Added|NA|Class name: HceService;<br>Method or attribute name: start(elementName: ElementName, aidL…
513 |Added|NA|Class name: HceService;<br>Method or attribute name: stop(elementName: ElementName): void…
514 |Added|NA|Class name: HceService;<br>Method or attribute name: transmit(response: number[]): Promis…
515 |Added|NA|Class name: HceService;<br>Method or attribute name: transmit(response: number[], callbac…
1316HceService;<br>Method or attribute name: startHCE(aidList: string[]): boolean;<br>Old version: |Cl…
1317HceService;<br>Method or attribute name: stopHCE(): boolean;<br>Old version: |Class name: HceServi…
1318HceService;<br>Method or attribute name: sendResponse(responseApdu: number[]): void;<br>Old versio…
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v4.0-beta2/
H A Djs-apidiff-communication.md857 |新增(错误码)|类名:HceService;<br>方法or属性:transmit(response: number[], callback: AsyncCallback\<void>): voi…
1002 |权限有变化|类名:HceService;<br>方法or属性:transmit(response: number[], callback: AsyncCallback\<void>): void;…
/ohos5.0/docs/en/release-notes/api-diff/v4.0-Release-vs-v4.0-beta2/
H A Djs-apidiff-communication.md857HceService;<br>Method or attribute name: transmit(response: number[], callback: AsyncCallback\<voi…
1002HceService;<br>Method or attribute name: transmit(response: number[], callback: AsyncCallback\<voi…
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v3.2-Release/
H A Djs-apidiff-communication.md1170 |新增(错误码)|类名:HceService;<br>方法or属性:transmit(response: number[], callback: AsyncCallback\<void>): voi…
1516 |权限有变化|类名:HceService;<br>方法or属性:transmit(response: number[], callback: AsyncCallback\<void>): void;…
/ohos5.0/docs/en/release-notes/api-diff/v4.0-Release-vs-v3.2-Release/
H A Djs-apidiff-communication.md1170HceService;<br>Method or attribute name: transmit(response: number[], callback: AsyncCallback\<voi…
1516HceService;<br>Method or attribute name: transmit(response: number[], callback: AsyncCallback\<voi…