Home
last modified time | relevance | path

Searched refs:latitude (Results 1 – 25 of 29) sorted by relevance

12

/base/web/webview/test/unittest/ohos_adapter/location_proxy_adapter_test/
Dlocation_proxy_adapter_test.cpp156 double latitude = locationInfoImpl->GetLatitude(); variable
157 EXPECT_NEAR(latitude, MIN_LATITUDE - 1, 0.01);
158 latitude = locationInfoImpl->GetLongitude();
159 EXPECT_NEAR(latitude, MIN_LONGITUDE - 1, 0.01);
160 latitude = locationInfoImpl->GetAltitude();
161 EXPECT_NEAR(latitude, 0.0, 0.01);
189 double latitude = locationInfoImpl->GetLatitude(); variable
190 EXPECT_NEAR(latitude, 0.0, 0.01);
191 latitude = locationInfoImpl->GetLongitude();
192 EXPECT_NEAR(latitude, 0.0, 0.01);
[all …]
/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.cpp56 location_->latitude = parcel.ReadDouble(); in ReadFromParcel()
72 parcel.WriteDouble(location_->latitude) && in Marshalling()
Dgeofence_request.cpp31 geofence_.latitude = data.ReadDouble(); in ReadFromParcel()
71 parcel.WriteDouble(geofence_.latitude); 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
120 float gcLatitude = fmax(LATITUDE_MIN + PRECISION, fmin(LATITUDE_MAX - PRECISION, latitude)); in GeomagneticField()
206 void GeomagneticField::CalibrateGeocentricCoordinates(float latitude, float longitude, float altitu… in CalibrateGeocentricCoordinates() argument
211 double gdLatRad = ToRadians(latitude); 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
198 latitude_ = latitude; in SetCdmaParam()
Dcell_information.cpp851 void CdmaCellInformation::SetCdmaParam(int32_t baseId, int32_t latitude, int32_t longitude, int32_t… in SetCdmaParam() argument
854 latitude_ = latitude; in SetCdmaParam()
1018 void CdmaCellInformation::UpdateLocation(int32_t baseId, int32_t latitude, int32_t longitude) in UpdateLocation() argument
1021 latitude_ = latitude; in UpdateLocation()
/base/location/interfaces/inner_api/include/
Dlocation.h36 inline void SetLatitude(double latitude) in SetLatitude() argument
38 latitude_ = latitude; in SetLatitude()
Dconstant_definition.h179 double latitude; member
Dgeofence_request.h29 double latitude; 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.h321 int32_t latitude; member
557 int32_t latitude; 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.cpp240 request.latitude = data.ReadDouble(); in ReportAddressMock()
249 if (!CommonUtils::DoubleEqual(request.latitude, info->GetLocation()->latitude) || in ReportAddressMock()
/base/location/services/location_gnss/gnss/source/
Dgnss_event_callback.cpp49 locationNew->SetLatitude(location.latitude); in ReportLocation()
72 "latitude", std::to_string(location.latitude), in ReportLocation()
Dgnss_ability.cpp497 fenceInfo.latitude = geofence.latitude; in AddFence()
551 fenceInfo.latitude = geofence.latitude; in AddGnssGeofence()
/base/telephony/core_service/services/network_search/src/
Dcell_info.cpp438 int32_t &latitude = cellInfo->ServiceCellParas.cdma.latitude; in ProcessNeighboringCellCdma() local
442 cell->SetCdmaParam(baseId, latitude, longitude, networkId, systemId); in ProcessNeighboringCellCdma()
600 int32_t &latitude = cellInfo->ServiceCellParas.cdma.latitude; in ProcessCurrentCellCdma() local
606 cell->SetCdmaParam(baseId, latitude, longitude, networkId, systemId); in ProcessCurrentCellCdma()
/base/location/frameworks/native/source/
Dnapi_util.cpp282 geofence.latitude = doubleValue; in JsObjToGeoFenceRequest()
433 double latitude = 0; in JsObjToReverseGeoCodeRequest() local
439 CHK_ERROR_CODE("latitude", JsObjectToDouble(env, object, "latitude", latitude), true); in JsObjToReverseGeoCodeRequest()
445 if (latitude < MIN_LATITUDE || latitude > MAX_LATITUDE) { in JsObjToReverseGeoCodeRequest()
455 dataParcel.WriteDouble(latitude); // latitude in JsObjToReverseGeoCodeRequest()
636 JsObjectToDouble(env, value, "latitude", request->latitude); in GetLocationInfo()
780 double latitude = 0.0; in GetLocationArray() local
781 JsObjectToDouble(env, elementValue, "latitude", latitude); in GetLocationArray()
782 locationAdapter->SetLatitude(latitude); in GetLocationArray()
/base/telephony/core_service/services/tel_ril/src/
Dtel_ril_network.cpp556 cellInfo.ServiceCellParas.cdma.latitude = info.serviceCells.cdma.latitude; in FillCdmaCellNearbyInfo()
685 cellInfo.ServiceCellParas.cdma.latitude = info.serviceCells.cdma.latitude; in FillCdmaCellNearbyInfo()
797 cellInfo.ServiceCellParas.cdma.latitude = info.serviceCells.cdma.latitude; in FillCdmaCurrentCellInfo()
914 cellInfo.ServiceCellParas.cdma.latitude = info.serviceCells.cdma.latitude; in FillCdmaCurrentCellInformation()
1034 cellInfo.ServiceCellParas.cdma.latitude = info.serviceCells.cdma.latitude; in FillCdmaCurrentCellInformation()
/base/telephony/ril_adapter/services/hril/src/
Dhril_network.cpp879 cellInfo.serviceCells.cdma.latitude = hrilCellPtr->ServiceCellParas.cdma.latitude; in FillCellNearbyInfoCdma()
955 cellInfo.serviceCells.cdma.latitude = hrilCellPtr->ServiceCellParas.cdma.latitude; in FillCellNearbyInfoCdma()
1018 cellInfo.serviceCells.cdma.latitude = hrilCellInfoVendor->ServiceCellParas.cdma.latitude; in FillCellInfoType()
1056 … cellInfo.serviceCells.cdma.latitude = hrilCellInfoVendor->ServiceCellParas.cdma.latitude; in FillCellInfoType()
1106 … cellInfo.serviceCells.cdma.latitude = hrilCellInfoVendor->ServiceCellParas.cdma.latitude; in FillCellInfoType()
/base/location/test/location_gnss/source/
Dgnss_ability_test.cpp518 geofence.latitude = 35.1;
547 geofence.latitude = 35.1;
883 locationInfo.latitude = 1.0;
903 locationInfo.latitude = 1.0;
985 locationInfo.latitude = 1.0;
1029 locationInfo.latitude = 1.0;
/base/telephony/ril_adapter/interfaces/innerkits/include/
Dhril_vendor_network_defs.h445 int32_t latitude; member
/base/telephony/core_service/interfaces/kits/js/
D@ohos.telephony.radio.d.ts2455 latitude: 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.cpp519 double latitude = 0; in GetGeomagneticField() local
520 if (!GetNativeDouble(env, napiLatitude, latitude)) { in GetGeomagneticField()
549 GeomagneticField geomagneticField(latitude, longitude, altitude, timeMillis); in GetGeomagneticField()

12