Searched refs:CallNumberUtils (Results 1 - 13 of 13) sorted by relevance
/base/telephony/call_manager/utils/src/ |
H A D | call_number_utils.cpp | 33 CallNumberUtils::CallNumberUtils() {} in CallNumberUtils() function in OHOS::Telephony::CallNumberUtils 35 CallNumberUtils::~CallNumberUtils() {} in ~CallNumberUtils() 37 int32_t CallNumberUtils::FormatPhoneNumber( in FormatPhoneNumber() 64 int32_t CallNumberUtils::FormatPhoneNumberToE164( in FormatPhoneNumberToE164() 70 int32_t CallNumberUtils::FormatPhoneNumberToNational( in FormatPhoneNumberToNational() 79 int32_t CallNumberUtils::FormatPhoneNumberToInternational( in FormatPhoneNumberToInternational() 88 int32_t CallNumberUtils::FormatNumberBase(const std::string phoneNumber, std::string countryCode, in FormatNumberBase() 109 int32_t CallNumberUtils [all...] |
/base/telephony/call_manager/services/call_setting/src/ |
H A D | call_setting_manager.cpp | 254 if (!DelayedSingleton<CallNumberUtils>::GetInstance()->IsValidSlotId(slotId)) { in CallWaitingPolicy() 263 if (!DelayedSingleton<CallNumberUtils>::GetInstance()->IsValidSlotId(slotId)) { in GetCallRestrictionPolicy() 277 if (!DelayedSingleton<CallNumberUtils>::GetInstance()->IsValidSlotId(slotId)) { in SetCallRestrictionPolicy() 296 if (!DelayedSingleton<CallNumberUtils>::GetInstance()->IsValidSlotId(slotId)) { in GetCallTransferInfoPolicy() 310 if (!DelayedSingleton<CallNumberUtils>::GetInstance()->IsValidSlotId(slotId)) { in SetCallTransferInfoPolicy() 342 if (!DelayedSingleton<CallNumberUtils>::GetInstance()->IsValidSlotId(slotId)) { in CloseUnFinishedUssdPolicy()
|
/base/telephony/call_manager/utils/include/ |
H A D | call_number_utils.h | 28 class CallNumberUtils { class 29 DECLARE_DELAYED_SINGLETON(CallNumberUtils)
|
/base/telephony/call_manager/services/spam_call/src/ |
H A D | callback_stub_helper.cpp | 50 DelayedSingleton<CallNumberUtils>::GetInstance()-> in OnResult()
|
/base/telephony/call_manager/test/unittest/call_manager_zero_gtest/src/ |
H A D | zero_branch1_test.cpp | 420 ASSERT_NE(DelayedSingleton<CallNumberUtils>::GetInstance()->FormatPhoneNumber(emptyStr, emptyStr, formatNumber), in HWTEST_F() 422 EXPECT_EQ(DelayedSingleton<CallNumberUtils>::GetInstance()->FormatPhoneNumber(phoneNumber, emptyStr, formatNumber), in HWTEST_F() 425 DelayedSingleton<CallNumberUtils>::GetInstance()->FormatPhoneNumber(phoneNumber, countryCode, formatNumber), in HWTEST_F() 428 DelayedSingleton<CallNumberUtils>::GetInstance()->FormatPhoneNumberToE164(emptyStr, emptyStr, formatNumber), in HWTEST_F() 431 DelayedSingleton<CallNumberUtils>::GetInstance()->FormatPhoneNumberToE164(phoneNumber, emptyStr, formatNumber), in HWTEST_F() 433 EXPECT_EQ(DelayedSingleton<CallNumberUtils>::GetInstance()->FormatPhoneNumberToE164( in HWTEST_F() 435 ASSERT_NE(DelayedSingleton<CallNumberUtils>::GetInstance()->FormatPhoneNumberToNational( in HWTEST_F() 437 ASSERT_NE(DelayedSingleton<CallNumberUtils>::GetInstance()->FormatPhoneNumberToInternational( in HWTEST_F() 439 ASSERT_FALSE(DelayedSingleton<CallNumberUtils>::GetInstance()->IsValidSlotId(INVALID_SLOTID)); in HWTEST_F() 440 ASSERT_TRUE(DelayedSingleton<CallNumberUtils> in HWTEST_F() [all...] |
/base/telephony/call_manager/services/call/call_state_observer/src/ |
H A D | call_records_manager.cpp | 183 (void)DelayedSingleton<CallNumberUtils>::GetInstance()->FormatPhoneNumberAsYouType( in CopyFormatNumberToRecord() 186 (void)DelayedSingleton<CallNumberUtils>::GetInstance()->FormatPhoneNumber( in CopyFormatNumberToRecord() 205 (void)DelayedSingleton<CallNumberUtils>::GetInstance()->FormatPhoneNumberToE164( in CopyFormatNumberToE164ToRecord()
|
H A D | call_records_handler.cpp | 103 DelayedSingleton<CallNumberUtils>::GetInstance()->QueryNumberLocationInfo(str, std::string(info.phoneNumber)); in CheckNumberLocationInfo()
|
H A D | call_data_base_helper.cpp | 317 int32_t ret = DelayedSingleton<CallNumberUtils>::GetInstance()->FormatPhoneNumberToNational( in QueryIsBlockPhoneNumber() 323 ret = DelayedSingleton<CallNumberUtils>::GetInstance()->FormatPhoneNumberToInternational( in QueryIsBlockPhoneNumber()
|
/base/telephony/call_manager/services/call/src/ |
H A D | call_policy.cpp | 46 if (!DelayedSingleton<CallNumberUtils>::GetInstance()->SelectAccountId(accountId, extras)) { in DialPolicy() 367 bool result = DelayedSingleton<CallNumberUtils>::GetInstance()->IsValidSlotId(slotId); in IsValidSlotId()
|
H A D | call_request_process.cpp | 59 DelayedSingleton<CallNumberUtils>::GetInstance()->CheckNumberIsEmergency(info.number, info.accountId, isEcc); in DialRequest() 814 DelayedSingleton<CallNumberUtils>::GetInstance()->RemoveSeparatorsPhoneNumber(info.number); in CarrierDialProcess() 823 bool isMMiCode = DelayedSingleton<CallNumberUtils>::GetInstance()->IsMMICode(newPhoneNum); in CarrierDialProcess() 914 DelayedSingleton<CallNumberUtils>::GetInstance()->CheckNumberIsEmergency(newPhoneNum, info.accountId, isEcc); in HandleEccCallForDsda()
|
H A D | call_object_manager.cpp | 170 DelayedSingleton<CallNumberUtils>::GetInstance()->RemovePostDialPhoneNumber((*it)->GetAccountNumber()); in GetOneCallObject() 376 DelayedSingleton<CallNumberUtils>::GetInstance()->RemovePostDialPhoneNumber((*it)->GetAccountNumber()); in IsCallExist()
|
H A D | call_status_manager.cpp | 189 if (!DelayedSingleton<CallNumberUtils>::GetInstance()->IsValidSlotId(curSlotId)) { in HandleCallsReportInfo() 1336 DelayedSingleton<CallNumberUtils>::GetInstance()->NumberLocationUpdate(callBasePtr); in CreateNewCall() 1340 DelayedSingleton<CallNumberUtils>::GetInstance()->YellowPageAndMarkUpdate(callBasePtr); in CreateNewCall() 1597 DelayedSingleton<CallNumberUtils>::GetInstance()->YellowPageAndMarkUpdate(call); in CreateAndSaveNewCall()
|
H A D | call_control_manager.cpp | 131 DelayedSingleton<CallNumberUtils>::GetInstance()->CheckNumberIsEmergency( in DialCall() 1183 return DelayedSingleton<CallNumberUtils>::GetInstance()->CheckNumberIsEmergency( in IsEmergencyPhoneNumber() 1191 int32_t ret = DelayedSingleton<CallNumberUtils>::GetInstance()->FormatPhoneNumber( in FormatPhoneNumber() 1201 int32_t ret = DelayedSingleton<CallNumberUtils>::GetInstance()->FormatPhoneNumberToE164( in FormatPhoneNumberToE164()
|
Completed in 19 milliseconds