/base/web/webview/test/unittest/ohos_adapter/location_proxy_adapter_test/ |
D | location_proxy_adapter_test.cpp | 156 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/ |
D | geomagnetic_field.h | 24 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/ |
D | geo_coding_mock_info.cpp | 56 location_->latitude = parcel.ReadDouble(); in ReadFromParcel() 72 parcel.WriteDouble(location_->latitude) && in Marshalling()
|
D | geofence_request.cpp | 31 geofence_.latitude = data.ReadDouble(); in ReadFromParcel() 71 parcel.WriteDouble(geofence_.latitude); in Marshalling()
|
/base/sensors/sensor/frameworks/native/src/ |
D | geomagnetic_field.cpp | 116 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/ |
D | cell_location.cpp | 195 void CdmaCellLocation::SetCdmaParam(int32_t baseId, int32_t latitude, int32_t longitude, int32_t ni… in SetCdmaParam() argument 198 latitude_ = latitude; in SetCdmaParam()
|
D | cell_information.cpp | 851 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/ |
D | location.h | 36 inline void SetLatitude(double latitude) in SetLatitude() argument 38 latitude_ = latitude; in SetLatitude()
|
D | constant_definition.h | 179 double latitude; member
|
D | geofence_request.h | 29 double latitude; member
|
/base/telephony/core_service/interfaces/innerkits/include/ |
D | cell_location.h | 85 … void SetCdmaParam(int32_t baseId, int32_t latitude, int32_t longitude, int32_t nid, int32_t sid);
|
D | tel_ril_network_parcel.h | 321 int32_t latitude; member 557 int32_t latitude; member
|
D | cell_information.h | 266 … 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/ |
D | geo_convert_service.cpp | 240 request.latitude = data.ReadDouble(); in ReportAddressMock() 249 if (!CommonUtils::DoubleEqual(request.latitude, info->GetLocation()->latitude) || in ReportAddressMock()
|
/base/location/services/location_gnss/gnss/source/ |
D | gnss_event_callback.cpp | 49 locationNew->SetLatitude(location.latitude); in ReportLocation() 72 "latitude", std::to_string(location.latitude), in ReportLocation()
|
D | gnss_ability.cpp | 497 fenceInfo.latitude = geofence.latitude; in AddFence() 551 fenceInfo.latitude = geofence.latitude; in AddGnssGeofence()
|
/base/telephony/core_service/services/network_search/src/ |
D | cell_info.cpp | 438 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/ |
D | napi_util.cpp | 282 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/ |
D | tel_ril_network.cpp | 556 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/ |
D | hril_network.cpp | 879 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/ |
D | gnss_ability_test.cpp | 518 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/ |
D | hril_vendor_network_defs.h | 445 int32_t latitude; member
|
/base/telephony/core_service/interfaces/kits/js/ |
D | @ohos.telephony.radio.d.ts | 2455 latitude: number; property
|
/base/location/ |
D | README.en.md | 26 …A coordinate describes a location on the earth using the longitude and latitude in reference to th…
|
/base/sensors/sensor/frameworks/js/napi/src/ |
D | sensor_js.cpp | 519 double latitude = 0; in GetGeomagneticField() local 520 if (!GetNativeDouble(env, napiLatitude, latitude)) { in GetGeomagneticField() 549 GeomagneticField geomagneticField(latitude, longitude, altitude, timeMillis); in GetGeomagneticField()
|