Home
last modified time | relevance | path

Searched refs:longitude (Results 1 – 25 of 28) sorted by relevance

12

/base/sensors/sensor/frameworks/native/include/
Dgeomagnetic_field.h24 GeomagneticField(float latitude, float longitude, float altitude, int64_t timeMillis);
39 void CalibrateGeocentricCoordinates(float latitude, float longitude, float altitude);
/base/location/frameworks/location_common/common/source/
Dgeo_coding_mock_info.cpp57 location_->longitude = parcel.ReadDouble(); in ReadFromParcel()
73 parcel.WriteDouble(location_->longitude) && in Marshalling()
Dgeofence_request.cpp32 geofence_.longitude = data.ReadDouble(); in ReadFromParcel()
72 parcel.WriteDouble(geofence_.longitude); in Marshalling()
/base/sensors/sensor/frameworks/native/src/
Dgeomagnetic_field.cpp116 GeomagneticField::GeomagneticField(float latitude, float longitude, float altitude, int64_t timeMil… in GeomagneticField() argument
121 CalibrateGeocentricCoordinates(gcLatitude, longitude, altitude); in GeomagneticField()
206 void GeomagneticField::CalibrateGeocentricCoordinates(float latitude, float longitude, float altitu… in CalibrateGeocentricCoordinates() argument
218 g_geocentricLongitude = static_cast<float>(ToRadians(longitude)); in CalibrateGeocentricCoordinates()
/base/telephony/core_service/frameworks/native/src/
Dcell_location.cpp195 void CdmaCellLocation::SetCdmaParam(int32_t baseId, int32_t latitude, int32_t longitude, int32_t ni… in SetCdmaParam() argument
199 longitude_ = longitude; in SetCdmaParam()
Dcell_information.cpp851 void CdmaCellInformation::SetCdmaParam(int32_t baseId, int32_t latitude, int32_t longitude, int32_t… in SetCdmaParam() argument
855 longitude_ = longitude; in SetCdmaParam()
1018 void CdmaCellInformation::UpdateLocation(int32_t baseId, int32_t latitude, int32_t longitude) in UpdateLocation() argument
1022 longitude_ = longitude; in UpdateLocation()
/base/location/interfaces/inner_api/include/
Dlocation.h46 inline void SetLongitude(double longitude) in SetLongitude() argument
48 longitude_ = longitude; in SetLongitude()
Dconstant_definition.h180 double longitude; member
Dgeofence_request.h30 double longitude; member
/base/telephony/core_service/interfaces/innerkits/include/
Dcell_location.h85 … void SetCdmaParam(int32_t baseId, int32_t latitude, int32_t longitude, int32_t nid, int32_t sid);
Dtel_ril_network_parcel.h318 int32_t longitude; member
554 int32_t longitude; member
Dcell_information.h266 … void SetCdmaParam(int32_t baseId, int32_t latitude, int32_t longitude, int32_t nid, int32_t sid);
270 void UpdateLocation(int32_t baseId, int32_t latitude, int32_t longitude);
/base/location/services/location_geocode/geocode/source/
Dgeo_convert_service.cpp241 request.longitude = data.ReadDouble(); in ReportAddressMock()
250 !CommonUtils::DoubleEqual(request.longitude, info->GetLocation()->longitude)) { in ReportAddressMock()
/base/location/services/location_gnss/gnss/source/
Dgnss_event_callback.cpp50 locationNew->SetLongitude(location.longitude); in ReportLocation()
73 "longitude", std::to_string(location.longitude)}); in ReportLocation()
Dgnss_ability.cpp498 fenceInfo.longitude = geofence.longitude; in AddFence()
552 fenceInfo.longitude = geofence.longitude; in AddGnssGeofence()
/base/telephony/core_service/services/network_search/src/
Dcell_info.cpp437 int32_t &longitude = cellInfo->ServiceCellParas.cdma.longitude; in ProcessNeighboringCellCdma() local
442 cell->SetCdmaParam(baseId, latitude, longitude, networkId, systemId); in ProcessNeighboringCellCdma()
599 int32_t &longitude = cellInfo->ServiceCellParas.cdma.longitude; in ProcessCurrentCellCdma() local
606 cell->SetCdmaParam(baseId, latitude, longitude, networkId, systemId); in ProcessCurrentCellCdma()
/base/location/frameworks/native/source/
Dnapi_util.cpp285 geofence.longitude = doubleValue; in JsObjToGeoFenceRequest()
434 double longitude = 0; in JsObjToReverseGeoCodeRequest() local
440 CHK_ERROR_CODE("longitude", JsObjectToDouble(env, object, "longitude", longitude), true); in JsObjToReverseGeoCodeRequest()
448 if (longitude < MIN_LONGITUDE || longitude > MAX_LONGITUDE) { in JsObjToReverseGeoCodeRequest()
456 dataParcel.WriteDouble(longitude); // longitude in JsObjToReverseGeoCodeRequest()
637 JsObjectToDouble(env, value, "longitude", request->longitude); in GetLocationInfo()
783 double longitude = 0.0; in GetLocationArray() local
784 JsObjectToDouble(env, elementValue, "longitude", longitude); in GetLocationArray()
785 locationAdapter->SetLongitude(longitude); in GetLocationArray()
/base/telephony/core_service/services/tel_ril/src/
Dtel_ril_network.cpp555 cellInfo.ServiceCellParas.cdma.longitude = info.serviceCells.cdma.longitude; in FillCdmaCellNearbyInfo()
684 cellInfo.ServiceCellParas.cdma.longitude = info.serviceCells.cdma.longitude; in FillCdmaCellNearbyInfo()
796 cellInfo.ServiceCellParas.cdma.longitude = info.serviceCells.cdma.longitude; in FillCdmaCurrentCellInfo()
913 cellInfo.ServiceCellParas.cdma.longitude = info.serviceCells.cdma.longitude; in FillCdmaCurrentCellInformation()
1033 cellInfo.ServiceCellParas.cdma.longitude = info.serviceCells.cdma.longitude; in FillCdmaCurrentCellInformation()
/base/telephony/ril_adapter/services/hril/src/
Dhril_network.cpp878 cellInfo.serviceCells.cdma.longitude = hrilCellPtr->ServiceCellParas.cdma.longitude; in FillCellNearbyInfoCdma()
954 cellInfo.serviceCells.cdma.longitude = hrilCellPtr->ServiceCellParas.cdma.longitude; in FillCellNearbyInfoCdma()
1017 cellInfo.serviceCells.cdma.longitude = hrilCellInfoVendor->ServiceCellParas.cdma.longitude; in FillCellInfoType()
1055 … cellInfo.serviceCells.cdma.longitude = hrilCellInfoVendor->ServiceCellParas.cdma.longitude; in FillCellInfoType()
1105 … cellInfo.serviceCells.cdma.longitude = hrilCellInfoVendor->ServiceCellParas.cdma.longitude; in FillCellInfoType()
/base/location/test/location_gnss/source/
Dgnss_ability_test.cpp519 geofence.longitude = 40.2;
548 geofence.longitude = 40.2;
884 locationInfo.longitude = 2.0;
904 locationInfo.longitude = 2.0;
986 locationInfo.longitude = 2.0;
1030 locationInfo.longitude = 2.0;
/base/telephony/ril_adapter/interfaces/innerkits/include/
Dhril_vendor_network_defs.h441 int32_t longitude; member
/base/telephony/core_service/interfaces/kits/js/
D@ohos.telephony.radio.d.ts2465 longitude: number; property
/base/location/
DREADME.en.md26 …A coordinate describes a location on the earth using the longitude and latitude in reference to th…
/base/sensors/sensor/frameworks/js/napi/src/
Dsensor_js.cpp529 double longitude = 0; in GetGeomagneticField() local
530 if (!GetNativeDouble(env, napiLongitude, longitude)) { in GetGeomagneticField()
549 GeomagneticField geomagneticField(latitude, longitude, altitude, timeMillis); in GetGeomagneticField()
/base/telephony/ril_adapter/services/vendor/src/
Dat_network.c997 if (NextInt(&pStr, &ci->ServiceCellParas.cdma.longitude) < 0) { in ParseCellInfoCdma()
1262 NextInt(&line, &response->ServiceCellParas.cdma.longitude); in ParseGetCdmaCellInfoLine()
1271 response->ServiceCellParas.cdma.channel, response->ServiceCellParas.cdma.longitude, in ParseGetCdmaCellInfoLine()

12