Home
last modified time | relevance | path

Searched refs:cacheGnssLocation_ (Results 1 - 2 of 2) sorted by relevance

/base/location/services/location_locator/locator/source/
H A Dreport_manager.cpp304 cacheGnssLocation_ = *location; in UpdateCacheLocation()
349 if (!CommonUtils::DoubleEqual(cacheGnssLocation_.GetLatitude(), MIN_LATITUDE - 1) && in GetCacheLocation()
350 (curTime - cacheGnssLocation_.GetTimeStamp() / MILLI_PER_SEC) <= WHITE_FIX_CACHED_TIME) { in GetCacheLocation()
351 cacheLocation = std::make_unique<Location>(cacheGnssLocation_); in GetCacheLocation()
357 if (!CommonUtils::DoubleEqual(cacheGnssLocation_.GetLatitude(), MIN_LATITUDE - 1) && in GetCacheLocation()
358 (curTime - cacheGnssLocation_.GetTimeStamp() / MILLI_PER_SEC) <= GNSS_FIX_CACHED_TIME) { in GetCacheLocation()
359 cacheLocation = std::make_unique<Location>(cacheGnssLocation_); in GetCacheLocation()
/base/location/services/location_locator/locator/include/
H A Dreport_manager.h54 Location cacheGnssLocation_; member in OHOS::Location::ReportManager

Completed in 2 milliseconds