/base/telephony/core_service/services/network_search/src/ |
H A D | nr_ssb_info.cpp | 50 std::shared_ptr<NrCellSsbIds> nrCellSsbIds = event->GetSharedObject<NrCellSsbIds>(); in ProcessGetNrSsbId() local 51 if (nrCellSsbIds == nullptr) { in ProcessGetNrSsbId() 56 if (!UpdateNrSsbIdInfo(slotId_, nrCellSsbIds)) { in ProcessGetNrSsbId() 63 bool NrSsbInfo::UpdateNrSsbIdInfo(int32_t slotId, std::shared_ptr<NrCellSsbIds> nrCellSsbIds) in UpdateNrSsbIdInfo() argument 65 if (nrCellSsbIds == nullptr || nrCellSsbIdsInfo_ == nullptr) { in UpdateNrSsbIdInfo() 66 TELEPHONY_LOGE("nrCellSsbIds or nrCellSsbIdsInfo_ is nullptr"); in UpdateNrSsbIdInfo() 69 if (nrCellSsbIds->nbCellCount > NrSsbInformation::MAX_NBCELL_COUNT) { in UpdateNrSsbIdInfo() 70 TELEPHONY_LOGE("nbCellCount:%{public}d > MAX_NBCELL_COUNT", nrCellSsbIds->nbCellCount); in UpdateNrSsbIdInfo() 73 nrCellSsbIdsInfo_->arfcn = nrCellSsbIds->arfcn; in UpdateNrSsbIdInfo() 74 nrCellSsbIdsInfo_->cid = nrCellSsbIds in UpdateNrSsbIdInfo() [all...] |
/base/telephony/core_service/services/network_search/include/ |
H A D | nr_ssb_info.h | 34 bool UpdateNrSsbIdInfo(int32_t slotId, std::shared_ptr<NrCellSsbIds> nrCellSsbIds);
|
/base/telephony/ril_adapter/services/hril/src/ |
H A D | hril_network.cpp | 618 HDI::Ril::V1_2::NrCellSsbIds nrCellSsbIds; in GetNrSsbIdResponse() local 625 nrCellSsbIds.arfcn = 0; in GetNrSsbIdResponse() 626 nrCellSsbIds.cid = 0; in GetNrSsbIdResponse() 627 nrCellSsbIds.pic = 0; in GetNrSsbIdResponse() 628 nrCellSsbIds.rsrp = 0; in GetNrSsbIdResponse() 629 nrCellSsbIds.sinr = 0; in GetNrSsbIdResponse() 630 nrCellSsbIds.timeAdvance = 0; in GetNrSsbIdResponse() 631 nrCellSsbIds.sCellSsbList.clear(); in GetNrSsbIdResponse() 632 nrCellSsbIds.nbCellCount = 0; in GetNrSsbIdResponse() 633 nrCellSsbIds in GetNrSsbIdResponse() 1414 BuildNrCellSsbIdsInfo(HDI::Ril::V1_2::NrCellSsbIds &nrCellSsbIds, const void *response, size_t responseLen) BuildNrCellSsbIdsInfo() argument [all...] |
/base/telephony/core_service/services/tel_ril/src/ |
H A D | tel_ril_network.cpp | 396 const HDI::Ril::V1_1::RilRadioResponseInfo &responseInfo, const HDI::Ril::V1_2::NrCellSsbIds &nrCellSsbIds) in GetNrSsbIdResponse() 403 nrCellSsbIdsInfo->arfcn = nrCellSsbIds.arfcn; in GetNrSsbIdResponse() 404 nrCellSsbIdsInfo->cid = nrCellSsbIds.cid; in GetNrSsbIdResponse() 405 nrCellSsbIdsInfo->pic = nrCellSsbIds.pic; in GetNrSsbIdResponse() 406 nrCellSsbIdsInfo->rsrp = nrCellSsbIds.rsrp; in GetNrSsbIdResponse() 407 nrCellSsbIdsInfo->sinr = nrCellSsbIds.sinr; in GetNrSsbIdResponse() 408 nrCellSsbIdsInfo->timeAdvance = nrCellSsbIds.timeAdvance; in GetNrSsbIdResponse() 409 nrCellSsbIdsInfo->nbCellCount = nrCellSsbIds.nbCellCount; in GetNrSsbIdResponse() 410 for (const auto &info : nrCellSsbIds.sCellSsbList) { in GetNrSsbIdResponse() 420 neighboringCellSsbInfo.pci = nrCellSsbIds in GetNrSsbIdResponse() 395 GetNrSsbIdResponse( const HDI::Ril::V1_1::RilRadioResponseInfo &responseInfo, const HDI::Ril::V1_2::NrCellSsbIds &nrCellSsbIds) GetNrSsbIdResponse() argument [all...] |
H A D | tel_ril_callback.cpp | 794 const HDI::Ril::V1_1::RilRadioResponseInfo &responseInfo, const HDI::Ril::V1_2::NrCellSsbIds &nrCellSsbIds) in GetNrSsbIdResponse() 797 nrCellSsbIds); in GetNrSsbIdResponse() 793 GetNrSsbIdResponse( const HDI::Ril::V1_1::RilRadioResponseInfo &responseInfo, const HDI::Ril::V1_2::NrCellSsbIds &nrCellSsbIds) GetNrSsbIdResponse() argument
|
/base/telephony/ril_adapter/test/unittest/ |
H A D | ril_callback_test.cpp | 887 const HDI::Ril::V1_2::NrCellSsbIds &nrCellSsbIds)
in GetNrSsbIdResponse() 890 cout << "nrCellSsbIds rsrp: " << nrCellSsbIds.rsrp << endl;
in GetNrSsbIdResponse() 891 cout << "nrCellSsbIds sinr: " << nrCellSsbIds.sinr << endl;
in GetNrSsbIdResponse() 892 cout << "nrCellSsbIds nbCellCount: " << nrCellSsbIds.nbCellCount << endl;
in GetNrSsbIdResponse() 886 GetNrSsbIdResponse(const HDI::Ril::V1_1::RilRadioResponseInfo &responseInfo, const HDI::Ril::V1_2::NrCellSsbIds &nrCellSsbIds) GetNrSsbIdResponse() argument
|
/base/telephony/ril_adapter/test/unittest/ril_adapter_gtest/ |
H A D | ril_callback_test.cpp | 984 const HDI::Ril::V1_2::NrCellSsbIds &nrCellSsbIds) in GetNrSsbIdResponse() 986 TELEPHONY_LOGI("GetNrSsbIdResponse rsrp:%{public}d", nrCellSsbIds.rsrp); in GetNrSsbIdResponse() 987 TELEPHONY_LOGI("GetNrSsbIdResponse sinr:%{public}d", nrCellSsbIds.sinr); in GetNrSsbIdResponse() 988 TELEPHONY_LOGI("GetNrSsbIdResponse nbCellCount:%{public}d", nrCellSsbIds.nbCellCount); in GetNrSsbIdResponse() 983 GetNrSsbIdResponse(const HDI::Ril::V1_1::RilRadioResponseInfo &responseInfo, const HDI::Ril::V1_2::NrCellSsbIds &nrCellSsbIds) GetNrSsbIdResponse() argument
|
/base/telephony/core_service/services/tel_ril/include/ |
H A D | tel_ril_network.h | 102 const HDI::Ril::V1_2::NrCellSsbIds &nrCellSsbIds);
|
H A D | tel_ril_callback.h | 247 const HDI::Ril::V1_2::NrCellSsbIds &nrCellSsbIds) override;
|
/base/telephony/ril_adapter/services/hril/include/ |
H A D | hril_network.h | 150 int32_t BuildNrCellSsbIdsInfo(HDI::Ril::V1_2::NrCellSsbIds &nrCellSsbIds, const void *response, size_t responseLen);
|
/base/telephony/ril_adapter/test/unittest/include/ |
H A D | ril_callback_test.h | 253 const HDI::Ril::V1_2::NrCellSsbIds &nrCellSsbIds) override;
|
/base/telephony/ril_adapter/test/unittest/ril_adapter_gtest/include/ |
H A D | ril_callback_test.h | 471 const HDI::Ril::V1_2::NrCellSsbIds &nrCellSsbIds) override;
|
/base/telephony/core_service/test/unittest/core_service_gtest/ |
H A D | zero_branch_test.cpp | 3343 std::shared_ptr<NrCellSsbIds> nrCellSsbIds = std::make_shared<NrCellSsbIds>(); in HWTEST_F() local 3345 EXPECT_FALSE(nrSsbInfo->UpdateNrSsbIdInfo(SLOT_ID_0, nrCellSsbIds)); in HWTEST_F() 3348 EXPECT_TRUE(nrSsbInfo->UpdateNrSsbIdInfo(SLOT_ID_0, nrCellSsbIds)); in HWTEST_F() 3350 nrCellSsbIds->nbCellCount = 5; in HWTEST_F() 3351 EXPECT_FALSE(nrSsbInfo->UpdateNrSsbIdInfo(SLOT_ID_0, nrCellSsbIds)); in HWTEST_F()
|