Home
last modified time | relevance | path

Searched refs:BcdToChar (Results 1 - 7 of 7) sorted by relevance

/base/telephony/sms_mms/services/sms/include/gsm/
H A Dgsm_sms_common_utils.h38 char BcdToChar(const uint8_t b);
/base/telephony/sms_mms/services/sms/gsm/
H A Dgsm_sms_common_utils.cpp250 digit.push_back(BcdToChar(temp)); in BcdToDigit()
255 digit.push_back(BcdToChar(temp)); in BcdToDigit()
260 char GsmSmsCommonUtils::BcdToChar(const uint8_t b) in BcdToChar() function in OHOS::Telephony::GsmSmsCommonUtils
/base/telephony/core_service/services/sim/src/
H A Dsim_number_decode.cpp95 bool SimNumberDecode::BcdToChar(const uint8_t bcdCode, char &result, const int bcdExtType) in BcdToChar() function in OHOS::Telephony::SimNumberDecode
184 if (!BcdToChar(loFourBit, c, bcdExtType)) { in BCDSectionConvertToString()
186 "occur error in BcdToChar(bcd:'%{public}d',bcdExtType:'%{public}d')", loFourBit, bcdExtType); in BCDSectionConvertToString()
194 if (!BcdToChar(hiFourBit, c, bcdExtType)) { in BCDSectionConvertToString()
196 "occur error in BcdToChar(bcd:'%{public}d',bcdExtType:'%{public}d')", loFourBit, bcdExtType); in BCDSectionConvertToString()
/base/telephony/core_service/test/fuzztest/isvalidnumberstring_fuzzer/
H A Disvalidnumberstring_fuzzer.cpp53 simNumberDecode->BcdToChar(result, argument, bcdExtType); in DoSomethingInterestingWithMyAPI()
/base/telephony/core_service/services/sim/include/
H A Dsim_number_decode.h56 static bool BcdToChar(const uint8_t bcdCode, char &result, const int bcdExtType);
/base/telephony/core_service/test/unittest/core_service_gtest/
H A Dzero_branch_test_sim_ril.cpp1096 EXPECT_TRUE(simNumberDecode->BcdToChar(bcdCode, result, 0)); in HWTEST_F()
1101 EXPECT_FALSE(simNumberDecode->BcdToChar(bcdCode, result, 0)); in HWTEST_F()
1104 EXPECT_TRUE(simNumberDecode->BcdToChar(bcdCode, result, SimNumberDecode::BCD_TYPE_ADN)); in HWTEST_F()
1108 EXPECT_FALSE(simNumberDecode->BcdToChar(bcdCode, result, SimNumberDecode::BCD_TYPE_CALLER)); in HWTEST_F()
1112 EXPECT_TRUE(simNumberDecode->BcdToChar(bcdCode, result, SimNumberDecode::BCD_TYPE_CALLER)); in HWTEST_F()
H A Dzero_branch_test.cpp2874 EXPECT_TRUE(simNumberDecode->BcdToChar(1, spnData, 1)); in HWTEST_F()
2875 EXPECT_FALSE(simNumberDecode->BcdToChar(VALUE_LENGTH, spnData, BYTES_LENGTH)); in HWTEST_F()
2876 EXPECT_FALSE(simNumberDecode->BcdToChar(VALUE_LENGTH, spnData, 1)); in HWTEST_F()

Completed in 13 milliseconds