Searched refs:vcardType (Results 1 - 5 of 5) sorted by relevance
/base/telephony/core_service/utils/vcard/src/ |
H A D | vcard_configuration.cpp | 26 bool VCardConfiguration::IsVer21(const int32_t vcardType) in IsVer21() argument 28 return (static_cast<uint32_t>(vcardType) & VER_FLAG) == VER_21; in IsVer21() 31 bool VCardConfiguration::IsVer30(const int32_t vcardType) in IsVer30() argument 33 return (static_cast<uint32_t>(vcardType) & VER_FLAG) == VER_30; in IsVer30() 36 bool VCardConfiguration::IsVer40(const int32_t vcardType) in IsVer40() argument 38 return (static_cast<uint32_t>(vcardType) & VER_FLAG) == VER_40; in IsVer40() 41 bool VCardConfiguration::RefrainPhoneNumberFormatting(const int32_t vcardType) in RefrainPhoneNumberFormatting() argument 43 return ((static_cast<uint32_t>(vcardType) & FLAG_REFRAIN_PHONE_NUMBER_FORMATTING) != 0); in RefrainPhoneNumberFormatting() 46 bool VCardConfiguration::IsJapaneseDevice(const int32_t vcardType) in IsJapaneseDevice() argument 49 if (std::find(sJapaneseMobileTypeList.begin(), sJapaneseMobileTypeList.end(), vcardType) ! in IsJapaneseDevice() [all...] |
H A D | vcard_utils.cpp | 351 std::string VCardUtils::HandleCh(char nextCh, std::string vcardType) in HandleCh() argument 354 if (vcardType == VERSION_40) { in HandleCh() 360 } else if (vcardType == VERSION_30) { in HandleCh() 376 std::vector<std::string> VCardUtils::ConstructListFromValue(const std::string &value, std::string vcardType) in ConstructListFromValue() argument 385 std::string unescapedString = HandleCh(nextCh, vcardType); in ConstructListFromValue() 483 int32_t VCardUtils::VcardtypeToInt(const std::string &vcardType) in VcardtypeToInt() argument 485 if (vcardType == VERSION_21) { in VcardtypeToInt() 487 } else if (vcardType == VERSION_30) { in VcardtypeToInt() 489 } else if (vcardType == VERSION_40) { in VcardtypeToInt() 500 int32_t VCardUtils::GetPhoneNumberFormat(const int32_t vcardType) in GetPhoneNumberFormat() argument [all...] |
/base/telephony/core_service/utils/vcard/include/ |
H A D | vcard_configuration.h | 43 static bool IsVer21(int32_t vcardType); 44 static bool IsVer30(int32_t vcardType); 45 static bool IsVer40(int32_t vcardType); 46 static bool RefrainPhoneNumberFormatting(const int32_t vcardType); 47 static bool IsJapaneseDevice(const int32_t vcardType);
|
H A D | vcard_utils.h | 50 static std::vector<std::string> ConstructListFromValue(const std::string &value, std::string vcardType); 53 static int32_t VcardtypeToInt(const std::string &vcardType); 55 static int32_t GetPhoneNumberFormat(const int32_t vcardType); 58 static std::string HandleCh(char nextCh, std::string vcardType);
|
/base/telephony/core_service/test/unittest/utils_vcard_gtest/ |
H A D | contact_data_test.cpp | 671 std::string vcardType = VERSION_40; in HWTEST_F() local 673 std::string actual = VCardUtils::HandleCh(nextCh, vcardType); in HWTEST_F() 680 std::string vcardType = VERSION_40; in HWTEST_F() local 682 std::string actual = VCardUtils::HandleCh(nextCh, vcardType); in HWTEST_F() 689 std::string vcardType = VERSION_30; in HWTEST_F() local 691 std::string actual = VCardUtils::HandleCh(nextCh, vcardType); in HWTEST_F() 698 std::string vcardType = VERSION_30; in HWTEST_F() local 700 std::string actual = VCardUtils::HandleCh(nextCh, vcardType); in HWTEST_F() 707 std::string vcardType = "VERSION_21"; in HWTEST_F() local 709 std::string actual = VCardUtils::HandleCh(nextCh, vcardType); in HWTEST_F() 716 std::string vcardType = "VERSION_21"; HWTEST_F() local 725 std::string vcardType = "VERSION_21"; HWTEST_F() local 734 std::string vcardType = "VERSION_21"; HWTEST_F() local 743 std::string vcardType = "VERSION_21"; HWTEST_F() local 752 std::string vcardType = "VCARD"; HWTEST_F() local 761 std::string vcardType = "VCARD"; HWTEST_F() local 770 std::string vcardType = "VCARD"; HWTEST_F() local 779 std::string vcardType = "VCARD"; HWTEST_F() local 788 std::string vcardType = "VCARD"; HWTEST_F() local [all...] |
Completed in 4 milliseconds