Home
last modified time | relevance | path

Searched refs:EseConfig (Results 1 – 14 of 14) sorted by relevance

/hardware/nxp/secure_element/snxxx/libese-spi/p73/utils/
Dese_config.cpp48 EseConfig::EseConfig() { in EseConfig() function in EseConfig
54 EseConfig& EseConfig::getInstance() { in getInstance()
55 static EseConfig theInstance; in getInstance()
59 bool EseConfig::hasKey(const std::string& key) { in hasKey()
63 std::string EseConfig::getString(const std::string& key) { in getString()
67 std::string EseConfig::getString(const std::string& key, in getString()
73 unsigned EseConfig::getUnsigned(const std::string& key) { in getUnsigned()
77 unsigned EseConfig::getUnsigned(const std::string& key, in getUnsigned()
83 std::vector<uint8_t> EseConfig::getBytes(const std::string& key) { in getBytes()
87 void EseConfig::clear() { getInstance().config_.clear(); } in clear()
Dese_config.h53 class EseConfig {
65 static EseConfig& getInstance();
66 EseConfig();
/hardware/nxp/secure_element/pn8x/libese-spi/p73/utils/
Dese_config.cpp48 EseConfig::EseConfig() { in EseConfig() function in EseConfig
54 EseConfig& EseConfig::getInstance() { in getInstance()
55 static EseConfig theInstance; in getInstance()
59 bool EseConfig::hasKey(const std::string& key) { in hasKey()
63 std::string EseConfig::getString(const std::string& key) { in getString()
67 std::string EseConfig::getString(const std::string& key, in getString()
73 unsigned EseConfig::getUnsigned(const std::string& key) { in getUnsigned()
77 unsigned EseConfig::getUnsigned(const std::string& key, in getUnsigned()
83 std::vector<uint8_t> EseConfig::getBytes(const std::string& key) { in getBytes()
87 void EseConfig::clear() { getInstance().config_.clear(); } in clear()
Dese_config.h39 class EseConfig {
51 static EseConfig& getInstance();
52 EseConfig();
/hardware/st/secure_element/ese-spi-driver/utils-lib/
Dese_config.cc50 EseConfig::EseConfig() { in EseConfig() function in EseConfig
56 EseConfig& EseConfig::getInstance() { in getInstance()
57 static EseConfig theInstance; in getInstance()
61 bool EseConfig::hasKey(const std::string& key) { in hasKey()
65 std::string EseConfig::getString(const std::string& key) { in getString()
69 std::string EseConfig::getString(const std::string& key, in getString()
75 unsigned EseConfig::getUnsigned(const std::string& key) { in getUnsigned()
79 unsigned EseConfig::getUnsigned(const std::string& key, in getUnsigned()
85 std::vector<uint8_t> EseConfig::getBytes(const std::string& key) { in getBytes()
89 void EseConfig::clear() { getInstance().config_.clear(); } in clear()
Dese_config.h34 class EseConfig {
46 static EseConfig& getInstance();
47 EseConfig();
Dandroid_logmsg.cc50 num = EseConfig::getUnsigned(NAME_STESE_HAL_LOGLEVEL, 0); in InitializeSTLogLevel()
/hardware/nxp/secure_element/snxxx/libese-spi/p73/lib/
DphNxpEse_Api.cpp117 (EseConfig::getUnsigned(NAME_SE_DEBUG_ENABLED, 0) != 0) ? true : false; in phNxpLog_InitializeLogLevel()
157 protoInitParam.wtx_counter_limit = EseConfig::getUnsigned( in phNxpEse_init()
162 if (EseConfig::hasKey(NAME_RNACK_RETRY_DELAY)) { in phNxpEse_init()
163 num = EseConfig::getUnsigned(NAME_RNACK_RETRY_DELAY); in phNxpEse_init()
170 if (EseConfig::hasKey(NAME_NXP_MAX_RNACK_RETRY)) { in phNxpEse_init()
172 EseConfig::getUnsigned(NAME_NXP_MAX_RNACK_RETRY); in phNxpEse_init()
179 if (EseConfig::hasKey(NAME_NXP_SPI_INTF_RST_ENABLE)) { in phNxpEse_init()
181 (EseConfig::getUnsigned(NAME_NXP_SPI_INTF_RST_ENABLE) == 1) ? true in phNxpEse_init()
194 if (EseConfig::hasKey(NAME_NXP_WTX_NTF_COUNT)) { in phNxpEse_init()
195 num = EseConfig::getUnsigned(NAME_NXP_WTX_NTF_COUNT); in phNxpEse_init()
[all …]
/hardware/nxp/secure_element/pn8x/libese-spi/p73/lib/
DphNxpEse_Api.cpp66 (EseConfig::getUnsigned(NAME_SE_DEBUG_ENABLED, 0) != 0) ? true : false; in phNxpLog_InitializeLogLevel()
100 if (EseConfig::hasKey(NAME_NXP_WTX_COUNT_VALUE)) { in phNxpEse_init()
101 num = EseConfig::getUnsigned(NAME_NXP_WTX_COUNT_VALUE); in phNxpEse_init()
108 if (EseConfig::hasKey(NAME_NXP_MAX_RNACK_RETRY)) { in phNxpEse_init()
110 EseConfig::getUnsigned(NAME_NXP_MAX_RNACK_RETRY); in phNxpEse_init()
117 if (EseConfig::hasKey(NAME_NXP_SPI_INTF_RST_ENABLE)) { in phNxpEse_init()
119 (EseConfig::getUnsigned(NAME_NXP_SPI_INTF_RST_ENABLE) == 1) ? true in phNxpEse_init()
186 if (EseConfig::hasKey(NAME_NXP_TP_MEASUREMENT)) { in phNxpEse_open()
187 tpm_enable = EseConfig::getUnsigned(NAME_NXP_TP_MEASUREMENT); in phNxpEse_open()
196 if (EseConfig::hasKey(NAME_NXP_POWER_SCHEME)) { in phNxpEse_open()
[all …]
/hardware/nxp/secure_element/snxxx/libese-spi/p73/pal/spi/
DEseSpiTransport.cpp191 if (EseConfig::hasKey(NAME_NXP_SOF_WRITE)) { in OpenAndConfigure()
192 mConfigSofWrite = EseConfig::getUnsigned(NAME_NXP_SOF_WRITE); in OpenAndConfigure()
196 if (EseConfig::hasKey(NAME_NXP_SPI_WRITE_TIMEOUT)) { in OpenAndConfigure()
197 mConfigSpiWriteTimeout = EseConfig::getUnsigned(NAME_NXP_SPI_WRITE_TIMEOUT); in OpenAndConfigure()
203 if (EseConfig::hasKey(NAME_NXP_P61_COLD_RESET_INTERFACE)) { in OpenAndConfigure()
205 EseConfig::getUnsigned(NAME_NXP_P61_COLD_RESET_INTERFACE); in OpenAndConfigure()
/hardware/nxp/secure_element/pn8x/libese-spi/p73/pal/spi/
DphNxpEsePal_spi.cpp134 if (EseConfig::hasKey(NAME_NXP_SOF_WRITE)) { in phPalEse_spi_open_and_configure()
135 configNum1 = EseConfig::getUnsigned(NAME_NXP_SOF_WRITE); in phPalEse_spi_open_and_configure()
140 if (EseConfig::hasKey(NAME_NXP_SPI_WRITE_TIMEOUT)) { in phPalEse_spi_open_and_configure()
141 configNum2 = EseConfig::getUnsigned(NAME_NXP_SPI_WRITE_TIMEOUT); in phPalEse_spi_open_and_configure()
/hardware/st/secure_element/ese-spi-driver/
DStEseApi.cc87 ese_node = EseConfig::getString(NAME_ST_ESE_DEV_NODE, "/dev/st54j"); in StEse_init()
93 EseConfig::getUnsigned(NAME_ST_ESE_DEV_POLLING_INTERVAL, 1000); in StEse_init()
94 BGT_confvalue = EseConfig::getUnsigned(NAME_ST_ESE_DEV_BGT, 1000); in StEse_init()
/hardware/nxp/secure_element/snxxx/libese-spi/p73/pal/
DphNxpEsePal.cpp112 transportType = EseConfig::getUnsigned(NAME_NXP_TRANSPORT, UNKNOWN); in phPalEse_ConfigTransport()
/hardware/nxp/secure_element/snxxx/1.2/OsuHal/src/
DOsuHalExtn.cpp271 return EseConfig::getUnsigned(NAME_NXP_OSU_MAX_WTX_COUNT, in getOSUMaxWtxCount()