Home
last modified time | relevance | path

Searched refs:nfcService (Results 1 - 25 of 32) sorted by relevance

12

/foundation/communication/nfc/test/unittest/services/controller_test/
H A Dnfc_controller_impl_test.cpp61 std::shared_ptr<NfcService> nfcService = nullptr; in HWTEST_F() local
62 std::shared_ptr<NfcControllerImpl> nfcControllerImpl = std::make_shared<NfcControllerImpl>(nfcService); in HWTEST_F()
74 std::shared_ptr<NfcService> nfcService = nullptr; in HWTEST_F() local
75 std::shared_ptr<NfcControllerImpl> nfcControllerImpl = std::make_shared<NfcControllerImpl>(nfcService); in HWTEST_F()
87 std::shared_ptr<NfcService> nfcService = nullptr; in HWTEST_F() local
88 std::shared_ptr<NfcControllerImpl> nfcControllerImpl = std::make_shared<NfcControllerImpl>(nfcService); in HWTEST_F()
101 std::shared_ptr<NfcService> nfcService = nullptr; in HWTEST_F() local
102 std::shared_ptr<NfcControllerImpl> nfcControllerImpl = std::make_shared<NfcControllerImpl>(nfcService); in HWTEST_F()
117 std::shared_ptr<NfcService> nfcService = nullptr; in HWTEST_F() local
118 std::shared_ptr<NfcControllerImpl> nfcControllerImpl = std::make_shared<NfcControllerImpl>(nfcService); in HWTEST_F()
132 std::shared_ptr<NfcService> nfcService = nullptr; HWTEST_F() local
147 std::shared_ptr<NfcService> nfcService = std::make_shared<NfcService>(); HWTEST_F() local
161 std::shared_ptr<NfcService> nfcService = nullptr; HWTEST_F() local
175 std::shared_ptr<NfcService> nfcService = std::make_shared<NfcService>(); HWTEST_F() local
188 std::shared_ptr<NfcService> nfcService = nullptr; HWTEST_F() local
201 std::shared_ptr<NfcService> nfcService = std::make_shared<NfcService>(); HWTEST_F() local
215 std::shared_ptr<NfcService> nfcService = nullptr; HWTEST_F() local
229 std::shared_ptr<NfcService> nfcService = nullptr; HWTEST_F() local
243 std::shared_ptr<NfcService> nfcService = nullptr; HWTEST_F() local
256 std::shared_ptr<NfcService> nfcService = nullptr; HWTEST_F() local
269 std::shared_ptr<NfcService> nfcService = std::make_shared<NfcService>(); HWTEST_F() local
284 std::shared_ptr<NfcService> nfcService = nullptr; HWTEST_F() local
299 std::shared_ptr<NfcService> nfcService = std::make_shared<NfcService>(); HWTEST_F() local
[all...]
H A Dnfc_controller_test.cpp201 std::weak_ptr<NFC::NfcService> nfcService; in HWTEST_F() local
202 sptr<NFC::NfcControllerImpl> impl = new NFC::NfcControllerImpl(nfcService); in HWTEST_F()
/foundation/communication/nfc/test/unittest/services/hce_session_test/
H A Dhce_session_test.cpp60 std::shared_ptr<OHOS::NFC::NfcService> nfcService = std::make_shared<OHOS::NFC::NfcService>(); in HWTEST_F() local
63 std::shared_ptr<HCE::HceSession> hceSession = std::make_shared<HCE::HceSession>(nfcService); in HWTEST_F()
76 std::shared_ptr<OHOS::NFC::NfcService> nfcService = std::make_shared<OHOS::NFC::NfcService>(); in HWTEST_F() local
77 nfcService->Initialize(); in HWTEST_F()
80 std::shared_ptr<HCE::HceSession> hceSession = std::make_shared<HCE::HceSession>(nfcService); in HWTEST_F()
93 std::shared_ptr<OHOS::NFC::NfcService> nfcService = std::make_shared<OHOS::NFC::NfcService>(); in HWTEST_F() local
97 std::shared_ptr<HCE::HceSession> hceSession = std::make_shared<HCE::HceSession>(nfcService); in HWTEST_F()
110 std::shared_ptr<OHOS::NFC::NfcService> nfcService = std::make_shared<OHOS::NFC::NfcService>(); in HWTEST_F() local
111 nfcService->Initialize(); in HWTEST_F()
115 std::shared_ptr<HCE::HceSession> hceSession = std::make_shared<HCE::HceSession>(nfcService); in HWTEST_F()
128 std::shared_ptr<OHOS::NFC::NfcService> nfcService = std::make_shared<OHOS::NFC::NfcService>(); HWTEST_F() local
143 std::shared_ptr<OHOS::NFC::NfcService> nfcService = std::make_shared<OHOS::NFC::NfcService>(); HWTEST_F() local
158 std::shared_ptr<OHOS::NFC::NfcService> nfcService = std::make_shared<OHOS::NFC::NfcService>(); HWTEST_F() local
174 std::shared_ptr<OHOS::NFC::NfcService> nfcService = std::make_shared<OHOS::NFC::NfcService>(); HWTEST_F() local
188 std::shared_ptr<OHOS::NFC::NfcService> nfcService = std::make_shared<OHOS::NFC::NfcService>(); HWTEST_F() local
203 std::shared_ptr<OHOS::NFC::NfcService> nfcService = std::make_shared<OHOS::NFC::NfcService>(); HWTEST_F() local
219 std::shared_ptr<OHOS::NFC::NfcService> nfcService = std::make_shared<OHOS::NFC::NfcService>(); HWTEST_F() local
236 std::shared_ptr<OHOS::NFC::NfcService> nfcService = std::make_shared<OHOS::NFC::NfcService>(); HWTEST_F() local
250 std::shared_ptr<OHOS::NFC::NfcService> nfcService = std::make_shared<OHOS::NFC::NfcService>(); HWTEST_F() local
265 std::shared_ptr<OHOS::NFC::NfcService> nfcService = std::make_shared<OHOS::NFC::NfcService>(); HWTEST_F() local
280 std::shared_ptr<OHOS::NFC::NfcService> nfcService = std::make_shared<OHOS::NFC::NfcService>(); HWTEST_F() local
296 std::shared_ptr<OHOS::NFC::NfcService> nfcService = std::make_shared<OHOS::NFC::NfcService>(); HWTEST_F() local
311 std::shared_ptr<OHOS::NFC::NfcService> nfcService = std::make_shared<OHOS::NFC::NfcService>(); HWTEST_F() local
[all...]
/foundation/communication/nfc/test/unittest/services/ce_service_test/
H A Dce_service_test.cpp60 std::shared_ptr<NfcService> nfcService = nullptr; in HWTEST_F() local
62 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); in HWTEST_F()
78 std::shared_ptr<NfcService> nfcService = nullptr; in HWTEST_F() local
80 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); in HWTEST_F()
97 std::shared_ptr<NfcService> nfcService = nullptr; in HWTEST_F() local
99 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); in HWTEST_F()
115 std::shared_ptr<NfcService> nfcService = std::make_shared<NfcService>(); in HWTEST_F() local
116 nfcService->Initialize(); in HWTEST_F()
117 std::weak_ptr<CeService> ceService = nfcService->GetCeService(); in HWTEST_F()
129 std::shared_ptr<NfcService> nfcService in HWTEST_F() local
148 std::shared_ptr<NfcService> nfcService = nullptr; HWTEST_F() local
168 std::shared_ptr<NfcService> nfcService = std::make_shared<NfcService>(); HWTEST_F() local
188 std::shared_ptr<NfcService> nfcService = nullptr; HWTEST_F() local
206 std::shared_ptr<NfcService> nfcService = nullptr; HWTEST_F() local
224 std::shared_ptr<NfcService> nfcService = nullptr; HWTEST_F() local
242 std::shared_ptr<NfcService> nfcService = nullptr; HWTEST_F() local
260 std::shared_ptr<NfcService> nfcService = nullptr; HWTEST_F() local
280 std::shared_ptr<NfcService> nfcService = std::make_shared<NfcService>(); HWTEST_F() local
300 std::shared_ptr<NfcService> nfcService = nullptr; HWTEST_F() local
319 std::shared_ptr<NfcService> nfcService = std::make_shared<NfcService>(); HWTEST_F() local
338 std::shared_ptr<NfcService> nfcService = nullptr; HWTEST_F() local
357 std::shared_ptr<NfcService> nfcService = nullptr; HWTEST_F() local
377 std::shared_ptr<NfcService> nfcService = nullptr; HWTEST_F() local
396 std::shared_ptr<NfcService> nfcService = nullptr; HWTEST_F() local
415 std::shared_ptr<NfcService> nfcService = nullptr; HWTEST_F() local
433 std::shared_ptr<NfcService> nfcService = nullptr; HWTEST_F() local
452 std::shared_ptr<NfcService> nfcService = nullptr; HWTEST_F() local
470 std::shared_ptr<NfcService> nfcService = nullptr; HWTEST_F() local
490 std::shared_ptr<NfcService> nfcService = nullptr; HWTEST_F() local
510 std::shared_ptr<NfcService> nfcService = nullptr; HWTEST_F() local
527 std::shared_ptr<NfcService> nfcService = nullptr; HWTEST_F() local
543 std::shared_ptr<NfcService> nfcService = nullptr; HWTEST_F() local
558 std::shared_ptr<NfcService> nfcService = nullptr; HWTEST_F() local
575 std::shared_ptr<NfcService> nfcService = nullptr; HWTEST_F() local
591 std::shared_ptr<NfcService> nfcService = nullptr; HWTEST_F() local
607 std::shared_ptr<NfcService> nfcService = nullptr; HWTEST_F() local
623 std::shared_ptr<NfcService> nfcService = nullptr; HWTEST_F() local
639 std::shared_ptr<NfcService> nfcService = std::make_shared<NfcService>(); HWTEST_F() local
655 std::shared_ptr<NfcService> nfcService = nullptr; HWTEST_F() local
669 std::shared_ptr<NfcService> nfcService = nullptr; HWTEST_F() local
[all...]
/foundation/communication/nfc/test/fuzztest/services_test/hostcardemulationmanager_test/hostcardemulationmanager/hostcardemulationmanager_fuzzer/
H A Dhostcardemulationmanager_fuzzer.cpp61 std::weak_ptr<NfcService> nfcService; in FuzzOnHostCardEmulationDataNfcA() local
65 std::make_shared<HostCardEmulationManager>(nfcService, nciCeProxy, ceService); in FuzzOnHostCardEmulationDataNfcA()
75 std::shared_ptr<NfcService> nfcService = std::make_shared<NfcService>(); in FuzzOnHostCardEmulationDataNfcA1() local
77 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); in FuzzOnHostCardEmulationDataNfcA1()
79 std::make_shared<HostCardEmulationManager>(nfcService, nciCeProxy, ceService); in FuzzOnHostCardEmulationDataNfcA1()
89 std::shared_ptr<NfcService> nfcService = std::make_shared<NfcService>(); in FuzzOnHostCardEmulationDataNfcA2() local
91 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); in FuzzOnHostCardEmulationDataNfcA2()
93 std::make_shared<HostCardEmulationManager>(nfcService, nciCeProxy, ceService); in FuzzOnHostCardEmulationDataNfcA2()
104 std::weak_ptr<NfcService> nfcService; in FuzzOnCardEmulationActivated() local
108 std::make_shared<HostCardEmulationManager>(nfcService, nciCeProx in FuzzOnCardEmulationActivated()
114 std::weak_ptr<NfcService> nfcService; FuzzOnCardEmulationDeactivated() local
124 std::weak_ptr<NfcService> nfcService; FuzzRegHceCmdCallback() local
138 std::shared_ptr<NfcService> nfcService = std::make_shared<NfcService>(); FuzzRegHceCmdCallback1() local
152 std::weak_ptr<NfcService> nfcService; FuzzUnRegHceCmdCallback() local
164 std::weak_ptr<NfcService> nfcService; FuzzUnRegAllCallback() local
175 std::weak_ptr<NfcService> nfcService; FuzzSendHostApduData() local
189 std::shared_ptr<NfcService> nfcService = std::make_shared<NfcService>(); FuzzSendHostApduData1() local
203 std::weak_ptr<NfcService> nfcService; FuzzHandleQueueData() local
229 std::shared_ptr<NfcService> nfcService = std::make_shared<NfcService>(); FuzzCommitRouting() local
241 std::shared_ptr<NfcService> nfcService = std::make_shared<NfcService>(); FuzzHandleCommitRouting() local
254 std::shared_ptr<NfcService> nfcService = std::make_shared<NfcService>(); FuzzComputeRoutingParams() local
267 std::shared_ptr<NfcService> nfcService = std::make_shared<NfcService>(); FuzzHandleComputeRoutingParams() local
[all...]
/foundation/communication/nfc/test/fuzztest/services_test/nfcpollingmanager_test/nfcpollingmanager/nfcpollingmanager_fuzzer/
H A Dnfcpollingmanager_fuzzer.cpp41 std::weak_ptr<NfcService> nfcService; in FuzzStartPollingLoop() local
45 std::make_shared<NfcPollingManager>(nfcService, nciNfccProxy, nciTagProxy); in FuzzStartPollingLoop()
52 std::weak_ptr<NfcService> nfcService; in FuzzEnableForegroundDispatch() local
56 std::make_shared<NfcPollingManager>(nfcService, nciNfccProxy, nciTagProxy); in FuzzEnableForegroundDispatch()
65 std::weak_ptr<NfcService> nfcService; in FuzzDisableForegroundDispatch() local
69 std::make_shared<NfcPollingManager>(nfcService, nciNfccProxy, nciTagProxy); in FuzzDisableForegroundDispatch()
76 std::weak_ptr<NfcService> nfcService; in FuzzDisableForegroundByDeathRcpt() local
80 std::make_shared<NfcPollingManager>(nfcService, nciNfccProxy, nciTagProxy); in FuzzDisableForegroundByDeathRcpt()
86 std::weak_ptr<NfcService> nfcService; in FuzzIsForegroundEnabled() local
90 std::make_shared<NfcPollingManager>(nfcService, nciNfccProx in FuzzIsForegroundEnabled()
96 std::weak_ptr<NfcService> nfcService; FuzzSendTagToForeground() local
106 std::weak_ptr<NfcService> nfcService; FuzzIsReaderModeEnabled() local
116 std::weak_ptr<NfcService> nfcService; FuzzSendTagToReaderApp() local
[all...]
/foundation/communication/nfc/test/unittest/services/host_card_emulation_manager_test/
H A Dhost_card_emulation_manager_test.cpp61 std::shared_ptr<NfcService> nfcService = nullptr; in HWTEST_F() local
68 std::make_shared<HostCardEmulationManager>(nfcService, nciCeProxy, ceService); in HWTEST_F()
82 std::shared_ptr<NfcService> nfcService = nullptr; in HWTEST_F() local
89 std::make_shared<HostCardEmulationManager>(nfcService, nciCeProxy, ceService); in HWTEST_F()
103 std::shared_ptr<NfcService> nfcService = nullptr; in HWTEST_F() local
109 std::make_shared<HostCardEmulationManager>(nfcService, nciCeProxy, ceService); in HWTEST_F()
123 std::shared_ptr<NfcService> nfcService = nullptr; in HWTEST_F() local
129 std::make_shared<HostCardEmulationManager>(nfcService, nciCeProxy, ceService); in HWTEST_F()
143 std::shared_ptr<NfcService> nfcService = nullptr; in HWTEST_F() local
150 std::make_shared<HostCardEmulationManager>(nfcService, nciCeProx in HWTEST_F()
163 std::shared_ptr<NfcService> nfcService = std::make_shared<NfcService>(); HWTEST_F() local
183 std::shared_ptr<NfcService> nfcService = std::make_shared<NfcService>(); HWTEST_F() local
198 std::shared_ptr<NfcService> nfcService = std::make_shared<NfcService>(); HWTEST_F() local
[all...]
/foundation/communication/nfc/test/fuzztest/services_test/controller_test/nfccontrollerstub/nfccontrollerstub_fuzzer/
H A Dnfccontrollerstub_fuzzer.cpp59 std::weak_ptr<NFC::NfcService> nfcService; in FuzzHandleGetState() local
60 sptr<NFC::NfcControllerImpl> nfcCrlStub = new NFC::NfcControllerImpl(nfcService); in FuzzHandleGetState()
74 std::weak_ptr<NFC::NfcService> nfcService; in FuzzHandleTurnOn() local
75 sptr<NFC::NfcControllerImpl> nfcCrlStub = new NFC::NfcControllerImpl(nfcService); in FuzzHandleTurnOn()
89 std::weak_ptr<NFC::NfcService> nfcService; in FuzzHandleTurnOff() local
90 sptr<NFC::NfcControllerImpl> nfcCrlStub = new NFC::NfcControllerImpl(nfcService); in FuzzHandleTurnOff()
104 std::weak_ptr<NFC::NfcService> nfcService; in FuzzHandleRegisterCallBack() local
105 sptr<NFC::NfcControllerImpl> nfcCrlStub = new NFC::NfcControllerImpl(nfcService); in FuzzHandleRegisterCallBack()
119 std::weak_ptr<NFC::NfcService> nfcService; in FuzzHandleUnRegisterCallBack() local
120 sptr<NFC::NfcControllerImpl> nfcCrlStub = new NFC::NfcControllerImpl(nfcService); in FuzzHandleUnRegisterCallBack()
134 std::weak_ptr<NFC::NfcService> nfcService; FuzzHandleIsNfcOpen() local
149 std::weak_ptr<NFC::NfcService> nfcService; FuzzHandleGetNfcTagInterface() local
164 std::weak_ptr<NFC::NfcService> nfcService; FuzzUnregisterCallback() local
179 std::weak_ptr<NFC::NfcService> nfcService; FuzzregisterCallback() local
189 std::weak_ptr<NFC::NfcService> nfcService; FuzzHandleRegNdefMsgCb() local
205 std::weak_ptr<NFC::NfcService> nfcService; FuzzHandleRegQueryApplicationCb() local
220 std::weak_ptr<NFC::NfcService> nfcService; FuzzHandleRegCardEmulationNotifyCb() local
236 std::weak_ptr<NFC::NfcService> nfcService; FuzzHandleGetNfcHceInterface() local
251 std::weak_ptr<NFC::NfcService> nfcService; FuzzOnRemoteRequest() local
[all...]
/foundation/communication/nfc/services/src/
H A Dnfc_event_handler.cpp41 explicit ScreenChangedReceiver(std::weak_ptr<NfcService> nfcService,
53 NfcEventHandler::ScreenChangedReceiver::ScreenChangedReceiver(std::weak_ptr<NfcService> nfcService, in ScreenChangedReceiver() argument
56 nfcService_(nfcService), in ScreenChangedReceiver()
57 eventHandler_(nfcService.lock()->eventHandler_) in ScreenChangedReceiver()
115 explicit PackageChangedReceiver(std::weak_ptr<NfcService> nfcService,
127 NfcEventHandler::PackageChangedReceiver::PackageChangedReceiver(std::weak_ptr<NfcService> nfcService, in PackageChangedReceiver() argument
130 nfcService_(nfcService), in PackageChangedReceiver()
131 eventHandler_(nfcService.lock()->eventHandler_) in PackageChangedReceiver()
155 explicit ShutdownEventReceiver(std::weak_ptr<NfcService> nfcService,
167 NfcEventHandler::ShutdownEventReceiver::ShutdownEventReceiver(std::weak_ptr<NfcService> nfcService, in ShutdownEventReceiver() argument
203 DataShareChangedReceiver(std::weak_ptr<NfcService> nfcService, const EventFwk::CommonEventSubscribeInfo& subscribeInfo) DataShareChangedReceiver() argument
[all...]
H A Dnfc_routing_manager.cpp28 std::weak_ptr<NfcService> nfcService) in NfcRoutingManager()
29 : eventHandler_(eventHandler), nciNfccProxy_(nciNfccProxy), nciCeProxy_(nciCeProxy), nfcService_(nfcService) in NfcRoutingManager()
25 NfcRoutingManager(std::shared_ptr<NfcEventHandler> eventHandler, std::weak_ptr<NCI::INciNfccInterface> nciNfccProxy, std::weak_ptr<NCI::INciCeInterface> nciCeProxy, std::weak_ptr<NfcService> nfcService) NfcRoutingManager() argument
H A Dnfc_polling_manager.cpp24 NfcPollingManager::NfcPollingManager(std::weak_ptr<NfcService> nfcService, in NfcPollingManager() argument
27 : nfcService_(nfcService), nciNfccProxy_(nciNfccProxy), nciTagProxy_(nciTagProxy) in NfcPollingManager()
/foundation/communication/nfc/test/unittest/services/cardemulation_test/
H A Dcardemulation_test.cpp113 std::shared_ptr<NfcService> nfcService = nullptr; in HWTEST_F() local
115 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); in HWTEST_F()
129 std::shared_ptr<NfcService> nfcService = nullptr; in HWTEST_F() local
131 std::shared_ptr<CeService> ceService = std::make_shared<CeService>(nfcService, nciCeProxy); in HWTEST_F()
/foundation/communication/nfc/test/unittest/services/ipc_test/
H A Dtag_session_test.cpp61 std::shared_ptr<NfcService> nfcService = std::make_shared<NfcService>(); in HWTEST_F() local
62 std::shared_ptr<TAG::TagSession> tagSession = std::make_shared<TAG::TagSession>(nfcService); in HWTEST_F()
/foundation/communication/nfc/test/fuzztest/cardemulation_test/hcesessionstub/hcesessionstub_fuzzer/
H A Dhcesessionstub_fuzzer.cpp78 std::shared_ptr<OHOS::NFC::NfcService> nfcService = std::make_shared<OHOS::NFC::NfcService>(); in DoHceSessionStubFuzzTest() local
79 std::shared_ptr<NFC::HCE::HceSession> hceSession = std::make_shared<NFC::HCE::HceSession>(nfcService); in DoHceSessionStubFuzzTest()
/foundation/communication/nfc/services/include/
H A Dwifi_connection_manager.h29 void Initialize(std::weak_ptr<NfcService> nfcService);
H A Dnfc_routing_manager.h29 std::weak_ptr<NfcService> nfcService);
H A Dtag_dispatcher.h35 explicit TagDispatcher(std::shared_ptr<NfcService> nfcService);
H A Dnfc_polling_manager.h33 NfcPollingManager(std::weak_ptr<NfcService> nfcService,
/foundation/communication/nfc/services/src/external_deps/
H A Dnfc_notification_publisher.h53 void RegNotificationCallback(std::weak_ptr<NfcService> nfcService);
H A Dexternal_deps_proxy.h103 void RegNotificationCallback(std::weak_ptr<NfcService> nfcService);
/foundation/communication/nfc/services/src/ipc/controller/
H A Dnfc_controller_impl.cpp26 NfcControllerImpl::NfcControllerImpl(std::weak_ptr<NfcService> nfcService) in NfcControllerImpl() argument
27 : NfcControllerStub(), nfcService_(nfcService) in NfcControllerImpl()
H A Dnfc_controller_impl.h26 explicit NfcControllerImpl(std::weak_ptr<NfcService> nfcService);
/foundation/communication/nfc/services/src/card_emulation/
H A Dhost_card_emulation_manager.h44 explicit HostCardEmulationManager(std::weak_ptr<NfcService> nfcService,
/foundation/communication/nfc/services/src/tag/
H A Dtag_dispatcher.cpp48 TagDispatcher::TagDispatcher(std::shared_ptr<NFC::NfcService> nfcService) in TagDispatcher() argument
49 : nfcService_(nfcService), in TagDispatcher()
H A Dwifi_connection_manager.cpp48 void WifiConnectionManager::Initialize(std::weak_ptr<NfcService> nfcService) in Initialize() argument
55 nfcService_ = nfcService; in Initialize()
112 ErrorLog("nfcService expired"); in SendMsgToEvtHandler()
126 ErrorLog("nfcService expired"); in RemoveMsgFromEvtHandler()

Completed in 10 milliseconds

12