/ohos5.0/foundation/communication/nfc/test/unittest/services/services_tags_test/ |
H A D | tag_session_test.cpp | 75 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 89 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 103 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 118 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 133 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 148 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 161 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 176 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 189 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 203 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); [all …]
|
H A D | tag_session_stub_test.cpp | 76 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 92 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 108 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 124 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 140 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 156 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 172 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 188 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 204 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 220 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); [all …]
|
H A D | bt_connection_manager_test.cpp | 63 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 81 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 95 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 113 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 132 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 151 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 170 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 189 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 208 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 229 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); [all …]
|
H A D | wifi_connection_manager_test.cpp | 63 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 79 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 99 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 118 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 138 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 158 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 177 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 197 std::shared_ptr<NfcService> service = std::make_shared<NfcService>();
|
/ohos5.0/foundation/communication/nfc/services/src/ |
H A D | nfc_service.cpp | 42 NfcService::NfcService() in NfcService() function in OHOS::NFC::NfcService 50 NfcService::~NfcService() in ~NfcService() 63 std::weak_ptr<NfcService> NfcService::GetInstance() const in GetInstance() 93 bool NfcService::Initialize() in Initialize() 125 void NfcService::UnloadNfcSa() in UnloadNfcSa() 293 bool NfcService::DoTurnOn() in DoTurnOn() 347 bool NfcService::DoTurnOff() in DoTurnOff() 375 void NfcService::DoInitialize() in DoInitialize() 490 int NfcService::GetNfcState() in GetNfcState() 508 int NfcService::GetNciVersion() in GetNciVersion() [all …]
|
H A D | nfc_event_handler.cpp | 41 explicit ScreenChangedReceiver(std::weak_ptr<NfcService> nfcService, 49 std::weak_ptr<NfcService> nfcService_ {}; 53 NfcEventHandler::ScreenChangedReceiver::ScreenChangedReceiver(std::weak_ptr<NfcService> nfcService, in ScreenChangedReceiver() 115 explicit PackageChangedReceiver(std::weak_ptr<NfcService> nfcService, 123 std::weak_ptr<NfcService> nfcService_ {}; 155 explicit ShutdownEventReceiver(std::weak_ptr<NfcService> nfcService, 163 std::weak_ptr<NfcService> nfcService_ {}; 167 NfcEventHandler::ShutdownEventReceiver::ShutdownEventReceiver(std::weak_ptr<NfcService> nfcService, in ShutdownEventReceiver() 191 explicit DataShareChangedReceiver(std::weak_ptr<NfcService> nfcService, 199 std::weak_ptr<NfcService> nfcService_ {}; [all …]
|
/ohos5.0/foundation/communication/nfc/test/unittest/services/services_test/ |
H A D | nfc_polling_manager_test.cpp | 72 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 85 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 99 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 115 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 128 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 143 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 158 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 175 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 194 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 212 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); [all …]
|
H A D | nfc_event_handler_test.cpp | 63 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 84 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 105 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 126 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 149 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 172 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 195 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 217 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 239 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); 261 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); [all …]
|
/ohos5.0/foundation/communication/nfc/test/unittest/services/hce_session_test/ |
H A D | hce_session_test.cpp | 60 std::shared_ptr<OHOS::NFC::NfcService> nfcService = std::make_shared<OHOS::NFC::NfcService>(); 76 std::shared_ptr<OHOS::NFC::NfcService> nfcService = std::make_shared<OHOS::NFC::NfcService>(); 93 std::shared_ptr<OHOS::NFC::NfcService> nfcService = std::make_shared<OHOS::NFC::NfcService>(); 110 std::shared_ptr<OHOS::NFC::NfcService> nfcService = std::make_shared<OHOS::NFC::NfcService>(); 128 std::shared_ptr<OHOS::NFC::NfcService> nfcService = std::make_shared<OHOS::NFC::NfcService>(); 143 std::shared_ptr<OHOS::NFC::NfcService> nfcService = std::make_shared<OHOS::NFC::NfcService>(); 158 std::shared_ptr<OHOS::NFC::NfcService> nfcService = std::make_shared<OHOS::NFC::NfcService>(); 174 std::shared_ptr<OHOS::NFC::NfcService> nfcService = std::make_shared<OHOS::NFC::NfcService>(); 188 std::shared_ptr<OHOS::NFC::NfcService> nfcService = std::make_shared<OHOS::NFC::NfcService>(); 203 std::shared_ptr<OHOS::NFC::NfcService> nfcService = std::make_shared<OHOS::NFC::NfcService>(); [all …]
|
/ohos5.0/foundation/communication/nfc/test/fuzztest/services_test/tags_test/tagsessionstub/tagsessionstub_fuzzer/ |
H A D | tagsessionstub_fuzzer.cpp | 42 std::shared_ptr<NFC::NfcService> service = std::make_shared<NFC::NfcService>(); in FuzzHandleConnect() 57 std::shared_ptr<NFC::NfcService> service = std::make_shared<NFC::NfcService>(); in FuzzHandleReconnect() 72 std::shared_ptr<NFC::NfcService> service = std::make_shared<NFC::NfcService>(); in FuzzHandleDisconnect() 87 std::shared_ptr<NFC::NfcService> service = std::make_shared<NFC::NfcService>(); in FuzzHandleSetTimeout() 102 std::shared_ptr<NFC::NfcService> service = std::make_shared<NFC::NfcService>(); in FuzzHandleGetTimeout() 117 std::shared_ptr<NFC::NfcService> service = std::make_shared<NFC::NfcService>(); in FuzzHandleGetTechList() 132 std::shared_ptr<NFC::NfcService> service = std::make_shared<NFC::NfcService>(); in FuzzHandleIsTagFieldOn() 147 std::shared_ptr<NFC::NfcService> service = std::make_shared<NFC::NfcService>(); in FuzzHandleIsNdef() 162 std::shared_ptr<NFC::NfcService> service = std::make_shared<NFC::NfcService>(); in FuzzHandleSendRawFrame() 177 std::shared_ptr<NFC::NfcService> service = std::make_shared<NFC::NfcService>(); in FuzzHandleNdefRead() [all …]
|
/ohos5.0/foundation/communication/nfc/test/unittest/services/controller_test/ |
H A D | nfc_controller_impl_test.cpp | 61 std::shared_ptr<NfcService> nfcService = nullptr; 74 std::shared_ptr<NfcService> nfcService = nullptr; 87 std::shared_ptr<NfcService> nfcService = nullptr; 101 std::shared_ptr<NfcService> nfcService = nullptr; 117 std::shared_ptr<NfcService> nfcService = nullptr; 132 std::shared_ptr<NfcService> nfcService = nullptr; 147 std::shared_ptr<NfcService> nfcService = std::make_shared<NfcService>(); 175 std::shared_ptr<NfcService> nfcService = std::make_shared<NfcService>(); 201 std::shared_ptr<NfcService> nfcService = std::make_shared<NfcService>(); 269 std::shared_ptr<NfcService> nfcService = std::make_shared<NfcService>(); [all …]
|
/ohos5.0/foundation/communication/nfc/test/fuzztest/services_test/tagsession_test/tagsession/tagsession_fuzzer/ |
H A D | tagsession_fuzzer.cpp | 58 std::shared_ptr<NFC::NfcService> service = nullptr; in FuzzResetTimeout() 68 std::shared_ptr<NFC::NfcService> service = nullptr; in FuzzIsTagFieldOn() 78 std::shared_ptr<NFC::NfcService> service = std::make_shared<NFC::NfcService>(); in FuzzGetFgDataVecSize() 85 std::shared_ptr<NFC::NfcService> service = std::make_shared<NFC::NfcService>(); in FuzzGetReaderDataVecSize() 92 std::shared_ptr<NFC::NfcService> service = std::make_shared<NFC::NfcService>(); in FuzzHandleAppStateChanged() 104 std::shared_ptr<NFC::NfcService> service = std::make_shared<NFC::NfcService>(); in FuzzRegForegroundDispatch() 120 std::shared_ptr<NFC::NfcService> service = std::make_shared<NFC::NfcService>(); in FuzzUnregForegroundDispatch() 130 std::shared_ptr<NFC::NfcService> service = std::make_shared<NFC::NfcService>(); in FuzzRegReaderMode() 145 std::shared_ptr<NFC::NfcService> service = std::make_shared<NFC::NfcService>(); in FuzzIsConnected() 154 std::shared_ptr<NFC::NfcService> service = std::make_shared<NFC::NfcService>(); in FuzzSetTimeout() [all …]
|
/ohos5.0/foundation/communication/nfc/test/unittest/services/ce_service_test/ |
H A D | ce_service_test.cpp | 60 std::shared_ptr<NfcService> nfcService = nullptr; 78 std::shared_ptr<NfcService> nfcService = nullptr; 97 std::shared_ptr<NfcService> nfcService = nullptr; 115 std::shared_ptr<NfcService> nfcService = std::make_shared<NfcService>(); 129 std::shared_ptr<NfcService> nfcService = nullptr; 148 std::shared_ptr<NfcService> nfcService = nullptr; 168 std::shared_ptr<NfcService> nfcService = std::make_shared<NfcService>(); 188 std::shared_ptr<NfcService> nfcService = nullptr; 280 std::shared_ptr<NfcService> nfcService = std::make_shared<NfcService>(); 319 std::shared_ptr<NfcService> nfcService = std::make_shared<NfcService>(); [all …]
|
/ohos5.0/foundation/communication/nfc/test/fuzztest/services_test/nfccontrollerimpl_test/nfccontrollerimpl/nfccontrollerimpl_fuzzer/ |
H A D | nfccontrollerimpl_fuzzer.cpp | 40 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); in FuzzGetState() 48 std::shared_ptr<NfcService> service = nullptr; in FuzzUnRegisterAllCallBack() 56 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); in FuzzUnRegisterAllCallBack1() 64 std::shared_ptr<NfcService> service = nullptr; in FuzzRegNdefMsgCallback() 72 std::shared_ptr<NfcService> service = nullptr; in FuzzRegQueryApplicationCb() 80 std::shared_ptr<NfcService> service = nullptr; in FuzzRegCardEmulationNotifyCb() 87 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); in FuzzGetHceServiceIface() 96 std::shared_ptr<NfcService> service = nullptr; in FuzzDump()
|
/ohos5.0/foundation/communication/nfc/test/fuzztest/services_test/btconnectionmanager_test/btconnectionmanager/btconnectionmanager_fuzzer/ |
H A D | btconnectionmanager_fuzzer.cpp | 44 std::shared_ptr<NFC::NfcService> service = std::make_shared<NFC::NfcService>(); in FuzzTryPairBt() 56 std::shared_ptr<NFC::NfcService> service = std::make_shared<NFC::NfcService>(); in FuzzOnBtNtfClicked() 69 std::shared_ptr<NFC::NfcService> service = std::make_shared<NFC::NfcService>(); in FuzzHandleBtEnableFailed() 82 std::shared_ptr<NFC::NfcService> service = std::make_shared<NFC::NfcService>(); in FuzzHandleBtPairFailed() 95 std::shared_ptr<NFC::NfcService> service = std::make_shared<NFC::NfcService>(); in FuzzHandleBtConnectFailed() 108 std::shared_ptr<NFC::NfcService> service = std::make_shared<NFC::NfcService>(); in FuzzOnBtEnabled() 124 std::shared_ptr<NFC::NfcService> service = std::make_shared<NFC::NfcService>(); in FuzzOnPairStatusChanged() 141 std::shared_ptr<NFC::NfcService> service = std::make_shared<NFC::NfcService>(); in FuzzOnConnectionStateChanged()
|
/ohos5.0/foundation/communication/nfc/test/fuzztest/services_test/tagdispatcher_test/tagdispatcher/tagdispatcher_fuzzer/ |
H A D | tagdispatcher_fuzzer.cpp | 39 std::shared_ptr<NFC::NfcService> service = std::make_shared<NFC::NfcService>(); in FuzzHandleTagFound() 50 std::shared_ptr<NFC::NfcService> service = std::make_shared<NFC::NfcService>(); in FuzzHandleTagLost() 57 std::shared_ptr<NFC::NfcService> service = std::make_shared<NFC::NfcService>(); in FuzzHandleTagDebounce() 66 std::shared_ptr<NFC::NfcService> service = std::make_shared<NFC::NfcService>(); in FuzzOnNotificationButtonClicked()
|
/ohos5.0/foundation/communication/nfc/services/include/ |
H A D | nfc_service.h | 41 class NfcService final : public NCI::INciTagInterface::ITagListener, 44 public std::enable_shared_from_this<NfcService> { 46 NfcService(); 47 ~NfcService() override; 48 NfcService& operator=(const NfcService&) = delete; 49 NfcService(const NfcService&) = delete; 51 std::weak_ptr<NfcService> GetInstance() const; 111 std::weak_ptr<NfcService> nfcService_ {};
|
H A D | nfc_routing_manager.h | 23 class NfcService; variable 29 std::weak_ptr<NfcService> nfcService); 42 std::weak_ptr<NfcService> nfcService_ {};
|
/ohos5.0/foundation/communication/nfc/test/fuzztest/services_test/wificonnectionmanager_test/wificonnectionmanager/wificonnectionmanager_fuzzer/ |
H A D | wificonnectionmanager_fuzzer.cpp | 47 std::shared_ptr<NFC::NfcService> service = std::make_shared<NFC::NfcService>(); in FuzzTryConnectWifi() 60 std::shared_ptr<NFC::NfcService> service = std::make_shared<NFC::NfcService>(); in FuzzOnWifiNtfClicked() 74 std::shared_ptr<NFC::NfcService> service = std::make_shared<NFC::NfcService>(); in FuzzHandleWifiEnableFailed() 88 std::shared_ptr<NFC::NfcService> service = std::make_shared<NFC::NfcService>(); in FuzzHandleWifiConnectFailed() 102 std::shared_ptr<NFC::NfcService> service = std::make_shared<NFC::NfcService>(); in FuzzOnWifiEnabled() 116 std::shared_ptr<NFC::NfcService> service = std::make_shared<NFC::NfcService>(); in FuzzOnWifiConnected()
|
/ohos5.0/foundation/communication/nfc/test/unittest/services/host_card_emulation_manager_test/ |
H A D | host_card_emulation_manager_test.cpp | 61 std::shared_ptr<NfcService> nfcService = nullptr; 82 std::shared_ptr<NfcService> nfcService = nullptr; 103 std::shared_ptr<NfcService> nfcService = nullptr; 123 std::shared_ptr<NfcService> nfcService = nullptr; 143 std::shared_ptr<NfcService> nfcService = nullptr; 163 std::shared_ptr<NfcService> nfcService = std::make_shared<NfcService>(); 183 std::shared_ptr<NfcService> nfcService = std::make_shared<NfcService>(); 198 std::shared_ptr<NfcService> nfcService = std::make_shared<NfcService>();
|
/ohos5.0/foundation/communication/nfc/test/fuzztest/services_test/hcesession_test/hcesession/hcesession_fuzzer/ |
H A D | hcesession_fuzzer.cpp | 42 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); in FuzzIsDefaultService() 52 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); in FuzzStartHce() 62 std::shared_ptr<NfcService> service = std::make_shared<NfcService>(); in FuzzStopHce()
|
/ohos5.0/foundation/communication/nfc/test/fuzztest/services_test/controller_test/nfccontrollerstub/nfccontrollerstub_fuzzer/ |
H A D | nfccontrollerstub_fuzzer.cpp | 59 std::weak_ptr<NFC::NfcService> nfcService; in FuzzHandleGetState() 74 std::weak_ptr<NFC::NfcService> nfcService; in FuzzHandleTurnOn() 89 std::weak_ptr<NFC::NfcService> nfcService; in FuzzHandleTurnOff() 104 std::weak_ptr<NFC::NfcService> nfcService; in FuzzHandleRegisterCallBack() 119 std::weak_ptr<NFC::NfcService> nfcService; in FuzzHandleUnRegisterCallBack() 134 std::weak_ptr<NFC::NfcService> nfcService; in FuzzHandleIsNfcOpen() 149 std::weak_ptr<NFC::NfcService> nfcService; in FuzzHandleGetNfcTagInterface() 164 std::weak_ptr<NFC::NfcService> nfcService; in FuzzUnregisterCallback() 179 std::weak_ptr<NFC::NfcService> nfcService; in FuzzregisterCallback() 189 std::weak_ptr<NFC::NfcService> nfcService; in FuzzHandleRegNdefMsgCb() [all …]
|
/ohos5.0/foundation/communication/nfc/test/fuzztest/services_test/nfcpollingmanager_test/nfcpollingmanager/nfcpollingmanager_fuzzer/ |
H A D | nfcpollingmanager_fuzzer.cpp | 41 std::weak_ptr<NfcService> nfcService; in FuzzStartPollingLoop() 52 std::weak_ptr<NfcService> nfcService; in FuzzEnableForegroundDispatch() 65 std::weak_ptr<NfcService> nfcService; in FuzzDisableForegroundDispatch() 76 std::weak_ptr<NfcService> nfcService; in FuzzDisableForegroundByDeathRcpt() 86 std::weak_ptr<NfcService> nfcService; in FuzzIsForegroundEnabled() 96 std::weak_ptr<NfcService> nfcService; in FuzzSendTagToForeground() 106 std::weak_ptr<NfcService> nfcService; in FuzzIsReaderModeEnabled() 116 std::weak_ptr<NfcService> nfcService; in FuzzSendTagToReaderApp()
|
/ohos5.0/foundation/communication/nfc/test/fuzztest/services_test/hostcardemulationmanager_test/hostcardemulationmanager/hostcardemulationmanager_fuzzer/ |
H A D | hostcardemulationmanager_fuzzer.cpp | 59 std::weak_ptr<NfcService> nfcService; in FuzzOnHostCardEmulationDataNfcA() 73 std::weak_ptr<NfcService> nfcService; in FuzzOnCardEmulationActivated() 83 std::weak_ptr<NfcService> nfcService; in FuzzOnCardEmulationDeactivated() 93 std::weak_ptr<NfcService> nfcService; in FuzzRegHceCmdCallback() 107 std::weak_ptr<NfcService> nfcService; in FuzzUnRegHceCmdCallback() 119 std::weak_ptr<NfcService> nfcService; in FuzzUnRegAllCallback() 130 std::weak_ptr<NfcService> nfcService; in FuzzSendHostApduData() 144 std::weak_ptr<NfcService> nfcService; in FuzzHandleQueueData()
|
/ohos5.0/foundation/communication/nfc/services/src/card_emulation/ |
H A D | host_card_emulation_manager.h | 32 class NfcService; variable 44 explicit HostCardEmulationManager(std::weak_ptr<NfcService> nfcService, 80 std::weak_ptr<NfcService> nfcService_{}; 82 friend class NfcService; variable
|