Home
last modified time | relevance | path

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

/base/telephony/core_service/test/fuzztest/isvalidnumberstring_fuzzer/
Disvalidnumberstring_fuzzer.cpp43 std::vector<uint8_t> bcdCodes; in DoSomethingInterestingWithMyAPI() local
44 bcdCodes.push_back(result); in DoSomethingInterestingWithMyAPI()
49 simNumberDecode->NumberConvertToBCD(number, bcdCodes, includeLen, bcdExtType); in DoSomethingInterestingWithMyAPI()
/base/telephony/core_service/services/sim/src/
Dsim_number_decode.cpp123 …const std::string &number, std::vector<uint8_t> &bcdCodes, const bool includeLen, const int bcdExt… in NumberConvertToBCD() argument
135 bcdCodes.push_back(length); in NumberConvertToBCD()
137 bcdCodes.push_back(hasPlus ? FLAG_INTERNATIONAL : FLAG_UNKNOWN); in NumberConvertToBCD()
150 bcdCodes.back() |= (code << FOUR_BIT); in NumberConvertToBCD()
152 bcdCodes.push_back(code); in NumberConvertToBCD()
157 bcdCodes.back() |= HI_FOUR; in NumberConvertToBCD()
160 …berDecode::NumberConvertToBCD success end_B with result:'%{publci}s'", HexToStr(bcdCodes).c_str()); in NumberConvertToBCD()
Dicc_dialling_numbers_handler.cpp483 std::vector<uint8_t> bcdCodes; in FillNumberFiledForDiallingNumber() local
484 …if (!SimNumberDecode::NumberConvertToBCD(number, bcdCodes, false, SimNumberDecode::BCD_TYPE_ADN)) { in FillNumberFiledForDiallingNumber()
488 …_LOGI(" get result from SimNumberDecode::NumberConvertToBCD !! size:%{public}zu", bcdCodes.size()); in FillNumberFiledForDiallingNumber()
489 for (size_t i = 0; i < bcdCodes.size(); ++i) { in FillNumberFiledForDiallingNumber()
490 diallingNumberString[offSet + TON_NPI_NUMBER + i] = bcdCodes.at(i); in FillNumberFiledForDiallingNumber()
493 unsigned char value = (unsigned char)(bcdCodes.size()); in FillNumberFiledForDiallingNumber()
/base/telephony/core_service/services/sim/include/
Dsim_number_decode.h35 static bool NumberConvertToBCD(const std::string &number, std::vector<uint8_t> &bcdCodes,