Home
last modified time | relevance | path

Searched refs:latitude (Results 1 – 25 of 32) 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);
187 double latitude = locationInfoImpl->GetLatitude(); variable
188 EXPECT_NEAR(latitude, 0.0, 0.01);
189 latitude = locationInfoImpl->GetLongitude();
190 EXPECT_NEAR(latitude, 0.0, 0.01);
[all …]
/base/sensors/sensor/interfaces/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()
/base/location/interfaces/inner_api/include/
Dconstant_definition.h122 double latitude; member
135 double latitude; member
Dlocation.h35 inline void SetLatitude(double latitude) in SetLatitude() argument
37 latitude_ = latitude; in SetLatitude()
/base/sensors/sensor/interfaces/native/src/
Dgeomagnetic_field.cpp112 GeomagneticField::GeomagneticField(float latitude, float longitude, float altitude, int64_t timeMil… in GeomagneticField() argument
116 float gcLatitude = fmax(LATITUDE_MIN + PRECISION, fmin(LATITUDE_MAX - PRECISION, latitude)); in GeomagneticField()
200 void GeomagneticField::CalibrateGeocentricCoordinates(float latitude, float longitude, float altitu… in CalibrateGeocentricCoordinates() argument
205 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.cpp847 void CdmaCellInformation::SetCdmaParam(int32_t baseId, int32_t latitude, int32_t longitude, int32_t… in SetCdmaParam() argument
850 latitude_ = latitude; in SetCdmaParam()
1013 void CdmaCellInformation::UpdateLocation(int32_t baseId, int32_t latitude, int32_t longitude) in UpdateLocation() argument
1016 latitude_ = latitude; in UpdateLocation()
/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);
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/telephony/ril_adapter/interfaces/innerkits/include/
Dhril_network_parcel.h317 int32_t latitude; member
553 int32_t latitude; member
Dhril_vendor_network_defs.h445 int32_t latitude; member
/base/location/services/location_gnss/gnss/source/
Dgnss_ability_skeleton.cpp165 request->geofence.latitude = data.ReadDouble(); in OnRemoteRequest()
178 request->geofence.latitude = data.ReadDouble(); in OnRemoteRequest()
Dgnss_event_callback.cpp37 locationNew->SetLatitude(location.latitude); in ReportLocation()
/base/location/frameworks/native/source/
Dnapi_util.cpp228 request->geofence.latitude = doubleValue; in JsObjToGeoFenceRequest()
361 double latitude = 0; in JsObjToReverseGeoCodeRequest() local
366 CHK_ERROR_CODE("latitude", JsObjectToDouble(env, object, "latitude", latitude), true); in JsObjToReverseGeoCodeRequest()
371 if (latitude < MIN_LATITUDE || latitude > MAX_LATITUDE) { in JsObjToReverseGeoCodeRequest()
381 dataParcel.WriteDouble(latitude); // latitude in JsObjToReverseGeoCodeRequest()
403 JsObjectToDouble(env, value, "latitude", request->latitude); in GetLocationInfo()
547 double latitude = 0.0; in GetLocationArray() local
548 JsObjectToDouble(env, elementValue, "latitude", latitude); in GetLocationArray()
549 locationAdapter->SetLatitude(latitude); in GetLocationArray()
Dlocator_proxy.cpp333 data.WriteDouble(request->geofence.latitude); in AddFence()
349 data.WriteDouble(request->geofence.latitude); in RemoveFence()
871 data.WriteDouble(request->geofence.latitude); in AddFenceV9()
892 data.WriteDouble(request->geofence.latitude); in RemoveFenceV9()
/base/location/services/location_geocode/geocode/source/
Dgeo_convert_service.cpp244 request.latitude = data.ReadDouble(); in ReportAddressMock()
253 if (!CommonUtils::DoubleEqual(request.latitude, info->GetLocation()->latitude) || in ReportAddressMock()
/base/telephony/core_service/services/network_search/src/
Dcell_info.cpp419 int32_t &latitude = cellInfo->ServiceCellParas.cdma.latitude; in ProcessNeighboringCellCdma() local
423 cell->SetCdmaParam(baseId, latitude, longitude, networkId, systemId); in ProcessNeighboringCellCdma()
551 int32_t &latitude = cellInfo->ServiceCellParas.cdma.latitude; in ProcessCurrentCellCdma() local
557 cell->SetCdmaParam(baseId, latitude, longitude, networkId, systemId); in ProcessCurrentCellCdma()
/base/location/test/location_locator/source/
Dlocation_without_permission_test.cpp169 geofence.latitude = 1.0;
284 geofence.latitude = 1.0;
/base/location/services/location_locator/locator/source/
Dgnss_ability_proxy.cpp254 data.WriteDouble(request->geofence.latitude); in AddFence()
279 data.WriteDouble(request->geofence.latitude); in RemoveFence()
/base/telephony/core_service/services/tel_ril/src/
Dtel_ril_network.cpp493 cellInfo.ServiceCellParas.cdma.latitude = info.serviceCells.cdma.latitude; in FillCdmaCellNearbyInfo()
633 cellInfo.ServiceCellParas.cdma.latitude = info.serviceCells.cdma.latitude; in FillCdmaCurrentCellInfo()
750 cellInfo.ServiceCellParas.cdma.latitude = info.serviceCells.cdma.latitude; in FillCdmaCurrentCellInformation()
/base/location/test/location_gnss/source/
Dgnss_ability_test.cpp511 request->geofence.latitude = 35.1;
539 request->geofence.latitude = 35.1;
877 locationInfo.latitude = 1.0;
971 locationInfo.latitude = 1.0;
/base/telephony/ril_adapter/services/hril/src/
Dhril_network.cpp776 cellInfo.serviceCells.cdma.latitude = hrilCellPtr->ServiceCellParas.cdma.latitude; in FillCellNearbyInfoCdma()
820 cellInfo.serviceCells.cdma.latitude = hrilCellInfoVendor->ServiceCellParas.cdma.latitude; in FillCellInfoType()
858 … cellInfo.serviceCells.cdma.latitude = hrilCellInfoVendor->ServiceCellParas.cdma.latitude; in FillCellInformationType()
/base/telephony/core_service/interfaces/kits/js/
D@ohos.telephony.radio.d.ts2325 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…

12