Searched refs:maxCap (Results 1 - 3 of 3) sorted by relevance
/base/telephony/core_service/utils/common/src/ |
H A D | telephony_config.cpp | 45 std::string maxCap = system::GetParameter(MODEM_CAP, NULL_STRING); in IsCapabilitySupport() local 47 if (ConvertCharToInt(bcdValue, maxCap, bcdIndex) != VALID_VALUE) { in IsCapabilitySupport() 56 int32_t TelephonyConfig::ConvertCharToInt(uint32_t &retValue, const std::string &maxCap, uint32_t index) in ConvertCharToInt() argument 61 if (maxCap.length() > static_cast<size_t>(VALID_VALUE_LENGTH)) { in ConvertCharToInt() 65 size_t cpyLen = maxCap.length() + 1; in ConvertCharToInt() 66 if (strcpy_s(content, cpyLen, maxCap.c_str()) != EOK) { in ConvertCharToInt()
|
/base/telephony/core_service/test/unittest/core_service_gtest/ |
H A D | core_service_common_test.cpp | 378 std::string maxCap = "1234567890"; in HWTEST_F() local 380 int32_t result = telephonyConfig.ConvertCharToInt(retValue, maxCap, index); in HWTEST_F() 393 std::string maxCap = "12345678901"; in HWTEST_F() local 395 int32_t result = telephonyConfig.ConvertCharToInt(retValue, maxCap, index); in HWTEST_F() 408 std::string maxCap = "1234567890"; in HWTEST_F() local 410 int32_t result = telephonyConfig.ConvertCharToInt(retValue, maxCap, index); in HWTEST_F() 424 std::string maxCap = "abcdef"; in HWTEST_F() local 426 int32_t result = telephonyConfig.ConvertCharToInt(retValue, maxCap, index); in HWTEST_F() 440 std::string maxCap = "ABCDEF"; in HWTEST_F() local 442 int32_t result = telephonyConfig.ConvertCharToInt(retValue, maxCap, inde in HWTEST_F() 456 std::string maxCap = "!@#$%^&*()"; HWTEST_F() local [all...] |
/base/telephony/core_service/utils/common/include/ |
H A D | telephony_config.h | 33 int32_t ConvertCharToInt(uint32_t &retValue, const std::string &maxCap, uint32_t index);
|
Completed in 4 milliseconds