Home
last modified time | relevance | path

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

/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
[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()
/foundation/communication/nfc/services/include/
H A Dnfc_polling_params.h21 class NfcPollingParams { class
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.h129 std::shared_ptr<NfcPollingParams> currPollingParams_ {};
/foundation/communication/nfc/test/unittest/services/services_test/
H A Dnfc_polling_params_test.cpp57 * @tc.desc: Test NfcPollingParams GetTechMask.
62 NfcPollingParams nfcPollingParams; in HWTEST_F()
68 * @tc.desc: Test NfcPollingParams ShouldEnablePolling.
73 NfcPollingParams nfcPollingParams; in HWTEST_F()
79 * @tc.desc: Test NfcPollingParams ShouldEnableLowPowerPolling.
84 NfcPollingParams nfcPollingParams; in HWTEST_F()
90 * @tc.desc: Test NfcPollingParams ShouldEnableReaderMode.
95 NfcPollingParams nfcPollingParams; in HWTEST_F()
101 * @tc.desc: Test NfcPollingParams ShouldEnableHostRouting.
106 NfcPollingParams nfcPollingParam in HWTEST_F()
[all...]
H A Dnfc_polling_manager_test.cpp146 std::shared_ptr<NfcPollingParams> nfcPollingParams = nfcPollingManager.lock()->GetPollingParameters(screenState); in HWTEST_F()
162 std::shared_ptr<NfcPollingParams> nfcPollingParams = nfcPollingManager.lock()->GetPollingParameters(screenState); in HWTEST_F()
179 std::shared_ptr<NfcPollingParams> nfcPollingParams = nfcPollingManager.lock()->GetPollingParameters(screenState); in HWTEST_F()

Completed in 4 milliseconds