/foundation/communication/nfc/test/unittest/services/ce_service_test/ |
H A D | ce_service_test.cpp | 62 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); in HWTEST_F() local 63 ceService->Initialize(); in HWTEST_F() 67 bool regHceCmdCallback = ceService->RegHceCmdCallback(callback, type, callerToken); in HWTEST_F() 80 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); in HWTEST_F() local 81 ceService->Initialize(); in HWTEST_F() 86 bool sendHostApduData = ceService->SendHostApduData(hexCmdData, raw, hexRespData, callerToken); in HWTEST_F() 99 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); in HWTEST_F() local 104 bool sendHostApduData = ceService->SendHostApduData(hexCmdData, raw, hexRespData, callerToken); in HWTEST_F() 117 std::weak_ptr<CeService> ceService = nfcService->GetCeService(); in HWTEST_F() local 118 bool ret = ceService in HWTEST_F() 131 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); HWTEST_F() local 150 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); HWTEST_F() local 170 std::weak_ptr<CeService> ceService = nfcService->GetCeService(); HWTEST_F() local 190 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); HWTEST_F() local 208 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); HWTEST_F() local 226 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); HWTEST_F() local 244 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); HWTEST_F() local 262 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); HWTEST_F() local 282 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); HWTEST_F() local 302 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); HWTEST_F() local 321 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); HWTEST_F() local 340 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); HWTEST_F() local 359 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); HWTEST_F() local 379 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); HWTEST_F() local 398 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); HWTEST_F() local 417 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); HWTEST_F() local 435 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); HWTEST_F() local 454 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); HWTEST_F() local 472 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); HWTEST_F() local 492 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); HWTEST_F() local 512 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); HWTEST_F() local 529 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); HWTEST_F() local 545 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); HWTEST_F() local 560 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); HWTEST_F() local 577 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); HWTEST_F() local 593 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); HWTEST_F() local 609 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); HWTEST_F() local 625 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); HWTEST_F() local 641 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); HWTEST_F() local 657 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); HWTEST_F() local 671 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); HWTEST_F() local [all...] |
/foundation/communication/nfc/test/unittest/services/host_card_emulation_manager_test/ |
H A D | host_card_emulation_manager_test.cpp | 62 std::shared_ptr<CeService> ceService = nullptr; in HWTEST_F() local 68 std::make_shared<HostCardEmulationManager>(nfcService, nciCeProxy, ceService); in HWTEST_F() 84 std::shared_ptr<CeService> ceService = nullptr; in HWTEST_F() local 89 std::make_shared<HostCardEmulationManager>(nfcService, nciCeProxy, ceService); in HWTEST_F() 105 std::shared_ptr<CeService> ceService = nullptr; in HWTEST_F() local 109 std::make_shared<HostCardEmulationManager>(nfcService, nciCeProxy, ceService); in HWTEST_F() 125 std::shared_ptr<CeService> ceService = nullptr; in HWTEST_F() local 129 std::make_shared<HostCardEmulationManager>(nfcService, nciCeProxy, ceService); in HWTEST_F() 145 std::shared_ptr<CeService> ceService = nullptr; in HWTEST_F() local 150 std::make_shared<HostCardEmulationManager>(nfcService, nciCeProxy, ceService); in HWTEST_F() 165 std::shared_ptr<CeService> ceService = nullptr; HWTEST_F() local 185 std::shared_ptr<CeService> ceService = nullptr; HWTEST_F() local 200 std::shared_ptr<CeService> ceService = nullptr; HWTEST_F() local [all...] |
/foundation/communication/nfc/test/fuzztest/services_test/hostcardemulationmanager_test/hostcardemulationmanager/hostcardemulationmanager_fuzzer/ |
H A D | hostcardemulationmanager_fuzzer.cpp | 63 std::weak_ptr<CeService> ceService; in FuzzOnHostCardEmulationDataNfcA() local 65 std::make_shared<HostCardEmulationManager>(nfcService, nciCeProxy, ceService); in FuzzOnHostCardEmulationDataNfcA() 77 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); in FuzzOnHostCardEmulationDataNfcA1() local 79 std::make_shared<HostCardEmulationManager>(nfcService, nciCeProxy, ceService); in FuzzOnHostCardEmulationDataNfcA1() 91 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); in FuzzOnHostCardEmulationDataNfcA2() local 93 std::make_shared<HostCardEmulationManager>(nfcService, nciCeProxy, ceService); in FuzzOnHostCardEmulationDataNfcA2() 106 std::weak_ptr<CeService> ceService; in FuzzOnCardEmulationActivated() local 108 std::make_shared<HostCardEmulationManager>(nfcService, nciCeProxy, ceService); in FuzzOnCardEmulationActivated() 116 std::weak_ptr<CeService> ceService; in FuzzOnCardEmulationDeactivated() local 118 std::make_shared<HostCardEmulationManager>(nfcService, nciCeProxy, ceService); in FuzzOnCardEmulationDeactivated() 126 std::weak_ptr<CeService> ceService; FuzzRegHceCmdCallback() local 140 std::weak_ptr<CeService> ceService; FuzzRegHceCmdCallback1() local 154 std::weak_ptr<CeService> ceService; FuzzUnRegHceCmdCallback() local 166 std::weak_ptr<CeService> ceService; FuzzUnRegAllCallback() local 177 std::weak_ptr<CeService> ceService; FuzzSendHostApduData() local 191 std::weak_ptr<CeService> ceService; FuzzSendHostApduData1() local 205 std::weak_ptr<CeService> ceService; FuzzHandleQueueData() local [all...] |
/foundation/communication/nfc/test/unittest/services/cardemulation_test/ |
H A D | cardemulation_test.cpp | 115 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy);
in HWTEST_F() local 116 ceService->PublishFieldOnOrOffCommonEvent(true);
in HWTEST_F() 117 ceService->PublishFieldOnOrOffCommonEvent(false);
in HWTEST_F() 118 ceService->HandleFieldActivated();
in HWTEST_F() 119 ceService->HandleFieldDeactivated();
in HWTEST_F() 131 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy);
in HWTEST_F() local 132 ceService->HandleFieldActivated();
in HWTEST_F() 133 ceService->HandleFieldDeactivated();
in HWTEST_F()
|
/foundation/communication/nfc/test/unittest/services/services_test/ |
H A D | nfc_event_handler_test.cpp | 65 std::weak_ptr<CeService> ceService; in HWTEST_F() local 72 nfcEventHandler->Intialize(tagDispatcher, ceService, nfcPollingManager, nfcRoutingManager, nciNfccProxy); in HWTEST_F() 86 std::weak_ptr<CeService> ceService; in HWTEST_F() local 93 nfcEventHandler->Intialize(tagDispatcher, ceService, nfcPollingManager, nfcRoutingManager, nciNfccProxy); in HWTEST_F() 107 std::weak_ptr<CeService> ceService; in HWTEST_F() local 114 nfcEventHandler->Intialize(tagDispatcher, ceService, nfcPollingManager, nfcRoutingManager, nciNfccProxy); in HWTEST_F() 128 std::weak_ptr<CeService> ceService; in HWTEST_F() local 137 nfcEventHandler->Intialize(tagDispatcher, ceService, nfcPollingManager, nfcRoutingManager, nciNfccProxy); in HWTEST_F() 151 std::weak_ptr<CeService> ceService; in HWTEST_F() local 160 nfcEventHandler->Intialize(tagDispatcher, ceService, nfcPollingManage in HWTEST_F() 174 std::weak_ptr<CeService> ceService; HWTEST_F() local 204 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(service, nciCeProxy); HWTEST_F() local 226 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(service, nciCeProxy); HWTEST_F() local 248 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(service, nciCeProxy); HWTEST_F() local 270 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(service, nciCeProxy); HWTEST_F() local 292 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(service, nciCeProxy); HWTEST_F() local 315 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(service, nciCeProxy); HWTEST_F() local 337 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(service, nciCeProxy); HWTEST_F() local 360 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(service, nciCeProxy); HWTEST_F() local 383 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(service, nciCeProxy); HWTEST_F() local 405 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(service, nciCeProxy); HWTEST_F() local [all...] |
/foundation/communication/nfc/services/include/ |
H A D | nfc_event_handler.h | 37 std::weak_ptr<CeService> ceService,
|
/foundation/communication/nfc/services/src/card_emulation/ |
H A D | host_card_emulation_manager.h | 46 std::weak_ptr<CeService> ceService);
|
H A D | host_card_emulation_manager.cpp | 45 std::weak_ptr<CeService> ceService) in HostCardEmulationManager() 46 : nfcService_(nfcService), nciCeProxy_(nciCeProxy), ceService_(ceService) in HostCardEmulationManager() 43 HostCardEmulationManager(std::weak_ptr<NfcService> nfcService, std::weak_ptr<NCI::INciCeInterface> nciCeProxy, std::weak_ptr<CeService> ceService) HostCardEmulationManager() argument
|
/foundation/communication/nfc/services/src/ |
H A D | nfc_event_handler.cpp | 241 std::weak_ptr<CeService> ceService,
in Intialize() 248 ceService_ = ceService;
in Intialize() 240 Intialize(std::weak_ptr<TAG::TagDispatcher> tagDispatcher, std::weak_ptr<CeService> ceService, std::weak_ptr<NfcPollingManager> nfcPollingManager, std::weak_ptr<NfcRoutingManager> nfcRoutingManager, std::weak_ptr<NCI::INciNfccInterface> nciNfccProxy) Intialize() argument
|
/foundation/communication/nfc/test/unittest/services/hce_session_test/ |
H A D | hce_session_test.cpp | 313 std::weak_ptr<NFC::CeService> ceService = nfcService->GetCeService(); in HWTEST_F() local 314 ceService.lock()->Initialize(); in HWTEST_F()
|