Home
last modified time | relevance | path

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

/device/google/cuttlefish/host/commands/modem_simulator/
Dsim_service.cpp677 int numberLength = (record[footerOffset] - '0') * 16 + in IsFixedDialNumber() local
679 if (numberLength > kMaxNumberSizeBytes) { // Invalid number length in IsFixedDialNumber()
685 if (numberLength * 2 == 16) { // Skip Type(91) and Country Code(68) in IsFixedDialNumber()
686 bcd_fdn = record.substr(footerOffset + 6, numberLength * 2 - 4); in IsFixedDialNumber()
688 bcd_fdn = record.substr(footerOffset + 4, numberLength * 2 - 2); in IsFixedDialNumber()
729 int numberLength = (record[footerOffset] - '0') * 16 + in GetPhoneNumber() local
731 if (numberLength > kMaxNumberSizeBytes) { // Invalid number length in GetPhoneNumber()
736 if (numberLength * 2 == 16) { // Skip Type(91) and Country Code(68) in GetPhoneNumber()
737 bcd_number = record.substr(footerOffset + 6, numberLength * 2 - 4); in GetPhoneNumber()
739 bcd_number = record.substr(footerOffset + 4, numberLength * 2 - 2); in GetPhoneNumber()