Home
last modified time | relevance | path

Searched refs:numberLocation (Results 1 - 16 of 16) sorted by relevance

/base/telephony/call_manager/services/call/call_state_observer/src/
H A Dcall_records_handler.cpp40 std::string numberLocation = CheckNumberLocationInfo(info); in AddCallLogInfo() local
48 MakeCallLogInsertBucket(bucket, info, displayName, numberLocation); in AddCallLogInfo()
72 const CallRecordInfo &info, std::string displayName, std::string numberLocation) in MakeCallLogInsertBucket()
91 bucket.Put(CALL_NUMBER_LOCATION, numberLocation); in MakeCallLogInsertBucket()
99 std::string str(info.numberLocation); in CheckNumberLocationInfo()
71 MakeCallLogInsertBucket(DataShare::DataShareValuesBucket &bucket, const CallRecordInfo &info, std::string displayName, std::string numberLocation) MakeCallLogInsertBucket() argument
H A Dcall_records_manager.cpp141 if (strlen(info.numberLocation) > static_cast<size_t>(kMaxNumberLen)) { in AddOneCallRecord()
145 result = memcpy_s(data.numberLocation, kMaxNumberLen, info.numberLocation, strlen(info.numberLocation)); in AddOneCallRecord()
/base/telephony/call_manager/interfaces/innerkits/
H A Dcall_manager_info.h297 char numberLocation[kMaxNumberLen + 1] = { 0 }; member
343 char numberLocation[kMaxNumberLen + 1] = { 0 }; member
421 std::copy(std::begin(temp.numberLocation), std::end(temp.numberLocation), in operator =()
422 std::begin(numberLocation)); in operator =()
/base/telephony/call_manager/utils/src/
H A Dcall_number_utils.cpp290 int32_t CallNumberUtils::QueryNumberLocationInfo(std::string &numberLocation, std::string accountNumber) in QueryNumberLocationInfo() argument
308 bool ret = callDataPtr->Query(numberLocation, predicates); in QueryNumberLocationInfo()
321 std::string numberLocation = callObjectPtr->GetNumberLocation(); in NumberLocationUpdate() local
322 int32_t ret = QueryNumberLocationInfo(numberLocation, callObjectPtr->GetAccountNumber()); in NumberLocationUpdate()
334 call->SetNumberLocation(numberLocation); in NumberLocationUpdate()
339 if (numberLocation != "" && numberLocation != "default") { in NumberLocationUpdate()
340 TELEPHONY_LOGI("need report call info of numberLocation"); in NumberLocationUpdate()
H A Dnumber_identity_data_base_helper.cpp57 bool NumberIdentityDataBaseHelper::Query(std::string &numberLocation, DataShare::DataSharePredicates &predicates) in Query() argument
85 resultSet->GetString(columnIndex, numberLocation); in Query()
H A Dcall_manager_utils.cpp45 messageParcel.WriteCString(info.numberLocation); in WriteCallAttributeInfo()
/base/telephony/call_manager/utils/include/
H A Dnumber_identity_data_base_helper.h35 bool Query(std::string &numberLocation, DataShare::DataSharePredicates &predicates);
H A Dcall_number_utils.h52 int32_t QueryNumberLocationInfo(std::string &numberLocation, std::string accountNumber);
/base/telephony/call_manager/services/call/call_state_observer/include/
H A Dcall_records_handler.h41 const CallRecordInfo &info, std::string displayName, std::string numberLocation);
/base/telephony/call_manager/services/call/src/
H A Dcall_base.cpp159 if (memset_s(info.numberLocation, kMaxNumberLen, 0, kMaxNumberLen) != EOK) { in GetCallAttributeBaseInfo()
160 TELEPHONY_LOGE("memset_s numberLocation fail"); in GetCallAttributeBaseInfo()
163 if (memcpy_s(info.numberLocation, kMaxNumberLen, numberLocation_.c_str(), numberLocation_.length()) != EOK) { in GetCallAttributeBaseInfo()
164 TELEPHONY_LOGE("memcpy_s numberLocation fail"); in GetCallAttributeBaseInfo()
427 void CallBase::SetNumberLocation(std::string numberLocation) in SetNumberLocation() argument
429 CallVoiceAssistantManager::GetInstance()->UpdateNumberLocation(numberLocation, callId_); in SetNumberLocation()
431 numberLocation_ = numberLocation; in SetNumberLocation()
/base/telephony/call_manager/services/call_voice_assistant/src/
H A Dcall_voice_assistant_manager.cpp273 nowInfo->numberLocation = location; in UpdateNumberLocation()
346 if (!info->isQueryComplete || info->dialOrCome == DEFAULT_STRING || info->numberLocation == "default") { in SendRequest()
414 fun("location", nowInfo->numberLocation, false, true); in GetSendString()
508 info->numberLocation = info->call->GetNumberLocation(); in CallStatusIncoming()
530 info->numberLocation = DIALING; in CallStatusDialing()
/base/telephony/call_manager/frameworks/native/src/
H A Dnative_call_manager_utils.cpp52 if (strncpy_s(info.numberLocation, kMaxNumberLen + 1, messageParcel.ReadCString(), kMaxNumberLen + 1) != EOK) { in ReadCallAttributeInfo()
53 TELEPHONY_LOGE("strncpy_s numberLocation failed"); in ReadCallAttributeInfo()
/base/telephony/call_manager/services/call/include/
H A Dcall_base.h125 void SetNumberLocation(std::string numberLocation);
/base/telephony/call_manager/services/call_voice_assistant/include/
H A Dcall_voice_assistant_manager.h40 std::string numberLocation = ""; member
/base/telephony/call_manager/test/unittest/call_manager_zero_gtest/src/
H A Dzero_branch1_test.cpp454 std::string numberLocation = ""; in HWTEST_F() local
455 EXPECT_NE(DelayedSingleton<CallNumberUtils>::GetInstance()->QueryNumberLocationInfo(numberLocation, emptyStr), in HWTEST_F()
464 QueryNumberLocationInfo(numberLocation, phoneNumber), TELEPHONY_ERR_SUCCESS); in HWTEST_F()
468 QueryNumberLocationInfo(numberLocation, phoneNumber), TELEPHONY_ERR_SUCCESS); in HWTEST_F()
/base/telephony/call_manager/frameworks/js/napi/src/
H A Dnapi_call_ability_callback.cpp588 std::string str(info.numberLocation); in ReportCallAttribute()
590 TELEPHONY_LOGE("numberLocation is default"); in ReportCallAttribute()
591 (void)memset_s(info.numberLocation, kMaxNumberLen, 0, kMaxNumberLen); in ReportCallAttribute()
594 env, callbackValues[ARRAY_INDEX_FIRST], "numberLocation", info.numberLocation); in ReportCallAttribute()

Completed in 14 milliseconds