Home
last modified time | relevance | path

Searched refs:refInfo (Results 1 – 5 of 5) sorted by relevance

/base/location/services/location_gnss/gnss/source/
Dagnss_event_callback.cpp76 AGnssRefInfo refInfo; in RequestAgnssRefInfo() local
78 refInfo.type = HDI::Location::Agnss::V1_0::ANSS_REF_INFO_TYPE_CELLID; in RequestAgnssRefInfo()
81 JudgmentDataGsm(refInfo, infoItem); in RequestAgnssRefInfo()
85 JudgmentDataLte(refInfo, infoItem); in RequestAgnssRefInfo()
91 JudgmentDataUmts(refInfo, infoItem); in RequestAgnssRefInfo()
95 JudgmentDataNr(refInfo, infoItem); in RequestAgnssRefInfo()
106 gnssAbility.get()->SetRefInfo(refInfo); in RequestAgnssRefInfo()
113 void AGnssEventCallback::JudgmentDataGsm(AGnssRefInfo& refInfo, sptr<CellInformation> infoItem) in JudgmentDataGsm() argument
117 refInfo.cellId.type = HDI::Location::Agnss::V1_0::CELLID_TYPE_GSM; in JudgmentDataGsm()
118 refInfo.cellId.mcc = static_cast<unsigned short>(std::stoi(gsmCellInfo->GetMcc())); in JudgmentDataGsm()
[all …]
Dgnss_ability.cpp573 void GnssAbility::SetRefInfo(const AGnssRefInfo& refInfo) in SetRefInfo() argument
583 agnssInterface_->SetAgnssRefInfo(refInfo); in SetRefInfo()
/base/location/services/location_gnss/gnss/include/
Dagnss_event_callback.h42 void JudgmentDataGsm(AGnssRefInfo& refInfo, sptr<CellInformation> infoItem);
43 void JudgmentDataUmts(AGnssRefInfo& refInfo, sptr<CellInformation> infoItem);
44 void JudgmentDataLte(AGnssRefInfo& refInfo, sptr<CellInformation> infoItem);
45 void JudgmentDataNr(AGnssRefInfo& refInfo, sptr<CellInformation> infoItem);
Dgnss_ability.h118 void SetRefInfo(const AGnssRefInfo& refInfo);
/base/location/test/location_gnss/source/
Dgnss_ability_test.cpp751 AGnssRefInfo refInfo; variable
752 refInfo.type = HDI::Location::Agnss::V1_0::ANSS_REF_INFO_TYPE_CELLID;
755 agnssCallback->JudgmentDataGsm(refInfo, gsmCellInformation);
756 EXPECT_EQ(HDI::Location::Agnss::V1_0::CELLID_TYPE_GSM, refInfo.cellId.type);
767 AGnssRefInfo refInfo; variable
768 refInfo.type = HDI::Location::Agnss::V1_0::ANSS_REF_INFO_TYPE_CELLID;
770 agnssCallback->JudgmentDataGsm(refInfo, gsmCellInformation);
771 EXPECT_NE(HDI::Location::Agnss::V1_0::CELLID_TYPE_GSM, refInfo.cellId.type);
782 AGnssRefInfo refInfo; variable
783 refInfo.type = HDI::Location::Agnss::V1_0::ANSS_REF_INFO_TYPE_CELLID;
[all …]