/base/telephony/call_manager/services/call/call_state_observer/src/ |
H A D | call_records_handler.cpp | 40 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 D | call_records_manager.cpp | 141 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 D | call_manager_info.h | 297 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 D | call_number_utils.cpp | 290 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 D | number_identity_data_base_helper.cpp | 57 bool NumberIdentityDataBaseHelper::Query(std::string &numberLocation, DataShare::DataSharePredicates &predicates) in Query() argument 85 resultSet->GetString(columnIndex, numberLocation); in Query()
|
H A D | call_manager_utils.cpp | 45 messageParcel.WriteCString(info.numberLocation); in WriteCallAttributeInfo()
|
/base/telephony/call_manager/utils/include/ |
H A D | number_identity_data_base_helper.h | 35 bool Query(std::string &numberLocation, DataShare::DataSharePredicates &predicates);
|
H A D | call_number_utils.h | 52 int32_t QueryNumberLocationInfo(std::string &numberLocation, std::string accountNumber);
|
/base/telephony/call_manager/services/call/call_state_observer/include/ |
H A D | call_records_handler.h | 41 const CallRecordInfo &info, std::string displayName, std::string numberLocation);
|
/base/telephony/call_manager/services/call/src/ |
H A D | call_base.cpp | 159 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 D | call_voice_assistant_manager.cpp | 273 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 D | native_call_manager_utils.cpp | 52 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 D | call_base.h | 125 void SetNumberLocation(std::string numberLocation);
|
/base/telephony/call_manager/services/call_voice_assistant/include/ |
H A D | call_voice_assistant_manager.h | 40 std::string numberLocation = "";
member
|
/base/telephony/call_manager/test/unittest/call_manager_zero_gtest/src/ |
H A D | zero_branch1_test.cpp | 454 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 D | napi_call_ability_callback.cpp | 588 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()
|