Home
last modified time | relevance | path

Searched refs:NfcConfig (Results 1 – 4 of 4) sorted by relevance

/system/nfc/src/adaptation/
Dnfc_config.cc47 void NfcConfig::loadConfig() { in loadConfig()
60 NfcConfig::NfcConfig() { loadConfig(); } in NfcConfig() function in NfcConfig
62 NfcConfig& NfcConfig::getInstance() { in getInstance()
63 static NfcConfig theInstance; in getInstance()
70 bool NfcConfig::hasKey(const std::string& key) { in hasKey()
74 std::string NfcConfig::getString(const std::string& key) { in getString()
78 std::string NfcConfig::getString(const std::string& key, in getString()
84 unsigned NfcConfig::getUnsigned(const std::string& key) { in getUnsigned()
88 unsigned NfcConfig::getUnsigned(const std::string& key, in getUnsigned()
94 std::vector<uint8_t> NfcConfig::getBytes(const std::string& key) { in getBytes()
[all …]
DNfcAdaptation.cc45 using NfcVendorConfigV1_1 = android::hardware::nfc::V1_1::NfcConfig;
46 using NfcVendorConfigV1_2 = android::hardware::nfc::V1_2::NfcConfig;
86 (NfcConfig::getUnsigned(NAME_NFC_DEBUG_ENABLED, 0) != 0) ? true : false; in initializeGlobalDebugEnabledFlag()
269 nfc_storage_path = NfcConfig::getString(NAME_NFA_STORAGE, "/data/nfc"); in Initialize()
271 if (NfcConfig::hasKey(NAME_NFA_DM_CFG)) { in Initialize()
272 std::vector<uint8_t> dm_config = NfcConfig::getBytes(NAME_NFA_DM_CFG); in Initialize()
283 if (NfcConfig::hasKey(NAME_NFA_MAX_EE_SUPPORTED)) { in Initialize()
284 nfa_ee_max_ee_cfg = NfcConfig::getUnsigned(NAME_NFA_MAX_EE_SUPPORTED); in Initialize()
290 if (NfcConfig::hasKey(NAME_NFA_POLL_BAIL_OUT_MODE)) { in Initialize()
292 NfcConfig::getUnsigned(NAME_NFA_POLL_BAIL_OUT_MODE); in Initialize()
[all …]
/system/nfc/src/include/
Dnfc_config.h59 class NfcConfig {
72 static NfcConfig& getInstance();
73 NfcConfig();
/system/nfc/src/nfa/ee/
Dnfa_ee_main.cc129 if (NfcConfig::hasKey(NAME_NFA_AID_BLOCK_ROUTE)) { in nfa_ee_sys_enable()
130 unsigned retlen = NfcConfig::getUnsigned(NAME_NFA_AID_BLOCK_ROUTE); in nfa_ee_sys_enable()