Searched refs:CharToBCD (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/base/telephony/core_service/services/sim/src/ |
H A D | sim_number_decode.cpp | 74 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 D | isvalidnumberstring_fuzzer.cpp | 51 simNumberDecode->CharToBCD(argument, result, bcdExtType); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/telephony/core_service/services/sim/include/ |
H A D | sim_number_decode.h | 51 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 D | zero_branch_test_sim_ril.cpp | 1026 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 D | zero_branch_test.cpp | 2875 EXPECT_TRUE(simNumberDecode->CharToBCD(spnData, result, 1)); 2877 EXPECT_FALSE(simNumberDecode->CharToBCD(spnData, result, BYTES_LENGTH));
|