Searched refs:NfcPollingParams (Results 1 – 8 of 8) sorted by relevance
20 uint16_t NfcPollingParams::NFC_POLL_DEFAULT = 0x3F;22 NfcPollingParams::NfcPollingParams() : techMask_(0), in NfcPollingParams() function in OHOS::NFC::NfcPollingParams29 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 …]
31 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()
50 std::shared_ptr<NfcPollingParams> currPollingParams = in HandleCommitRouting()
62 NfcPollingParams nfcPollingParams;73 NfcPollingParams nfcPollingParams;84 NfcPollingParams nfcPollingParams;95 NfcPollingParams nfcPollingParams;106 NfcPollingParams nfcPollingParams;118 NfcPollingParams nfcPollingParams;129 NfcPollingParams nfcPollingParams;
146 …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…
21 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();
56 std::shared_ptr<NfcPollingParams> GetCurrentParameters();57 std::shared_ptr<NfcPollingParams> GetPollingParameters(int screenState);86 std::shared_ptr<NfcPollingParams> currPollingParams_ {};
130 std::shared_ptr<NfcPollingParams> currPollingParams_ {};