Home
last modified time | relevance | path

Searched refs:NfcPollingParams (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/communication/nfc/services/src/
H A Dnfc_polling_params.cpp20 uint16_t NfcPollingParams::NFC_POLL_DEFAULT = 0x3F;
22 NfcPollingParams::NfcPollingParams() : techMask_(0), in NfcPollingParams() function in OHOS::NFC::NfcPollingParams
29 bool NfcPollingParams::operator==(const std::shared_ptr<NfcPollingParams> params) const in operator ==()
37 std::shared_ptr<NfcPollingParams> NfcPollingParams::GetNfcOffParameters() in GetNfcOffParameters()
39 return std::make_shared<NfcPollingParams>(); in GetNfcOffParameters()
42 uint16_t NfcPollingParams::GetTechMask() const in GetTechMask()
47 bool NfcPollingParams::ShouldEnablePolling() const in ShouldEnablePolling()
57 bool NfcPollingParams::ShouldEnableReaderMode() const in ShouldEnableReaderMode()
62 bool NfcPollingParams::ShouldEnableHostRouting() const in ShouldEnableHostRouting()
67 void NfcPollingParams::SetTechMask(uint16_t techMask) in SetTechMask()
[all …]
H A Dnfc_polling_manager.cpp31 currPollingParams_ = NfcPollingParams::GetNfcOffParameters(); in NfcPollingManager()
43 currPollingParams_ = std::make_shared<NfcPollingParams>(); in ResetCurrPollingParams()
58 std::shared_ptr<NfcPollingParams> NfcPollingManager::GetCurrentParameters() in GetCurrentParameters()
64 std::shared_ptr<NfcPollingParams> NfcPollingManager::GetPollingParameters(int screenState) in GetPollingParameters()
67 std::shared_ptr<NfcPollingParams> params = std::make_shared<NfcPollingParams>(); in GetPollingParameters()
73 params->SetTechMask(NfcPollingParams::NFC_POLL_DEFAULT); in GetPollingParameters()
95 std::shared_ptr<NfcPollingParams> newParams = GetPollingParameters(screenState_); in StartPollingLoop()
H A Dnfc_routing_manager.cpp50 std::shared_ptr<NfcPollingParams> currPollingParams = in HandleCommitRouting()
/ohos5.0/foundation/communication/nfc/test/unittest/services/services_test/
H A Dnfc_polling_params_test.cpp62 NfcPollingParams nfcPollingParams;
73 NfcPollingParams nfcPollingParams;
84 NfcPollingParams nfcPollingParams;
95 NfcPollingParams nfcPollingParams;
106 NfcPollingParams nfcPollingParams;
118 NfcPollingParams nfcPollingParams;
129 NfcPollingParams nfcPollingParams;
H A Dnfc_polling_manager_test.cpp146 …std::shared_ptr<NfcPollingParams> nfcPollingParams = nfcPollingManager.lock()->GetPollingParameter…
162 …std::shared_ptr<NfcPollingParams> nfcPollingParams = nfcPollingManager.lock()->GetPollingParameter…
179 …std::shared_ptr<NfcPollingParams> nfcPollingParams = nfcPollingManager.lock()->GetPollingParameter…
/ohos5.0/foundation/communication/nfc/services/include/
H A Dnfc_polling_params.h21 class NfcPollingParams {
23 explicit NfcPollingParams();
24 ~NfcPollingParams() {} in ~NfcPollingParams()
25 bool operator==(const std::shared_ptr<NfcPollingParams> params) const;
26 static std::shared_ptr<NfcPollingParams> GetNfcOffParameters();
H A Dnfc_polling_manager.h56 std::shared_ptr<NfcPollingParams> GetCurrentParameters();
57 std::shared_ptr<NfcPollingParams> GetPollingParameters(int screenState);
86 std::shared_ptr<NfcPollingParams> currPollingParams_ {};
H A Dnfc_service.h130 std::shared_ptr<NfcPollingParams> currPollingParams_ {};