Home
last modified time | relevance | path

Searched refs:HostCardEmulationManager (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/foundation/communication/nfc/services/src/card_emulation/
H A Dhost_card_emulation_manager.cpp43 HostCardEmulationManager::HostCardEmulationManager(std::weak_ptr<NfcService> nfcService, in HostCardEmulationManager() function in OHOS::NFC::HostCardEmulationManager
48 hceState_ = HostCardEmulationManager::INITIAL_STATE; in HostCardEmulationManager()
52 HostCardEmulationManager::~HostCardEmulationManager() in ~HostCardEmulationManager()
54 hceState_ = HostCardEmulationManager::INITIAL_STATE; in ~HostCardEmulationManager()
92 case HostCardEmulationManager::INITIAL_STATE: { in OnHostCardEmulationDataNfcA()
96 case HostCardEmulationManager::WAIT_FOR_SELECT: { in OnHostCardEmulationDataNfcA()
100 case HostCardEmulationManager::WAIT_FOR_SERVICE: { in OnHostCardEmulationDataNfcA()
104 case HostCardEmulationManager::DATA_TRANSFER: { in OnHostCardEmulationDataNfcA()
116 void HostCardEmulationManager::OnCardEmulationActivated() in OnCardEmulationActivated()
140 hceState_ = HostCardEmulationManager::INITIAL_STATE; in OnCardEmulationDeactivated()
[all …]
H A Dhost_card_emulation_manager.h35 class HostCardEmulationManager : public std::enable_shared_from_this<HostCardEmulationManager> {
44 explicit HostCardEmulationManager(std::weak_ptr<NfcService> nfcService,
47 ~HostCardEmulationManager();
87 … std::map<std::string, HostCardEmulationManager::HceCmdRegistryData> bundleNameToHceCmdRegData_{};
H A Dnfc_ability_connection_callback.h24 class HostCardEmulationManager; variable
36 void SetHceManager(std::weak_ptr<HostCardEmulationManager> hceManager);
41 std::weak_ptr<HostCardEmulationManager> hceManager_{};
H A Dce_service.h33 class HostCardEmulationManager; variable
113 std::shared_ptr<HostCardEmulationManager> hostCardEmulationManager_{};
H A Dnfc_ability_connection_callback.cpp59 void NfcAbilityConnectionCallback::SetHceManager(std::weak_ptr<HostCardEmulationManager> hceManager) in SetHceManager()
H A Dce_service.cpp563 std::make_shared<HostCardEmulationManager>(nfcService_, nciCeProxy_, shared_from_this()); in Initialize()
/ohos5.0/foundation/communication/nfc/test/fuzztest/services_test/hostcardemulationmanager_test/hostcardemulationmanager/hostcardemulationmanager_fuzzer/
H A Dhostcardemulationmanager_fuzzer.cpp62 std::shared_ptr<HostCardEmulationManager> manager = in FuzzOnHostCardEmulationDataNfcA()
63 std::make_shared<HostCardEmulationManager>(nfcService, nciCeProxy, ceService); in FuzzOnHostCardEmulationDataNfcA()
76 std::shared_ptr<HostCardEmulationManager> manager = in FuzzOnCardEmulationActivated()
77 std::make_shared<HostCardEmulationManager>(nfcService, nciCeProxy, ceService); in FuzzOnCardEmulationActivated()
86 std::shared_ptr<HostCardEmulationManager> manager = in FuzzOnCardEmulationDeactivated()
87 std::make_shared<HostCardEmulationManager>(nfcService, nciCeProxy, ceService); in FuzzOnCardEmulationDeactivated()
96 std::shared_ptr<HostCardEmulationManager> manager = in FuzzRegHceCmdCallback()
110 std::shared_ptr<HostCardEmulationManager> manager = in FuzzUnRegHceCmdCallback()
122 std::shared_ptr<HostCardEmulationManager> manager = in FuzzUnRegAllCallback()
133 std::shared_ptr<HostCardEmulationManager> manager = in FuzzSendHostApduData()
[all …]
/ohos5.0/foundation/communication/nfc/test/unittest/services/host_card_emulation_manager_test/
H A Dhost_card_emulation_manager_test.cpp67 std::shared_ptr<HostCardEmulationManager> hostCardEmulationManager =
68 std::make_shared<HostCardEmulationManager>(nfcService, nciCeProxy, ceService);
88 std::shared_ptr<HostCardEmulationManager> hostCardEmulationManager =
89 std::make_shared<HostCardEmulationManager>(nfcService, nciCeProxy, ceService);
108 std::shared_ptr<HostCardEmulationManager> hostCardEmulationManager =
109 std::make_shared<HostCardEmulationManager>(nfcService, nciCeProxy, ceService);
128 std::shared_ptr<HostCardEmulationManager> hostCardEmulationManager =
149 std::shared_ptr<HostCardEmulationManager> hostCardEmulationManager =
169 std::shared_ptr<HostCardEmulationManager> hostCardEmulationManager =
186 std::shared_ptr<HostCardEmulationManager> hostCardEmulationManager =
[all …]
/ohos5.0/foundation/communication/nfc/test/unittest/services/controller_test/
H A Dnfc_ability_connection_callback_test.cpp106 std::shared_ptr<HostCardEmulationManager> hceManager = nullptr;