Home
last modified time | relevance | path

Searched refs:MAX_LATITUDE (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/base/location/test/location_locator/source/
H A Dlocation_approximately_permission_test.cpp71 parcel.WriteDouble(MAX_LATITUDE + 1.0); // latitude is out of range
86 EXPECT_EQ(MAX_LATITUDE, newLocation->GetLatitude());
98 parcel.WriteDouble(-MAX_LATITUDE - 1.0); // latitude
113 EXPECT_EQ(-MAX_LATITUDE, newLocation->GetLatitude());
/ohos5.0/base/location/services/location_locator/locator/source/
H A Dreport_manager.cpp442 if (lat < -MAX_LATITUDE) { in ApproximatelyLocation()
443 lat = -MAX_LATITUDE; in ApproximatelyLocation()
444 } else if (lat > MAX_LATITUDE) { in ApproximatelyLocation()
445 lat = MAX_LATITUDE; in ApproximatelyLocation()
/ohos5.0/base/location/interfaces/inner_api/include/
H A Dcommon_utils.h95 static constexpr double MAX_LATITUDE = 90.0; variable
/ohos5.0/base/location/frameworks/js/napi/source/
H A Dgeofence_napi.cpp170 if (fenceInfo.latitude > MAX_LATITUDE || fenceInfo.latitude < MIN_LATITUDE) { in CheckGeofenceParameter()
H A Dnapi_util.cpp365 if (minLatitude < MIN_LATITUDE || minLatitude > MAX_LATITUDE) { in JsObjToGeoCodeRequest()
371 if (maxLatitude < MIN_LATITUDE || maxLatitude > MAX_LATITUDE) { in JsObjToGeoCodeRequest()
407 if (latitude < MIN_LATITUDE || latitude > MAX_LATITUDE) { in JsObjToReverseGeoCodeRequest()