Home
last modified time | relevance | path

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

/base/location/test/location_locator/source/
Dlocation_approximately_permission_test.cpp69 parcel.WriteDouble(MAX_LATITUDE + 1.0); // latitude is out of range
87 EXPECT_EQ(MAX_LATITUDE, newLocation->GetLatitude());
96 parcel.WriteDouble(-MAX_LATITUDE - 1.0); // latitude
114 EXPECT_EQ(-MAX_LATITUDE, newLocation->GetLatitude());
/base/location/services/location_locator/locator/source/
Dreport_manager.cpp266 if (lat < -MAX_LATITUDE) { in ApproximatelyLocation()
267 lat = -MAX_LATITUDE; in ApproximatelyLocation()
268 } else if (lat > MAX_LATITUDE) { in ApproximatelyLocation()
269 lat = MAX_LATITUDE; in ApproximatelyLocation()
/base/location/interfaces/inner_api/include/
Dcommon_utils.h98 static constexpr double MAX_LATITUDE = 90.0; variable
/base/location/frameworks/native/source/
Dnapi_util.cpp333 if (minLatitude < MIN_LATITUDE || minLatitude > MAX_LATITUDE) { in JsObjToGeoCodeRequest()
339 if (maxLatitude < MIN_LATITUDE || maxLatitude > MAX_LATITUDE) { in JsObjToGeoCodeRequest()
371 if (latitude < MIN_LATITUDE || latitude > MAX_LATITUDE) { in JsObjToReverseGeoCodeRequest()