Searched refs:DoubleEqual (Results 1 – 6 of 6) sorted by relevance
/base/location/services/location_geocode/geocode/source/ |
D | geo_convert_service.cpp | 107 if (!CommonUtils::DoubleEqual(request.latitude, info->GetLocation()->latitude) || in ReportAddressMock() 108 !CommonUtils::DoubleEqual(request.longitude, info->GetLocation()->longitude)) { in ReportAddressMock()
|
/base/location/test/location_common/source/ |
D | common_utils_test.cpp | 244 EXPECT_EQ(true, CommonUtils::DoubleEqual(1.0, 1.0)); 245 EXPECT_EQ(true, CommonUtils::DoubleEqual(1.0, NUM_ACC_E7)); 246 EXPECT_EQ(true, CommonUtils::DoubleEqual(1.0, NUM_ACC_E6)); 247 EXPECT_EQ(false, CommonUtils::DoubleEqual(1.0, 2.0));
|
/base/location/services/location_locator/locator/source/ |
D | report_manager.cpp | 180 if (CommonUtils::DoubleEqual(request->GetLastLocation()->GetLatitude(), MIN_LATITUDE - 1)) { in ResultCheck() 219 if (CommonUtils::DoubleEqual(lastLocation->GetLatitude(), MIN_LATITUDE - 1)) { in GetLastLocation()
|
/base/location/interfaces/inner_api/include/ |
D | common_utils.h | 151 static bool DoubleEqual(double a, double b);
|
/base/location/frameworks/location_common/common/source/ |
D | common_utils.cpp | 253 bool CommonUtils::DoubleEqual(double a, double b) in DoubleEqual() function in OHOS::Location::CommonUtils
|
/base/location/frameworks/native/source/ |
D | napi_util.cpp | 438 if (CommonUtils::DoubleEqual(latitude, 0.0)) { in GetGeoAddressInfo() 445 if (CommonUtils::DoubleEqual(longitude, 0.0)) { in GetGeoAddressInfo()
|