Home
last modified time | relevance | path

Searched refs:CallNumberUtils (Results 1 - 13 of 13) sorted by relevance

/base/telephony/call_manager/utils/src/
H A Dcall_number_utils.cpp33 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 Dcall_setting_manager.cpp254 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 Dcall_number_utils.h28 class CallNumberUtils { class
29 DECLARE_DELAYED_SINGLETON(CallNumberUtils)
/base/telephony/call_manager/services/spam_call/src/
H A Dcallback_stub_helper.cpp50 DelayedSingleton<CallNumberUtils>::GetInstance()-> in OnResult()
/base/telephony/call_manager/test/unittest/call_manager_zero_gtest/src/
H A Dzero_branch1_test.cpp420 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 Dcall_records_manager.cpp183 (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 Dcall_records_handler.cpp103 DelayedSingleton<CallNumberUtils>::GetInstance()->QueryNumberLocationInfo(str, std::string(info.phoneNumber)); in CheckNumberLocationInfo()
H A Dcall_data_base_helper.cpp317 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 Dcall_policy.cpp46 if (!DelayedSingleton<CallNumberUtils>::GetInstance()->SelectAccountId(accountId, extras)) { in DialPolicy()
367 bool result = DelayedSingleton<CallNumberUtils>::GetInstance()->IsValidSlotId(slotId); in IsValidSlotId()
H A Dcall_request_process.cpp59 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 Dcall_object_manager.cpp170 DelayedSingleton<CallNumberUtils>::GetInstance()->RemovePostDialPhoneNumber((*it)->GetAccountNumber()); in GetOneCallObject()
376 DelayedSingleton<CallNumberUtils>::GetInstance()->RemovePostDialPhoneNumber((*it)->GetAccountNumber()); in IsCallExist()
H A Dcall_status_manager.cpp189 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 Dcall_control_manager.cpp131 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