Home
last modified time | relevance | path

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

12

/ohos5.0/base/location/services/location_gnss/gnss/source/
H A Dagnss_event_callback.cpp93 refInfo.mac.mac.push_back(macArray[i]); in GetWiFiRefInfo()
98 void AGnssEventCallback::GetCellRefInfo(AGnssRefInfo& refInfo) in GetCellRefInfo() argument
116 JudgmentDataGsm(refInfo, infoItem); in GetCellRefInfo()
120 JudgmentDataLte(refInfo, infoItem); in GetCellRefInfo()
126 JudgmentDataUmts(refInfo, infoItem); in GetCellRefInfo()
130 JudgmentDataNr(refInfo, infoItem); in GetCellRefInfo()
143 AGnssRefInfo refInfo; in RequestAgnssRefInfo() local
144 refInfo.type = type; in RequestAgnssRefInfo()
145 GetWiFiRefInfo(refInfo); in RequestAgnssRefInfo()
146 GetCellRefInfo(refInfo); in RequestAgnssRefInfo()
[all …]
H A Dgnss_ability.cpp525 GnssRefInfo refInfo; in InjectTime() local
527 refInfo.time.time = currentTime; in InjectTime()
528 refInfo.time.elapsedRealtime = elapsedTime; in InjectTime()
534 gnssInterface->SetGnssReferenceInfo(refInfo); in InjectTime()
579 GnssRefInfo refInfo; in InjectLocation() local
581 refInfo.gnssLocation.fieldValidity = in InjectLocation()
597 gnssInterface->SetGnssReferenceInfo(refInfo); in InjectLocation()
1339 agnssRefInfoMessage->SetAgnssRefInfo(refInfo); in SetRefInfo()
1357 agnssInterface->SetAgnssRefInfo(refInfo); in SetRefInfoImpl()
1367 agnssRefInfo_ = refInfo; in SetAgnssRefInfo()
[all …]
/ohos5.0/base/location/services/location_gnss/gnss/include/
H A Dagnss_event_callback.h49 void JudgmentDataGsm(AGnssRefInfo& refInfo, sptr<CellInformation> infoItem);
50 void JudgmentDataUmts(AGnssRefInfo& refInfo, sptr<CellInformation> infoItem);
51 void JudgmentDataLte(AGnssRefInfo& refInfo, sptr<CellInformation> infoItem);
52 void JudgmentDataNr(AGnssRefInfo& refInfo, sptr<CellInformation> infoItem);
54 __attribute__((no_sanitize("cfi"))) void GetWiFiRefInfo(AGnssRefInfo& refInfo);
55 void GetCellRefInfo(AGnssRefInfo& refInfo);
H A Dgnss_ability.h199 void SetRefInfo(const AGnssRefInfo& refInfo);
200 void SetRefInfoImpl(const AGnssRefInfo &refInfo);
295 void SetAgnssRefInfo(const AGnssRefInfo &refInfo);
/ohos5.0/drivers/peripheral/location/agnss/hdi_service/
H A Dagnss_interface_impl.cpp176 int32_t AGnssInterfaceImpl::SetAgnssRefInfo(const AGnssRefInfo& refInfo) in SetAgnssRefInfo() argument
186 HDF_LOGI("%{public}s, g_refInfoType=%{public}d", __func__, refInfo.type); in SetAgnssRefInfo()
191 loc.u.mac.mac[i] = refInfo.mac.mac[i]; in SetAgnssRefInfo()
195 switch (refInfo.cellId.type) { in SetAgnssRefInfo()
212 loc.u.cellId.mcc = refInfo.cellId.mcc; in SetAgnssRefInfo()
213 loc.u.cellId.mnc = refInfo.cellId.mnc; in SetAgnssRefInfo()
214 loc.u.cellId.lac = refInfo.cellId.lac; in SetAgnssRefInfo()
215 loc.u.cellId.cid = refInfo.cellId.cid; in SetAgnssRefInfo()
216 loc.u.cellId.tac = refInfo.cellId.tac; in SetAgnssRefInfo()
217 loc.u.cellId.pcid = refInfo.cellId.pcid; in SetAgnssRefInfo()
[all …]
H A Dagnss_interface_impl.h37 int32_t SetAgnssRefInfo(const AGnssRefInfo& refInfo) override;
/ohos5.0/drivers/peripheral/location/gnss/hdi_service/
H A Dgnss_interface_impl.cpp417 int32_t GnssInterfaceImpl::SetGnssReferenceInfo(const GnssRefInfo& refInfo) in SetGnssReferenceInfo() argument
426 referenceInfo.category = refInfo.type; in SetGnssReferenceInfo()
427 switch (refInfo.type) { in SetGnssReferenceInfo()
430 referenceInfo.u.time.time = refInfo.time.time; in SetGnssReferenceInfo()
431 referenceInfo.u.time.elapsedRealtime = refInfo.time.elapsedRealtime; in SetGnssReferenceInfo()
432 referenceInfo.u.time.uncertaintyOfTime = refInfo.time.uncertaintyOfTime; in SetGnssReferenceInfo()
438 referenceInfo.u.gnssLocation.latitude = refInfo.gnssLocation.latitude; in SetGnssReferenceInfo()
439 referenceInfo.u.gnssLocation.longitude = refInfo.gnssLocation.longitude; in SetGnssReferenceInfo()
440 referenceInfo.u.gnssLocation.altitude = refInfo.gnssLocation.altitude; in SetGnssReferenceInfo()
441 referenceInfo.u.gnssLocation.speed = refInfo.gnssLocation.speed; in SetGnssReferenceInfo()
[all …]
H A Dgnss_interface_impl.h43 int32_t SetGnssReferenceInfo(const GnssRefInfo& refInfo) override;
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/location/
H A Dinterface_i_a_gnss_interface.md22 | [SetAgnssRefInfo](#setagnssrefinfo) ([in] struct [AGnssRefInfo](_a_gnss_ref_info.md) refInfo) | 注…
54 IAGnssInterface::SetAgnssRefInfo ([in] struct AGnssRefInfo refInfo)
66 | refInfo | 表示AGNSS参考信息。详情参考[AGnssRefInfo](_a_gnss_ref_info.md). |
H A Dinterface_i_gnss_interface.md25 …nfo](#setgnssreferenceinfo) ([in] struct [GnssRefInfo](_gnss_ref_info.md) refInfo) | 注入GNSS参考信息。 |
170 IGnssInterface::SetGnssReferenceInfo ([in] struct GnssRefInfo refInfo)
184 | refInfo | 表示GNSS参考信息,包含参考时间和参考位置。详情参考[GnssRefInfo](_gnss_ref_info.md)。 |
/ohos5.0/base/location/test/location_gnss/source/
H A Dgnss_ability_test.cpp790 AGnssRefInfo refInfo; variable
804 AGnssRefInfo refInfo; variable
817 AGnssRefInfo refInfo; variable
831 AGnssRefInfo refInfo; variable
845 AGnssRefInfo refInfo; variable
860 AGnssRefInfo refInfo; variable
874 AGnssRefInfo refInfo; variable
878 agnssCallback_->JudgmentDataNr(refInfo, nrCellInformation);
888 AGnssRefInfo refInfo; variable
1409 AGnssRefInfo refInfo; variable
[all …]
H A Dgnss_interface_test.cpp57 int32_t GnssInterfaceTest::SetGnssReferenceInfo(const GnssRefInfo &refInfo) in SetGnssReferenceInfo() argument
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/location_agnss_v1_0/cpp_target/location/agnss/v1_0/
H A Dagnss_interface_proxy.cpp.txt132 …AGnssInterfaceProxy::SetAgnssRefInfo(const OHOS::HDI::Location::Agnss::V1_0::AGnssRefInfo& refInfo)
134 …return OHOS::HDI::Location::Agnss::V1_0::AGnssInterfaceProxy::SetAgnssRefInfo_(refInfo, GetCurrent…
212 …::SetAgnssRefInfo_(const OHOS::HDI::Location::Agnss::V1_0::AGnssRefInfo& refInfo, const sptr<IRemo…
223 …if (!OHOS::HDI::Location::Agnss::V1_0::AGnssRefInfoBlockMarshalling(aGnssInterfaceData, refInfo)) {
224 HDF_LOGE("%{public}s: write refInfo failed!", __func__);
H A Dagnss_interface_stub.cpp.txt177 OHOS::HDI::Location::Agnss::V1_0::AGnssRefInfo refInfo;
178 if (!AGnssRefInfoBlockUnmarshalling(aGnssInterfaceData, refInfo)) {
179 HDF_LOGE("%{public}s: read refInfo failed!", __func__);
188 int32_t aGnssInterfaceRet = impl->SetAgnssRefInfo(refInfo);
H A Dagnss_interface_proxy.h.txt75 int32_t SetAgnssRefInfo(const OHOS::HDI::Location::Agnss::V1_0::AGnssRefInfo& refInfo) override;
87 static int32_t SetAgnssRefInfo_(const OHOS::HDI::Location::Agnss::V1_0::AGnssRefInfo& refInfo,
H A Dagnss_interface_service.cpp.txt41 …nssInterfaceService::SetAgnssRefInfo(const OHOS::HDI::Location::Agnss::V1_0::AGnssRefInfo& refInfo)
H A Dagnss_interface_service.h.txt35 int32_t SetAgnssRefInfo(const OHOS::HDI::Location::Agnss::V1_0::AGnssRefInfo& refInfo) override;
/ohos5.0/drivers/interface/location/agnss/v1_0/
H A DIAGnssInterface.idl78 * @param refInfo Indicates the AGNSS reference information structure.
85 SetAgnssRefInfo([in] struct AGnssRefInfo refInfo);
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/location_agnss_v1_0/foo/location/agnss/v1_0/
H A DIAGnssInterface.idl78 * @param refInfo Indicates the AGNSS reference information structure.
85 SetAgnssRefInfo([in] struct AGnssRefInfo refInfo);
/ohos5.0/drivers/interface/location/agnss/v2_0/
H A DIAGnssInterface.idl78 * @param refInfo Indicates the AGNSS reference information structure.
85 SetAgnssRefInfo([in] struct AGnssRefInfo refInfo);
/ohos5.0/base/location/test/location_gnss/include/
H A Dgnss_interface_test.h47 int32_t SetGnssReferenceInfo(const GnssRefInfo &refInfo) override;
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/location_gnss_v1_0/cpp_target/location/gnss/v1_0/
H A Dgnss_interface_proxy.h.txt81 …int32_t SetGnssReferenceInfo(const OHOS::HDI::Location::Gnss::V1_0::GnssRefInfo& refInfo) override;
105 … static int32_t SetGnssReferenceInfo_(const OHOS::HDI::Location::Gnss::V1_0::GnssRefInfo& refInfo,
H A Dgnss_interface_proxy.cpp.txt147 …ssInterfaceProxy::SetGnssReferenceInfo(const OHOS::HDI::Location::Gnss::V1_0::GnssRefInfo& refInfo)
149 …return OHOS::HDI::Location::Gnss::V1_0::GnssInterfaceProxy::SetGnssReferenceInfo_(refInfo, GetCurr…
327 …etGnssReferenceInfo_(const OHOS::HDI::Location::Gnss::V1_0::GnssRefInfo& refInfo, const sptr<IRemo…
338 if (!OHOS::HDI::Location::Gnss::V1_0::GnssRefInfoBlockMarshalling(gnssInterfaceData, refInfo)) {
339 HDF_LOGE("%{public}s: write refInfo failed!", __func__);
H A Dgnss_interface_service.h.txt41 …int32_t SetGnssReferenceInfo(const OHOS::HDI::Location::Gnss::V1_0::GnssRefInfo& refInfo) override;
H A Dgnss_interface_service.cpp.txt56 …InterfaceService::SetGnssReferenceInfo(const OHOS::HDI::Location::Gnss::V1_0::GnssRefInfo& refInfo)

12