Home
last modified time | relevance | path

Searched refs:CharToBCD (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/base/telephony/core_service/services/sim/src/
H A Dsim_number_decode.cpp74 bool SimNumberDecode::CharToBCD(const char c, uint8_t &result, const int bcdExtType) in CharToBCD() function in OHOS::Telephony::SimNumberDecode
138 if (!CharToBCD(num, code, bcdExtType)) { in NumberConvertToBCD()
/ohos5.0/base/telephony/core_service/test/fuzztest/isvalidnumberstring_fuzzer/
H A Disvalidnumberstring_fuzzer.cpp51 simNumberDecode->CharToBCD(argument, result, bcdExtType); in DoSomethingInterestingWithMyAPI()
/ohos5.0/base/telephony/core_service/services/sim/include/
H A Dsim_number_decode.h51 static bool CharToBCD(const char c, uint8_t &result, const int bcdExtType);
/ohos5.0/base/telephony/core_service/test/unittest/core_service_gtest/
H A Dzero_branch_test_sim_ril.cpp1026 EXPECT_TRUE(simNumberDecode->CharToBCD('0', result, 0));
1030 EXPECT_FALSE(simNumberDecode->CharToBCD('a', result, 0));
1033 EXPECT_FALSE(simNumberDecode->CharToBCD('a', result, SimNumberDecode::BCD_TYPE_ADN));
1036 EXPECT_TRUE(simNumberDecode->CharToBCD('a', result, SimNumberDecode::BCD_TYPE_CALLER));
H A Dzero_branch_test.cpp2875 EXPECT_TRUE(simNumberDecode->CharToBCD(spnData, result, 1));
2877 EXPECT_FALSE(simNumberDecode->CharToBCD(spnData, result, BYTES_LENGTH));