Home
last modified time | relevance | path

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

/hardware/nxp/secure_element/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/nxp/secure_element/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/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()