Home
last modified time | relevance | path

Searched refs:GetLatitude (Results 1 – 21 of 21) sorted by relevance

/base/location/services/location_locator/locator/source/
Dreport_manager.cpp180 if (CommonUtils::DoubleEqual(request->GetLastLocation()->GetLatitude(), MIN_LATITUDE - 1)) { in ResultCheck()
194 double deltaDis = CommonUtils::CalDistance(location->GetLatitude(), location->GetLongitude(), in ResultCheck()
195 request->GetLastLocation()->GetLatitude(), request->GetLastLocation()->GetLongitude()); in ResultCheck()
206 lastLocation_.SetLatitude(location->GetLatitude()); in SetLastLocation()
219 if (CommonUtils::DoubleEqual(lastLocation->GetLatitude(), MIN_LATITUDE - 1)) { in GetLastLocation()
247 double startLat = coarseLocation->GetLatitude(); in ApproximatelyLocation()
Drequest.cpp142 this->lastLocation_->SetLatitude(location->GetLatitude()); in SetLastLocation()
Dlocator_ability.cpp778 if (fabs(loc->GetLatitude() - 0.0) > PRECISION in GetCacheLocation()
/base/location/test/location_locator/source/
Dlocation_approximately_permission_test.cpp85 EXPECT_EQ(MAX_LATITUDE, newLocation->GetLatitude());
112 EXPECT_EQ(-MAX_LATITUDE, newLocation->GetLatitude());
Dreport_manager_test.cpp188 EXPECT_EQ(12.0, newLocation->GetLatitude());
Dlocator_impl_test.cpp194 EXPECT_EQ(10.6, loc->GetLatitude());
/base/location/interfaces/inner_api/include/
Dgeo_address.h32 double GetLatitude();
Dlocation.h30 inline double GetLatitude() const in GetLatitude() function
/base/telephony/core_service/interfaces/innerkits/include/
Dcell_location.h84 int32_t GetLatitude() const;
Dcell_information.h172 int32_t GetLatitude() const;
/base/telephony/core_service/frameworks/native/src/
Dcell_location.cpp173 int32_t CdmaCellLocation::GetLatitude() const in GetLatitude() function in OHOS::Telephony::CdmaCellLocation
Dcell_information.cpp827 int32_t CdmaCellInformation::GetLatitude() const in GetLatitude() function in OHOS::Telephony::CdmaCellInformation
/base/location/frameworks/location_common/common/source/
Dlocation.cpp47 latitude_ = location.GetLatitude(); in Location()
Dgeo_address.cpp43 double GeoAddress::GetLatitude() in GetLatitude() function in OHOS::Location::GeoAddress
/base/location/test/location_common/source/
Dlocation_common_test.cpp199 EXPECT_EQ(1.0, geoAddress->GetLatitude());
202 EXPECT_EQ(0.0, geoAddress->GetLatitude());
239 EXPECT_EQ(VERIFY_LOCATION_LATITUDE, location->GetLatitude());
/base/location/frameworks/native/source/
Dnapi_util.cpp90 SetValueDouble(env, "latitude", locations[index]->GetLatitude(), value); in LocationsToJs()
108 SetValueDouble(env, "latitude", locationInfo->GetLatitude(), result); in LocationToJs()
130 SetValueDouble(env, "latitude", locationInfo->GetLatitude(), result); in SystemLocationToJs()
144 SetValueDouble(env, "latitude", geoAddress->GetLatitude(), eachObj); in GeoAddressesToJsObj()
/base/location/services/location_network/network/source/
Dnetwork_ability.cpp303 locationNew->SetLatitude(location->GetLatitude()); in ReportMockedLocation()
/base/location/services/location_gnss/gnss/source/
Dgnss_ability.cpp602 locationNew->SetLatitude(location->GetLatitude()); in ReportMockedLocation()
/base/telephony/core_service/test/unittest/core_service_gtest/
Dnetwork_search_test.cpp165 …static_cast<int32_t>(cdma->GetNetworkType()), cdma->GetBaseId(), cdma->GetLatitude(), cdma->GetLon… in PrintCdmaCellInformation()
180 …cellLocation->SetCdmaParam(cdma->GetBaseId(), cdma->GetLatitude(), cdma->GetLongitude(), cdma->Get… in PrintCdmaCellInformation()
185 …cellLocation->GetLatitude(), cellLocation->GetLongitude(), cellLocation->GetNid(), cellLocation->G… in PrintCdmaCellInformation()
/base/telephony/core_service/services/network_search/src/
Dcell_info.cpp804 …cellLocation->SetCdmaParam(cellinfo->GetBaseId(), cellinfo->GetLatitude(), cellinfo->GetLongitude(… in GetCellLocation()
/base/telephony/core_service/frameworks/js/network_search/src/
Dnapi_radio.cpp1680 NapiUtil::SetPropertyInt32(env, data, "latitude", cdmaCellInfo->GetLatitude()); in JudgmentDataCdma()